[{"data":1,"prerenderedAt":759},["ShallowReactive",2],{"navigation":3,"/api/stats":258,"/api/stats-surround":754},[4,22,63,85,115,131,219,245],{"title":5,"path":6,"stem":7,"children":8,"page":21},"Getting Started","/getting-started","1.getting-started",[9,13,17],{"title":10,"path":11,"stem":12},"Introduction","/getting-started/introduction","1.getting-started/1.introduction",{"title":14,"path":15,"stem":16},"Quick Start","/getting-started/quick-start","1.getting-started/2.quick-start",{"title":18,"path":19,"stem":20},"Key Concepts","/getting-started/key-concepts","1.getting-started/3.key-concepts",false,{"title":23,"path":24,"stem":25,"children":26,"page":21},"Guides","/guides","2.guides",[27,31,35,39,43,47,51,55,59],{"title":28,"path":29,"stem":30},"Quick Share Guide","/guides/quick-share","2.guides/1.quick-share",{"title":32,"path":33,"stem":34},"Slack Integration","/guides/slack-integration","2.guides/2.slack-integration",{"title":36,"path":37,"stem":38},"Enterprise Setup","/guides/enterprise-setup","2.guides/3.enterprise-setup",{"title":40,"path":41,"stem":42},"Creating a Share","/guides/creating-a-share","2.guides/4.creating-a-share",{"title":44,"path":45,"stem":46},"Zero-Knowledge Custody","/guides/zero-knowledge-custody","2.guides/5.zero-knowledge-custody",{"title":48,"path":49,"stem":50},"Secure Requests","/guides/secure-requests","2.guides/6.secure-requests",{"title":52,"path":53,"stem":54},"Receiving a Secure Request","/guides/receiving-a-secure-request","2.guides/7.receiving-a-secure-request",{"title":56,"path":57,"stem":58},"SecurePaste","/guides/securepaste","2.guides/8.securepaste",{"title":60,"path":61,"stem":62},"Notifications","/guides/notifications","2.guides/9.notifications",{"title":64,"icon":65,"path":66,"stem":67,"children":68,"page":21},"Account","i-lucide-user-cog","/account","3.account",[69,73,77,81],{"title":70,"path":71,"stem":72},"Signing In","/account/signing-in","3.account/1.signing-in",{"title":74,"path":75,"stem":76},"Plans and Share Allowance","/account/plans-and-share-allowance","3.account/2.plans-and-share-allowance",{"title":78,"path":79,"stem":80},"Billing and Subscription","/account/billing-and-subscription","3.account/3.billing-and-subscription",{"title":82,"path":83,"stem":84},"Plans and Limits","/account/plans-and-limits","3.account/4.plans-and-limits",{"title":86,"icon":87,"path":88,"stem":89,"children":90,"page":21},"Teams","i-lucide-users","/teams","4.teams",[91,95,99,103,107,111],{"title":92,"path":93,"stem":94},"Teams and Contexts","/teams/teams-and-contexts","4.teams/1.teams-and-contexts",{"title":96,"path":97,"stem":98},"Members, Roles and Seats","/teams/members-roles-and-seats","4.teams/2.members-roles-and-seats",{"title":100,"path":101,"stem":102},"Joining a Team","/teams/joining-a-team","4.teams/3.joining-a-team",{"title":104,"path":105,"stem":106},"Custom Branding","/teams/custom-branding","4.teams/4.custom-branding",{"title":108,"path":109,"stem":110},"Policy and Audit","/teams/policy-and-audit","4.teams/5.policy-and-audit",{"title":112,"path":113,"stem":114},"Zero-Knowledge for Teams","/teams/zero-knowledge-for-teams","4.teams/6.zero-knowledge-for-teams",{"title":116,"path":117,"stem":118,"children":119,"icon":130},"Help","/help","5.help/0.index",[120,122,126],{"title":121,"path":117,"stem":118},"Help and Support",{"title":123,"path":124,"stem":125},"Link Not Working","/help/link-not-working","5.help/1.link-not-working",{"title":127,"path":128,"stem":129},"Error Messages","/help/error-messages","5.help/2.error-messages","i-lucide-life-buoy",{"title":132,"path":133,"stem":134,"children":135},"API Reference","/api","6.api/0.index",[136,137,141,167,189,193,211,215],{"title":132,"path":133,"stem":134},{"title":138,"path":139,"stem":140},"Authentication","/api/authentication","6.api/1.authentication",{"title":142,"path":143,"stem":144,"children":145},"Shares","/api/shares","6.api/2.shares/0.index",[146,147,151,155,159,163],{"title":142,"path":143,"stem":144},{"title":148,"path":149,"stem":150},"Create a share","/api/shares/create","6.api/2.shares/1.create",{"title":152,"path":153,"stem":154},"List shares","/api/shares/list","6.api/2.shares/2.list",{"title":156,"path":157,"stem":158},"Retrieve a share","/api/shares/retrieve","6.api/2.shares/3.retrieve",{"title":160,"path":161,"stem":162},"Expire a share","/api/shares/delete","6.api/2.shares/4.delete",{"title":164,"path":165,"stem":166},"Client-side encryption","/api/shares/client-side-encryption","6.api/2.shares/5.client-side-encryption",{"title":168,"path":169,"stem":170,"children":171},"Secure requests","/api/requests","6.api/3.requests/0.index",[172,173,177,181,185],{"title":168,"path":169,"stem":170},{"title":174,"path":175,"stem":176},"Create a request","/api/requests/create","6.api/3.requests/1.create",{"title":178,"path":179,"stem":180},"List and retrieve requests","/api/requests/list","6.api/3.requests/2.list",{"title":182,"path":183,"stem":184},"Read submissions","/api/requests/submissions","6.api/3.requests/3.submissions",{"title":186,"path":187,"stem":188},"Expire or delete a request","/api/requests/delete","6.api/3.requests/4.delete",{"title":190,"path":191,"stem":192},"Stats","/api/stats","6.api/4.stats",{"title":194,"path":195,"stem":196,"children":197},"Webhooks","/api/webhooks","6.api/5.webhooks/0.index",[198,199,203,207],{"title":194,"path":195,"stem":196},{"title":200,"path":201,"stem":202},"Event reference","/api/webhooks/events","6.api/5.webhooks/1.events",{"title":204,"path":205,"stem":206},"Verifying signatures","/api/webhooks/verifying-signatures","6.api/5.webhooks/2.verifying-signatures",{"title":208,"path":209,"stem":210},"Delivery and retries","/api/webhooks/delivery-and-retries","6.api/5.webhooks/3.delivery-and-retries",{"title":212,"path":213,"stem":214},"MCP server","/api/mcp","6.api/6.mcp",{"title":216,"path":217,"stem":218},"Errors and Rate Limits","/api/errors-and-limits","6.api/7.errors-and-limits",{"title":220,"path":221,"stem":222,"children":223},"SDKs","/sdks","7.sdks/0.index",[224,225,229,233,237,241],{"title":220,"path":221,"stem":222},{"title":226,"path":227,"stem":228},"Node SDK","/sdks/node","7.sdks/1.node",{"title":230,"path":231,"stem":232},"Python SDK","/sdks/python","7.sdks/2.python",{"title":234,"path":235,"stem":236},"Go SDK","/sdks/go","7.sdks/3.go",{"title":238,"path":239,"stem":240},"Rust SDK","/sdks/rust","7.sdks/4.rust",{"title":242,"path":243,"stem":244},"Conformance vectors","/sdks/conformance-vectors","7.sdks/5.conformance-vectors",{"title":246,"path":247,"stem":248,"children":249,"page":21},"Security","/security","8.security",[250,254],{"title":251,"path":252,"stem":253},"Encryption","/security/encryption","8.security/1.encryption",{"title":255,"path":256,"stem":257},"Compliance","/security/compliance","8.security/2.compliance",{"id":259,"title":190,"api":260,"body":261,"description":748,"extension":749,"links":260,"meta":750,"navigation":751,"path":191,"seo":752,"stem":192,"__hash__":753},"docs/6.api/4.stats.md",null,{"type":262,"value":263,"toc":738},"minimark",[264,275,283,291,296,329,333,339,501,566,571,590,603,617,621,633,646,649,653,660,663,666,670,717,720,724,734],[265,266,272],"pre",{"className":267,"code":269,"language":270,"meta":271},[268],"language-text","GET /v1/stats\n","text","",[273,274,269],"code",{"__ignoreMap":271},[276,277,278,279,282],"p",{},"Requires the ",[273,280,281],{},"stats:read"," scope. Takes no parameters.",[276,284,285,286,290],{},"The smallest endpoint on the surface, and the one a scheduled job reaches for first: a nightly check asking ",[287,288,289],"em",{},"how much of the plan is left"," should not have to page the entire share list to count.",[292,293,295],"h2",{"id":294},"request","Request",[265,297,301],{"className":298,"code":299,"language":300,"meta":271,"style":271},"language-bash shiki shiki-themes github-light github-dark github-dark","curl https://api.credenshare.io/v1/stats \\\n  -H \"Authorization: Bearer crs_sk_live_\u003CkeyId>.\u003CauthSecret>\"\n","bash",[273,302,303,320],{"__ignoreMap":271},[304,305,308,312,316],"span",{"class":306,"line":307},"line",1,[304,309,311],{"class":310},"shcOC","curl",[304,313,315],{"class":314},"sfrk1"," https://api.credenshare.io/v1/stats",[304,317,319],{"class":318},"suiK_"," \\\n",[304,321,323,326],{"class":306,"line":322},2,[304,324,325],{"class":318},"  -H",[304,327,328],{"class":314}," \"Authorization: Bearer crs_sk_live_\u003CkeyId>.\u003CauthSecret>\"\n",[292,330,332],{"id":331},"success-response","Success response",[276,334,335,338],{},[273,336,337],{},"200 OK",":",[265,340,344],{"className":341,"code":342,"language":343,"meta":271,"style":271},"language-json shiki shiki-themes github-light github-dark github-dark","{\n  \"shares\": {\n    \"active\": 12,\n    \"expired\": 47,\n    \"total_viewed\": 156\n  },\n  \"daily_views\": [\n    { \"date\": \"2026-08-21\", \"count\": 3 },\n    { \"date\": \"2026-08-22\", \"count\": 0 },\n    { \"date\": \"2026-09-03\", \"count\": 11 }\n  ]\n}\n","json",[273,345,346,352,360,375,388,399,405,414,442,465,489,495],{"__ignoreMap":271},[304,347,348],{"class":306,"line":307},[304,349,351],{"class":350},"slsVL","{\n",[304,353,354,357],{"class":306,"line":322},[304,355,356],{"class":318},"  \"shares\"",[304,358,359],{"class":350},": {\n",[304,361,363,366,369,372],{"class":306,"line":362},3,[304,364,365],{"class":318},"    \"active\"",[304,367,368],{"class":350},": ",[304,370,371],{"class":318},"12",[304,373,374],{"class":350},",\n",[304,376,378,381,383,386],{"class":306,"line":377},4,[304,379,380],{"class":318},"    \"expired\"",[304,382,368],{"class":350},[304,384,385],{"class":318},"47",[304,387,374],{"class":350},[304,389,391,394,396],{"class":306,"line":390},5,[304,392,393],{"class":318},"    \"total_viewed\"",[304,395,368],{"class":350},[304,397,398],{"class":318},"156\n",[304,400,402],{"class":306,"line":401},6,[304,403,404],{"class":350},"  },\n",[304,406,408,411],{"class":306,"line":407},7,[304,409,410],{"class":318},"  \"daily_views\"",[304,412,413],{"class":350},": [\n",[304,415,417,420,423,425,428,431,434,436,439],{"class":306,"line":416},8,[304,418,419],{"class":350},"    { ",[304,421,422],{"class":318},"\"date\"",[304,424,368],{"class":350},[304,426,427],{"class":314},"\"2026-08-21\"",[304,429,430],{"class":350},", ",[304,432,433],{"class":318},"\"count\"",[304,435,368],{"class":350},[304,437,438],{"class":318},"3",[304,440,441],{"class":350}," },\n",[304,443,445,447,449,451,454,456,458,460,463],{"class":306,"line":444},9,[304,446,419],{"class":350},[304,448,422],{"class":318},[304,450,368],{"class":350},[304,452,453],{"class":314},"\"2026-08-22\"",[304,455,430],{"class":350},[304,457,433],{"class":318},[304,459,368],{"class":350},[304,461,462],{"class":318},"0",[304,464,441],{"class":350},[304,466,468,470,472,474,477,479,481,483,486],{"class":306,"line":467},10,[304,469,419],{"class":350},[304,471,422],{"class":318},[304,473,368],{"class":350},[304,475,476],{"class":314},"\"2026-09-03\"",[304,478,430],{"class":350},[304,480,433],{"class":318},[304,482,368],{"class":350},[304,484,485],{"class":318},"11",[304,487,488],{"class":350}," }\n",[304,490,492],{"class":306,"line":491},11,[304,493,494],{"class":350},"  ]\n",[304,496,498],{"class":306,"line":497},12,[304,499,500],{"class":350},"}\n",[502,503,504,517],"table",{},[505,506,507],"thead",{},[508,509,510,514],"tr",{},[511,512,513],"th",{},"Field",[511,515,516],{},"Meaning",[518,519,520,531,541,551],"tbody",{},[508,521,522,528],{},[523,524,525],"td",{},[273,526,527],{},"shares.active",[523,529,530],{},"Shares that have not expired.",[508,532,533,538],{},[523,534,535],{},[273,536,537],{},"shares.expired",[523,539,540],{},"Shares that have.",[508,542,543,548],{},[523,544,545],{},[273,546,547],{},"shares.total_viewed",[523,549,550],{},"Total view events across the account, not a count of distinct shares.",[508,552,553,558],{},[523,554,555],{},[273,556,557],{},"daily_views",[523,559,560,561,565],{},"A contiguous 14-day window, ",[562,563,564],"strong",{},"oldest first",".",[567,568,570],"h3",{"id":569},"daily_views-is-always-14-entries","daily_views is always 14 entries",[276,572,573,574,577,578,581,582,585,586,589],{},"The window is fixed at 14 days, zero-filled, in ",[562,575,576],{},"UTC",". ",[273,579,580],{},"date"," is ",[273,583,584],{},"YYYY-MM-DD","; a day with no activity is present with ",[273,587,588],{},"count: 0"," rather than absent, so you never have to gap-fill.",[276,591,592,594,595,598,599,602],{},[273,593,557],{}," is also always present, even when every count is zero. A caller that has to distinguish ",[287,596,597],{},"no data"," from ",[287,600,601],{},"field absent"," will get it wrong, so the distinction is not offered.",[276,604,605,606,430,609,612,613,616],{},"The window is not configurable. There is no ",[273,607,608],{},"from",[273,610,611],{},"to"," or ",[273,614,615],{},"days"," parameter — if you need a longer history, record these figures yourself on a schedule.",[292,618,620],{"id":619},"what-this-endpoint-deliberately-omits","What this endpoint deliberately omits",[622,623,626],"callout",{"color":624,"icon":625},"info","i-lucide-info",[276,627,628,629,632],{},"Figures only. No titles, no short codes, and nothing about ",[562,630,631],{},"who"," viewed anything.",[276,634,635,636,639,640,642,643,645],{},"The app's own statistics carry an ",[273,637,638],{},"organizations"," block with per-member figures. It is dropped here on purpose: a key scoped to ",[273,641,281],{}," must not become a way to enumerate colleagues. ",[273,644,557],{}," is kept because it is the automation-useful part and reveals nothing about identity.",[276,647,648],{},"There is no per-share breakdown either. If you need one, list the shares — but note that share reads are metadata only, so view counts per share are not available through the API at all.",[292,650,652],{"id":651},"team-accounts","Team accounts",[276,654,655,656,659],{},"When the key acts inside an organization, the figures are the ",[562,657,658],{},"organization's",", not the individual member's.",[276,661,662],{},"That is the right answer rather than a quirk. A seat member has no meaningful figures of their own — no subscription, no plan allowance — so judging them individually yields zeros. What their automation is asking about is the team's usage. If you are reconciling against a plan allowance, this is the number that corresponds to it.",[276,664,665],{},"A key on a personal account gets that account's figures.",[292,667,669],{"id":668},"errors","Errors",[502,671,672,687],{},[505,673,674],{},[508,675,676,679,684],{},[511,677,678],{},"Status",[511,680,681],{},[273,682,683],{},"error_code",[511,685,686],{},"When",[518,688,689,702],{},[508,690,691,694,697],{},[523,692,693],{},"403",[523,695,696],{},"78",[523,698,699,700,565],{},"The key lacks ",[273,701,281],{},[508,703,704,707,710],{},[523,705,706],{},"429",[523,708,709],{},"107",[523,711,712,713,716],{},"Rate limit exceeded. ",[273,714,715],{},"Retry-After"," gives the seconds to wait.",[276,718,719],{},"This endpoint has no path parameters and no body, so there is nothing here to fail validation. It does not 404: an account with no shares at all returns zeros, not a not-found.",[292,721,723],{"id":722},"the-same-figures-over-mcp","The same figures over MCP",[276,725,726,727,730,731,565],{},"The ",[273,728,729],{},"share_stats"," tool returns this data as prose for a model rather than as JSON. Same figures, same 14-day window, same omissions. See ",[732,733,212],"a",{"href":213},[735,736,737],"style",{},"html pre.shiki code .shcOC, html code.shiki .shcOC{--shiki-light:#6F42C1;--shiki-default:#B392F0;--shiki-dark:#B392F0}html pre.shiki code .sfrk1, html code.shiki .sfrk1{--shiki-light:#032F62;--shiki-default:#9ECBFF;--shiki-dark:#9ECBFF}html pre.shiki code .suiK_, html code.shiki .suiK_{--shiki-light:#005CC5;--shiki-default:#79B8FF;--shiki-dark:#79B8FF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .slsVL, html code.shiki .slsVL{--shiki-light:#24292E;--shiki-default:#E1E4E8;--shiki-dark:#E1E4E8}",{"title":271,"searchDepth":307,"depth":322,"links":739},[740,741,744,745,746,747],{"id":294,"depth":322,"text":295},{"id":331,"depth":322,"text":332,"children":742},[743],{"id":569,"depth":362,"text":570},{"id":619,"depth":322,"text":620},{"id":651,"depth":322,"text":652},{"id":668,"depth":322,"text":669},{"id":722,"depth":322,"text":723},"GET /v1/stats — the account's share counts and a 14-day view history, without paging the whole share list.","md",{},true,{"title":190,"description":748},"HiyakFEk6_3sX5IpAhuq_6Kyb2d3HrNe1K5bZVk4VB4",[755,757],{"title":186,"path":187,"stem":188,"description":756,"children":-1},"DELETE /v1/requests/{shortCode} — close a collect link, and on a second call remove it for good.",{"title":194,"path":195,"stem":196,"description":758,"children":-1},"How CredenShare delivers event notifications to your endpoint, how to verify a delivery, and what an API key can and cannot do with webhooks.",1788908850348]