[{"data":1,"prerenderedAt":174},["ShallowReactive",2],{"docs-\u002Fapi":3},{"id":4,"title":5,"body":6,"description":168,"extension":74,"meta":169,"navigation":92,"path":170,"seo":171,"stem":172,"__hash__":173},"docs\u002Fdocs\u002Fapi\u002Findex.md","API Reference",{"type":7,"value":8,"toc":165},"minimark",[9,13,17,58,61,66,69,130,133,161],[10,11,5],"h1",{"id":12},"api-reference",[14,15,16],"p",{},"This API reference is organized by domain instead of a single monolithic page.",[18,19,20,28,34,40,46,52],"ul",{},[21,22,23],"li",{},[24,25,27],"a",{"href":26},"\u002Fdocs\u002Fapi\u002Ftenants","Tenants API",[21,29,30],{},[24,31,33],{"href":32},"\u002Fdocs\u002Fapi\u002Fbilling","Billing API",[21,35,36],{},[24,37,39],{"href":38},"\u002Fdocs\u002Fapi\u002Fusage","Usage API",[21,41,42],{},[24,43,45],{"href":44},"\u002Fdocs\u002Fapi\u002Fadmin","Admin API",[21,47,48],{},[24,49,51],{"href":50},"\u002Fdocs\u002Fapi\u002Fuser","User API",[21,53,54],{},[24,55,57],{"href":56},"\u002Fdocs\u002Fapi\u002Fassistant","Assistant API",[59,60],"hr",{},[62,63,65],"h2",{"id":64},"endpoint-format-template","Endpoint format (template)",[14,67,68],{},"Use this format for every endpoint entry:",[70,71,76],"pre",{"className":72,"code":73,"language":74,"meta":75,"style":75},"language-md shiki shiki-themes github-dark","### `METHOD \u002Fapi\u002Fpath\u002F{param}`\n\n- Purpose: What the endpoint does.\n- Auth: Who can call it (for example Clerk session, ingest key, webhook signature).\n- Request shape: Query\u002Fbody parameters (Zod\u002FTS as source of truth, concise summary).\n- Response shape: Success response and key fields.\n- Key errors: Important status codes and when they happen.\n- Example: Short request\u002Fresponse example when useful.\n","md","",[77,78,79,87,94,100,106,112,118,124],"code",{"__ignoreMap":75},[80,81,84],"span",{"class":82,"line":83},"line",1,[80,85,86],{},"### `METHOD \u002Fapi\u002Fpath\u002F{param}`\n",[80,88,90],{"class":82,"line":89},2,[80,91,93],{"emptyLinePlaceholder":92},true,"\n",[80,95,97],{"class":82,"line":96},3,[80,98,99],{},"- Purpose: What the endpoint does.\n",[80,101,103],{"class":82,"line":102},4,[80,104,105],{},"- Auth: Who can call it (for example Clerk session, ingest key, webhook signature).\n",[80,107,109],{"class":82,"line":108},5,[80,110,111],{},"- Request shape: Query\u002Fbody parameters (Zod\u002FTS as source of truth, concise summary).\n",[80,113,115],{"class":82,"line":114},6,[80,116,117],{},"- Response shape: Success response and key fields.\n",[80,119,121],{"class":82,"line":120},7,[80,122,123],{},"- Key errors: Important status codes and when they happen.\n",[80,125,127],{"class":82,"line":126},8,[80,128,129],{},"- Example: Short request\u002Fresponse example when useful.\n",[14,131,132],{},"Notes:",[18,134,135,149,155],{},[21,136,137,138,141,142,141,145,148],{},"Write dynamic segments as ",[77,139,140],{},"{slug}",", ",[77,143,144],{},"{id}",[77,146,147],{},"{userId}",".",[21,150,151,152,148],{},"Do not include query string in the endpoint signature; document it under ",[77,153,154],{},"Request shape",[21,156,157,158,148],{},"If an endpoint has no body, explicitly write ",[77,159,160],{},"none",[162,163,164],"style",{},"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);}",{"title":75,"searchDepth":89,"depth":89,"links":166},[167],{"id":64,"depth":89,"text":65},"Domain-based API reference with stable endpoint documentation format.",{},"\u002Fdocs\u002Fapi",{"title":5,"description":168},"docs\u002Fapi\u002Findex","uA2VKOrkDXSGl-aN0TCEaIKYbKl5gPl03kN69Os_py8",1777579477592]