All requests to api.wardin.ai/v1/ use Bearer token authentication:
Authorization: Bearer wardin_sk_YOUR_KEY
The same wardin_sk_ keys used to authenticate with the gateway also work with the management API. The key’s permissions determine what operations are allowed.
Key prefixes
Prefix
Type
Used for
wardin_sk_
Virtual key
Gateway proxy calls + management API
Register the wardin_sk_ prefix with your secret scanner (GitHub Advanced Security, truffleHog, Gitleaks) to prevent accidental commits.
There is no in-place rotation — create a new key, update your environment, then revoke the old one:
# 1. Create a new keycurl -X POST https://api.wardin.ai/v1/keys \ -H "Authorization: Bearer wardin_sk_OLD_KEY" \ -H "Content-Type: application/json" \ -d '{"label": "admin-rotated", "keyClass": "interactive", "budgetUsd": 100}'# 2. Update your WARDIN_API_KEY env var to the new key# 3. Revoke the old keycurl -X DELETE https://api.wardin.ai/v1/keys/key_OLD_ID \ -H "Authorization: Bearer wardin_sk_NEW_KEY"
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Wardin","colors":{"primary":"#4361e8","light":"#7b97f9","dark":"#2b46be"},"logo":{"light":"https://mintcdn.com/wardin/Oz1j4UFfI640OHgu/logo/light.svg?fit=max\u0026auto=format\u0026n=Oz1j4UFfI640OHgu\u0026q=85\u0026s=f6b5b586a2e50bd13415012b444bfcca","dark":"https://mintcdn.com/wardin/Oz1j4UFfI640OHgu/logo/dark.svg?fit=max\u0026auto=format\u0026n=Oz1j4UFfI640OHgu\u0026q=85\u0026s=3158dac31fbd68a9e0ceb14d94651e8a"},"favicon":"https://mintcdn.com/wardin/Oz1j4UFfI640OHgu/favicon.svg?fit=max\u0026auto=format\u0026n=Oz1j4UFfI640OHgu\u0026q=85\u0026s=bd70614f0f3ef4be21c556c3836aac86","navbar":{"links":[{"href":"https://wardin.ai","label":"wardin.ai"}],"primary":{"type":"button","label":"Get early access","href":"https://wardin.ai/#top"}},"footer":{"socials":{"website":"https://wardin.ai"}},"integrations":{"posthog":{"apiKey":"phc_p9xGMHZuQwRFZDd5TpvJLWG3nALyD3dxnpkAz9ZpaKpF","sessionRecording":false}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"wardin","hasAudioNarration":false,"actualSubdomain":"wardin","customDomains":["docs.wardin.ai"],"gitSource":{"type":"github","owner":"jonathasdantas","repo":"wardin","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae95b69ae8d0278471d48de:success","clientVersion":"0.0.4205","searchFilterCounts":[{"language":"default","tag":"API Reference","count":198},{"language":"default","tag":"Documentation","count":29},{"language":"default","tag":"Concepts","count":19},{"language":"default","tag":"Team","count":9},{"language":"default","tag":"team","count":9},{"language":"default","tag":"Analytics","count":7},{"language":"default","tag":"Budgets","count":7},{"language":"default","tag":"Prompts","count":7},{"language":"default","tag":"budgets","count":7},{"language":"default","tag":"compliance","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/authentication","slug":"/api-reference/authentication","pageMetadata":{"title":"Authentication","description":"How to authenticate with the Wardin API.","href":"/api-reference/authentication"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"How to authenticate with the Wardin API.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`api-keys`,children:`API Keys`}),`\n`,_jsxs(_components.p,{children:[`All requests to `,_jsx(_components.code,{children:`api.wardin.ai/v1/`}),` use Bearer token authentication:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Authorization:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Bearer`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` wardin_sk_YOUR_KEY`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The same `,_jsx(_components.code,{children:`wardin_sk_`}),` keys used to authenticate with the gateway also work with the management API. The key’s permissions determine what operations are allowed.`]}),`\n`,_jsx(Heading,{level:`2`,id:`key-prefixes`,children:`Key prefixes`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Prefix`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Used for`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`wardin_sk_`})}),_jsx(_components.td,{children:`Virtual key`}),_jsx(_components.td,{children:`Gateway proxy calls + management API`})]})})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Register the `,_jsx(_components.code,{children:`wardin_sk_`}),` prefix with your secret scanner (GitHub Advanced Security, truffleHog, Gitleaks) to prevent accidental commits.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`key-permissions`,children:`Key permissions`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Operation`}),_jsx(_components.th,{children:`Permission required`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Create / update / delete keys`}),_jsx(_components.td,{children:`Manager`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Create / update / delete policies`}),_jsx(_components.td,{children:`Manager`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Create / update / delete budgets`}),_jsx(_components.td,{children:`Manager`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Approve / deny budget requests`}),_jsx(_components.td,{children:`Manager`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Read analytics`}),_jsx(_components.td,{children:`Any valid key`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`List keys`}),_jsx(_components.td,{children:`Any valid key (own keys only, unless manager)`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`example-request`,children:`Example request`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.wardin.ai/v1/keys`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer wardin_sk_YOUR_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`error-responses`,children:`Error responses`}),`\n`,_jsx(_components.p,{children:`Missing key:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"unauthorized\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Missing or invalid API key.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`401`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Insufficient permissions:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"forbidden\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"This operation requires manager-level access.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`403`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`rotating-keys`,children:`Rotating keys`}),`\n`,_jsx(_components.p,{children:`There is no in-place rotation — create a new key, update your environment, then revoke the old one:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# 1. Create a new key`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.wardin.ai/v1/keys`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer wardin_sk_OLD_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"label\": \"admin-rotated\", \"keyClass\": \"interactive\", \"budgetUsd\": 100}'`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# 2. Update your WARDIN_API_KEY env var to the new key`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# 3. Revoke the old key`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` DELETE`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.wardin.ai/v1/keys/key_OLD_ID`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer wardin_sk_NEW_KEY\"`})]}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Authentication","description":"How to authenticate with the Wardin API.","href":"/api-reference/authentication"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"API Keys","slug":"api-keys","depth":2,"children":[]},{"title":"Key prefixes","slug":"key-prefixes","depth":2,"children":[]},{"title":"Key permissions","slug":"key-permissions","depth":2,"children":[]},{"title":"Example request","slug":"example-request","depth":2,"children":[]},{"title":"Error responses","slug":"error-responses","depth":2,"children":[]},{"title":"Rotating keys","slug":"rotating-keys","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"wardin","siteName":"Wardin","title":"Authentication - Wardin","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-10T23:37:40.236Z","originalFileLocation":"api-reference/authentication.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"How to authenticate with the Wardin API.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Wardin\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/wardin/c7FHpFZE89ZcXtTL/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/wardin/c7FHpFZE89ZcXtTL/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/wardin/c7FHpFZE89ZcXtTL/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/wardin/c7FHpFZE89ZcXtTL/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/wardin/c7FHpFZE89ZcXtTL/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/wardin/c7FHpFZE89ZcXtTL/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/wardin/c7FHpFZE89ZcXtTL/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/wardin/c7FHpFZE89ZcXtTL/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/wardin/c7FHpFZE89ZcXtTL/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Authentication - Wardin\">\u003cmeta data-mint-head property=\"og:description\" content=\"How to authenticate with the Wardin API.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Wardin\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.wardin.ai/api-reference/authentication\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://wardin.mintlify.site/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Authentication\u0026amp;description=How+to+authenticate+with+the+Wardin+API.\u0026amp;theme=c803d00f1b379da5013180e5\u0026amp;signature=a265690e2acacd1318055c9eab6a3e9014d8e8eaf216905e464890e1fe425154\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Authentication - Wardin\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"How to authenticate with the Wardin API.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://wardin.mintlify.site/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Authentication\u0026amp;description=How+to+authenticate+with+the+Wardin+API.\u0026amp;theme=c803d00f1b379da5013180e5\u0026amp;signature=a265690e2acacd1318055c9eab6a3e9014d8e8eaf216905e464890e1fe425154\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/wardin/c7FHpFZE89ZcXtTL/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Wardin\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4361e8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.wardin.ai/api-reference/authentication\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/authentication.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.wardin.ai/#organization\",\"name\":\"Wardin\",\"url\":\"https://docs.wardin.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/wardin/Oz1j4UFfI640OHgu/logo/light.svg?fit=max\u0026auto=format\u0026n=Oz1j4UFfI640OHgu\u0026q=85\u0026s=f6b5b586a2e50bd13415012b444bfcca\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.wardin.ai#website\",\"name\":\"Wardin\",\"url\":\"https://docs.wardin.ai\",\"publisher\":{\"@id\":\"https://docs.wardin.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.wardin.ai/api-reference/authentication#webpage\",\"url\":\"https://docs.wardin.ai/api-reference/authentication\",\"name\":\"Authentication\",\"description\":\"How to authenticate with the Wardin API.\",\"dateModified\":\"2026-07-10T23:37:40.236Z\",\"isPartOf\":{\"@id\":\"https://docs.wardin.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.wardin.ai/api-reference/authentication#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.wardin.ai/api-reference/authentication#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.wardin.ai/api-reference/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Authentication\",\"item\":\"https://docs.wardin.ai/api-reference/authentication\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.wardin.ai/api-reference/authentication#article\",\"headline\":\"Authentication\",\"name\":\"Authentication\",\"description\":\"How to authenticate with the Wardin API.\",\"url\":\"https://docs.wardin.ai/api-reference/authentication\",\"mainEntityOfPage\":{\"@id\":\"https://docs.wardin.ai/api-reference/authentication#webpage\"},\"dateModified\":\"2026-07-10T23:37:40.236Z\",\"publisher\":{\"@id\":\"https://docs.wardin.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.wardin.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Wardin\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Wardin\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/authentication.md","siteName":"Wardin","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"SDKs","pages":[{"title":"SDKs","href":"/sdks/node"}]},{"tab":"API Reference","groups":[{"group":"API Reference","pages":[{"title":"API Overview","description":"The Wardin REST API — versioned, cursor-paginated, structured errors.","href":"/api-reference/overview"},{"title":"Authentication","href":"/api-reference/authentication"},{"group":"Keys","pages":[{"title":"List Keys","openapi":"GET /v1/keys","description":null,"href":"/api-reference/keys/list"},{"title":"Create Key","openapi":"POST /v1/keys","href":"/api-reference/keys/create"},{"title":"Reassign Key Owner / Team","openapi":"PATCH /v1/keys/{id}/assign","href":"/api-reference/keys/assign"},{"title":"Revoke Key","openapi":"DELETE /v1/keys/{id}","href":"/api-reference/keys/delete"},{"title":"Set Key Rate Limits","openapi":"PATCH /v1/keys/{id}/limits","href":"/api-reference/keys/limits"}]},{"group":"Budgets","pages":[{"title":"List Budgets","openapi":"GET /v1/budgets","href":"/api-reference/budgets/list"},{"title":"Update Budget","openapi":"PATCH /v1/budgets/{id}","href":"/api-reference/budgets/update"},{"title":"List Budget Requests","openapi":"GET /v1/budgets/requests","href":"/api-reference/budgets/requests-list"},{"title":"Submit Budget Request","openapi":"POST /v1/budgets/requests","href":"/api-reference/budgets/requests-create"},{"title":"Approve Budget Request","openapi":"POST /v1/budgets/requests/{id}/approve","href":"/api-reference/budgets/requests-approve"},{"title":"Deny Budget Request","openapi":"POST /v1/budgets/requests/{id}/deny","href":"/api-reference/budgets/requests-deny"},{"title":"Revoke Budget Request","openapi":"POST /v1/budgets/requests/{id}/revoke","href":"/api-reference/budgets/requests-revoke"}]},{"group":"Policies","pages":[{"title":"List Policies","openapi":"GET /v1/policies","href":"/api-reference/policies/list"},{"title":"Create Policy","openapi":"POST /v1/policies","href":"/api-reference/policies/create"},{"title":"Update Policy","openapi":"PATCH /v1/policies/{id}","href":"/api-reference/policies/update"},{"title":"Delete Policy","openapi":"DELETE /v1/policies/{id}","href":"/api-reference/policies/delete"}]},{"group":"Analytics","pages":[{"title":"Usage Summary","openapi":"GET /v1/usage","href":"/api-reference/analytics/usage"},{"title":"Usage Trend","openapi":"GET /v1/usage/trend","href":"/api-reference/analytics/usage-trend"},{"title":"Developer Sessions","openapi":"GET /v1/developer/sessions","href":"/api-reference/analytics/sessions"},{"title":"Anomalies","openapi":"GET /v1/anomalies","href":"/api-reference/analytics/anomalies"},{"title":"Cache Savings","openapi":"GET /v1/cache","href":"/api-reference/analytics/cache"},{"title":"Search","openapi":"GET /v1/search","href":"/api-reference/analytics/search"},{"title":"Integration Status","openapi":"GET /v1/settings/integrations","href":"/api-reference/analytics/integrations"}]},{"group":"Prompts","pages":[{"title":"List Prompts","openapi":"GET /v1/prompts","href":"/api-reference/prompts/list"},{"title":"Create Prompt","openapi":"POST /v1/prompts","href":"/api-reference/prompts/create"},{"title":"List Prompt Versions","openapi":"GET /v1/prompts/{promptId}/versions","href":"/api-reference/prompts/versions-list"},{"title":"Append Prompt Version","openapi":"POST /v1/prompts/versions","href":"/api-reference/prompts/versions-append"},{"title":"Set Prompt Label","openapi":"POST /v1/prompts/labels","href":"/api-reference/prompts/labels"},{"title":"Resolve Prompt Label","openapi":"GET /v1/prompts/{id}/label/{label}","href":"/api-reference/prompts/resolve-label"},{"title":"Run Prompt (Playground)","openapi":"POST /v1/prompts/run","href":"/api-reference/prompts/run"}]},{"group":"Providers","pages":[{"title":"List Providers","openapi":"GET /v1/providers","href":"/api-reference/providers/list"},{"title":"Connect / Rotate Provider Credentials","openapi":"PUT /v1/providers/{provider}","href":"/api-reference/providers/connect"},{"title":"Disconnect Provider","openapi":"DELETE /v1/providers/{provider}","href":"/api-reference/providers/disconnect"},{"title":"Test Provider Credentials","openapi":"POST /v1/providers/{provider}/test","href":"/api-reference/providers/test"}]},{"group":"Receipts","pages":[{"title":"List Receipts","openapi":"GET /v1/receipts","href":"/api-reference/receipts/list"},{"title":"Export Receipts","openapi":"GET /v1/receipts/export","href":"/api-reference/receipts/export"},{"title":"Get Receipt","openapi":"GET /v1/receipts/{id}","href":"/api-reference/receipts/get"},{"title":"Verify Receipt Chain","openapi":"GET /v1/receipts/{id}/verify-chain","href":"/api-reference/receipts/verify-chain"}]},{"group":"Compliance","pages":[{"title":"List Frameworks","openapi":"GET /v1/compliance/frameworks","href":"/api-reference/compliance/frameworks"},{"title":"Coverage","href":"/api-reference/compliance/coverage"},{"title":"Receipts by Control","openapi":"GET /v1/compliance/coverage/{framework}/controls/{controlId}/receipts","href":"/api-reference/compliance/control-receipts"},{"title":"Receipt Controls","openapi":"GET /v1/compliance/receipts/{id}/controls","href":"/api-reference/compliance/receipt-controls"},{"title":"Export Evidence Bundle","openapi":"GET /v1/compliance/evidence-bundle","href":"/api-reference/compliance/evidence-bundle"},{"title":"Live Attestation","openapi":"GET /v1/compliance/attestation","href":"/api-reference/compliance/attestation"},{"title":"Attestation Inclusion Proof","openapi":"GET /v1/compliance/attestation/receipts/{id}/inclusion","href":"/api-reference/compliance/attestation-inclusion"}]},{"group":"Team","pages":[{"title":"List Team Members","openapi":"GET /v1/team/members","href":"/api-reference/team/members-list"},{"title":"Invite Team Member","openapi":"POST /v1/team/members/invite","href":"/api-reference/team/members-invite"},{"title":"Remove Team Member","openapi":"DELETE /v1/team/members/{userId}","href":"/api-reference/team/members-remove"},{"title":"Update Member Role","openapi":"PATCH /v1/team/members/{userId}/role","href":"/api-reference/team/members-role"},{"title":"Assign Member To Team","openapi":"PATCH /v1/team/members/{userId}/team","href":"/api-reference/team/members-team"},{"title":"List Teams","openapi":"GET /v1/team/teams","href":"/api-reference/team/teams-list"},{"title":"Create Team","openapi":"POST /v1/team/teams","href":"/api-reference/team/teams-create"},{"title":"Update Team","openapi":"PATCH /v1/team/teams/{teamId}","href":"/api-reference/team/teams-update"},{"title":"Delete Team","openapi":"DELETE /v1/team/teams/{teamId}","href":"/api-reference/team/teams-delete"}]},{"group":"User Limits","pages":[{"title":"List User Limits","openapi":"GET /v1/user-limits","href":"/api-reference/user-limits/list"},{"title":"Update User Limit","openapi":"PATCH /v1/user-limits/{userId}","href":"/api-reference/user-limits/update"}]},{"group":"Billing","pages":[{"title":"Get Subscription","openapi":"GET /v1/billing/subscription","href":"/api-reference/billing/subscription"},{"title":"Create Checkout Session","openapi":"POST /v1/billing/checkout","href":"/api-reference/billing/checkout"},{"title":"Create Billing Portal Session","openapi":"POST /v1/billing/portal","href":"/api-reference/billing/portal"}]},{"group":"Webhook Endpoints","pages":[{"title":"List Webhook Endpoints","openapi":"GET /v1/webhook-endpoints","href":"/api-reference/webhook-endpoints/list"},{"title":"Create Webhook Endpoint","openapi":"POST /v1/webhook-endpoints","href":"/api-reference/webhook-endpoints/create"},{"title":"Update Webhook Endpoint","openapi":"PATCH /v1/webhook-endpoints/{id}","href":"/api-reference/webhook-endpoints/update"},{"title":"Delete Webhook Endpoint","openapi":"DELETE /v1/webhook-endpoints/{id}","href":"/api-reference/webhook-endpoints/delete"},{"title":"Send Test Webhook Event","openapi":"POST /v1/webhook-endpoints/{id}/test","href":"/api-reference/webhook-endpoints/test"}]}]},{"group":"keys","pages":[{"title":"List virtual keys (cursor-paginated)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/keys","href":"/api-reference/keys/list-virtual-keys-cursor-paginated"},{"title":"Create a virtual key with a budget","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/keys","href":"/api-reference/keys/create-a-virtual-key-with-a-budget"},{"title":"Set RPM / TPM rate limits on a key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/keys/{id}/limits","href":"/api-reference/keys/set-rpm-tpm-rate-limits-on-a-key"},{"title":"Reassign a key’s owner and/or cost-center team","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/keys/{id}/assign","href":"/api-reference/keys/reassign-a-key’s-owner-andor-cost-center-team"},{"title":"Revoke a virtual key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/keys/{id}","href":"/api-reference/keys/revoke-a-virtual-key"}]},{"group":"user-limits","pages":[{"title":"List all user limits for tenant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/user-limits","href":"/api-reference/user-limits/list-all-user-limits-for-tenant"},{"title":"Update a user limit","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/user-limits/{userId}","href":"/api-reference/user-limits/update-a-user-limit"}]},{"group":"budgets","pages":[{"title":"List budgets for tenant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/budgets","href":"/api-reference/budgets/list-budgets-for-tenant"},{"title":"Update budget limit; syncs to Redis immediately","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/budgets/{id}","href":"/api-reference/budgets/update-budget-limit;-syncs-to-redis-immediately"},{"title":"List budget requests","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/budgets/requests","href":"/api-reference/budgets/list-budget-requests"},{"title":"Submit a budget increase request","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/budgets/requests","href":"/api-reference/budgets/submit-a-budget-increase-request"},{"title":"Approve a budget request (manager): applies the elevated limit for the requested window","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/budgets/requests/{id}/approve","href":"/api-reference/budgets/approve-a-budget-request-manager:-applies-the-elevated-limit-for-the-requested-window"},{"title":"Deny a budget request (manager)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/budgets/requests/{id}/deny","href":"/api-reference/budgets/deny-a-budget-request-manager"},{"title":"Revoke an active approved increase early (manager): restores the prior budget","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/budgets/requests/{id}/revoke","href":"/api-reference/budgets/revoke-an-active-approved-increase-early-manager:-restores-the-prior-budget"}]},{"group":"policies","pages":[{"title":"List all policies for tenant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/policies","href":"/api-reference/policies/list-all-policies-for-tenant"},{"title":"Create a policy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/policies","href":"/api-reference/policies/create-a-policy"},{"title":"Delete a policy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/policies/{id}","href":"/api-reference/policies/delete-a-policy"},{"title":"Update a policy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/policies/{id}","href":"/api-reference/policies/update-a-policy"}]},{"group":"analytics","pages":[{"title":"Spend summary for the given range","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/usage","href":"/api-reference/analytics/spend-summary-for-the-given-range"},{"title":"Daily spend trend","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/usage/trend","href":"/api-reference/analytics/daily-spend-trend"},{"title":"Recent guardrail events (blocks + redactions)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/anomalies","href":"/api-reference/analytics/recent-guardrail-events-blocks-+-redactions"},{"title":"Cache hit rates and savings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/cache","href":"/api-reference/analytics/cache-hit-rates-and-savings"},{"title":"Sessions and KPIs for the calling API key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/developer/sessions","href":"/api-reference/analytics/sessions-and-kpis-for-the-calling-api-key"},{"title":"Search across users, keys, and policies","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/search","href":"/api-reference/analytics/search-across-users-keys-and-policies"}]},{"group":"receipts","pages":[{"title":"Query receipts (newest first, filterable)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/receipts","href":"/api-reference/receipts/query-receipts-newest-first-filterable"},{"title":"Bulk export matched receipts (JSONL or CSV)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/receipts/export","href":"/api-reference/receipts/bulk-export-matched-receipts-jsonl-or-csv"},{"title":"Get a single receipt by ID + verify its hash and signature","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/receipts/{id}","href":"/api-reference/receipts/get-a-single-receipt-by-id-+-verify-its-hash-and-signature"},{"title":"Verify a contiguous seq range of the receipt chain","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/receipts/{id}/verify-chain","href":"/api-reference/receipts/verify-a-contiguous-seq-range-of-the-receipt-chain"}]},{"group":"webhooks","pages":[{"title":"Receive Clerk webhook events to sync users and orgs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/webhooks/clerk","href":"/api-reference/webhooks/receive-clerk-webhook-events-to-sync-users-and-orgs"},{"title":"Receive GitHub pull_request webhook events for PR-outcome quality signals (QUAL-1)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/webhooks/github","href":"/api-reference/webhooks/receive-github-pull_request-webhook-events-for-pr-outcome-quality-signals-qual-1"}]},{"group":"quality-signals","pages":[{"title":"Explicitly link a Wardin session to a GitHub PR outcome — the universal escape hatch for CI pipelines or setups the webhook receiver cannot reach (§3(e))","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/quality-signals/github-link","href":"/api-reference/quality-signals/explicitly-link-a-wardin-session-to-a-github-pr-outcome-—-the-universal-escape-hatch-for-ci-pipelines-or-setups-the-webhook-receiver-cannot-reach-§3e"}]},{"group":"team","pages":[{"title":"List all team members for the tenant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/team/members","href":"/api-reference/team/list-all-team-members-for-the-tenant"},{"title":"Invite a new team member by email","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/team/members/invite","href":"/api-reference/team/invite-a-new-team-member-by-email"},{"title":"Update a team member's role","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/team/members/{userId}/role","href":"/api-reference/team/update-a-team-members-role"},{"title":"Remove a team member","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/team/members/{userId}","href":"/api-reference/team/remove-a-team-member"},{"title":"List all teams for the tenant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/team/teams","href":"/api-reference/team/list-all-teams-for-the-tenant"},{"title":"Create a new team","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/team/teams","href":"/api-reference/team/create-a-new-team"},{"title":"Delete a team (users are unassigned, not deleted)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/team/teams/{teamId}","href":"/api-reference/team/delete-a-team-users-are-unassigned-not-deleted"},{"title":"Rename a team or update its budget pool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/team/teams/{teamId}","href":"/api-reference/team/rename-a-team-or-update-its-budget-pool"},{"title":"Assign or unassign a user to/from a team","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/team/members/{userId}/team","href":"/api-reference/team/assign-or-unassign-a-user-tofrom-a-team"}]},{"group":"webhook-endpoints","pages":[{"title":"List outbound webhook endpoints for tenant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/webhook-endpoints","href":"/api-reference/webhook-endpoints/list-outbound-webhook-endpoints-for-tenant"},{"title":"Create an outbound webhook endpoint (generates a signing secret)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/webhook-endpoints","href":"/api-reference/webhook-endpoints/create-an-outbound-webhook-endpoint-generates-a-signing-secret"},{"title":"Delete an outbound webhook endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/webhook-endpoints/{id}","href":"/api-reference/webhook-endpoints/delete-an-outbound-webhook-endpoint"},{"title":"Update an outbound webhook endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/webhook-endpoints/{id}","href":"/api-reference/webhook-endpoints/update-an-outbound-webhook-endpoint"},{"title":"Send a signed test event to the endpoint and return the result","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/webhook-endpoints/{id}/test","href":"/api-reference/webhook-endpoints/send-a-signed-test-event-to-the-endpoint-and-return-the-result"}]},{"group":"billing","pages":[{"title":"Current plan + usage-vs-limit for the tenant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/billing/subscription","href":"/api-reference/billing/current-plan-+-usage-vs-limit-for-the-tenant"},{"title":"Create a Stripe Checkout session to upgrade plan","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/billing/checkout","href":"/api-reference/billing/create-a-stripe-checkout-session-to-upgrade-plan"},{"title":"Create a Stripe billing-portal session","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/billing/portal","href":"/api-reference/billing/create-a-stripe-billing-portal-session"}]},{"group":"prompts","pages":[{"title":"List all prompts for the tenant (with label map)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/prompts","href":"/api-reference/prompts/list-all-prompts-for-the-tenant-with-label-map"},{"title":"Create a new prompt (also creates version 1)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/prompts","href":"/api-reference/prompts/create-a-new-prompt-also-creates-version-1"},{"title":"List all versions for a prompt","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/prompts/{promptId}/versions","href":"/api-reference/prompts/list-all-versions-for-a-prompt"},{"title":"Append a new version to an existing prompt","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/prompts/versions","href":"/api-reference/prompts/append-a-new-version-to-an-existing-prompt"},{"title":"Point a named label at a specific version","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/prompts/labels","href":"/api-reference/prompts/point-a-named-label-at-a-specific-version"},{"title":"Run a prompt version through the gateway playground","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/prompts/run","href":"/api-reference/prompts/run-a-prompt-version-through-the-gateway-playground"},{"title":"Resolve a label to the pinned version content","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/prompts/{id}/label/{label}","href":"/api-reference/prompts/resolve-a-label-to-the-pinned-version-content"}]},{"group":"providers","pages":[{"title":"List stored provider credentials (masked)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/providers","href":"/api-reference/providers/list-stored-provider-credentials-masked"},{"title":"Create or replace credentials for a provider","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /v1/providers/{provider}","href":"/api-reference/providers/create-or-replace-credentials-for-a-provider"},{"title":"Remove stored credentials for a provider","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/providers/{provider}","href":"/api-reference/providers/remove-stored-credentials-for-a-provider"},{"title":"Test stored credentials with a minimal upstream call","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/providers/{provider}/test","href":"/api-reference/providers/test-stored-credentials-with-a-minimal-upstream-call"}]},{"group":"compliance","pages":[{"title":"List available compliance frameworks (one in-force pack each)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/compliance/frameworks","href":"/api-reference/compliance/list-available-compliance-frameworks-one-in-force-pack-each"},{"title":"Coverage map for a framework","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/compliance/coverage/{framework}","href":"/api-reference/compliance/coverage-map-for-a-framework"},{"title":"Controls a receipt’s checks satisfy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/compliance/receipts/{id}/controls","href":"/api-reference/compliance/controls-a-receipt’s-checks-satisfy"},{"title":"Receipts where a control was applied, this period","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/compliance/coverage/{framework}/controls/{controlId}/receipts","href":"/api-reference/compliance/receipts-where-a-control-was-applied-this-period"},{"title":"Export a self-contained, offline-verifiable Evidence Bundle","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/compliance/evidence-bundle","href":"/api-reference/compliance/export-a-self-contained-offline-verifiable-evidence-bundle"},{"title":"Regulator-ready live attestation over the receipt chain","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/compliance/attestation","href":"/api-reference/compliance/regulator-ready-live-attestation-over-the-receipt-chain"},{"title":"Inclusion proof that a receipt is committed by the attestation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/compliance/attestation/receipts/{id}/inclusion","href":"/api-reference/compliance/inclusion-proof-that-a-receipt-is-committed-by-the-attestation"}]},{"group":"Health","pages":[{"title":"Get health","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /health","href":"/api-reference/health/get-health"}]},{"group":"status","pages":[{"title":"Public system status — request-path + dependency health","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /status","href":"/api-reference/status/public-system-status-—-request-path-+-dependency-health"}]}]}]},"basePath":"","title":"Authentication - Wardin","deploymentId":"dpl_FZMKUpaaKiVETbfqhoUe4sPFDTmY","buildId":"dpl_FZMKUpaaKiVETbfqhoUe4sPFDTmY","dynamics":[],"chunks":[]}