Returns the user the credential belongs to plus the active and personal organizations. The cheapest way to validate a key. This is exactly what testorim login calls before it writes the key to ~/.testorim/config.json. For an API key, currentOrg is always the organization the key is bound to. organization is a backwards-compatible alias of currentOrg with identical content.
Format (services/api-keys.ts): the literal prefix tst_live_
followed by 24 random bytes rendered as 32 base64url characters.
Only the SHA-256 hash is stored server-side. The shape check that
routes a token down the API-key path rather than the Clerk JWT path
requires the tst_live_ prefix and a total length of at least 25
characters.
Keys are minted in the dashboard at /settings/api-keys, in any
workspace, personal included. The same header also accepts a Clerk
session JWT, which is how the web app authenticates, but the JWT path
is out of scope for this document.
The caller's auto-provisioned personal workspace. Not necessarily the org an API key acts on.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Testorim","description":"Documentation for Testorim: plain-English browser QA tests that run in a real browser.","colors":{"primary":"#059669","light":"#10b981","dark":"#047857"},"logo":{"light":"https://mintcdn.com/fulgic/ZOzvtyg298rAaunK/logo/wordmark.png?fit=max\u0026auto=format\u0026n=ZOzvtyg298rAaunK\u0026q=85\u0026s=c49b84c50b62f2ccafcc2660391619e7","dark":"https://mintcdn.com/fulgic/ZOzvtyg298rAaunK/logo/wordmark-dark.png?fit=max\u0026auto=format\u0026n=ZOzvtyg298rAaunK\u0026q=85\u0026s=d74e70ecf0f91872956e46385b5665e1","href":"https://testorim.com"},"favicon":"https://mintcdn.com/fulgic/MOzJBi6Mn9MbYgbw/favicon.png?fit=max\u0026auto=format\u0026n=MOzJBi6Mn9MbYgbw\u0026q=85\u0026s=783a1618974414f0ee72cf911352ab64","appearance":{"default":"system"},"navbar":{"links":[{"href":"https://status.testorim.com","label":"Status"},{"href":"mailto:info@fulgic.com","label":"Support"}],"primary":{"type":"button","label":"Open Testorim","href":"https://app.testorim.com"}},"footer":{"links":[{"header":"Product","items":[{"label":"Testorim","href":"https://testorim.com"},{"label":"Pricing","href":"https://testorim.com/pricing"},{"label":"Open the app","href":"https://app.testorim.com"},{"label":"Status","href":"https://status.testorim.com"}]},{"header":"Documentation","items":[{"label":"Quickstart","href":"https://docs.testorim.com/getting-started/quickstart"},{"label":"Plans and limits","href":"https://docs.testorim.com/resources/plans-and-limits"},{"label":"API reference","href":"https://docs.testorim.com/api-reference/introduction"},{"label":"CLI","href":"https://docs.testorim.com/developers/cli"}]},{"header":"Legal","items":[{"label":"Terms","href":"https://testorim.com/terms"},{"label":"Privacy","href":"https://testorim.com/privacy"}]}]},"search":{"prompt":"Search the Testorim docs"},"icons":{"library":"lucide"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Testorim app","icon":"monitor","href":"https://app.testorim.com"},{"anchor":"Website","icon":"globe","href":"https://testorim.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"fulgic","hasAudioNarration":false,"actualSubdomain":"fulgic","customDomains":["docs.testorim.com"],"gitSource":{"type":"github","owner":"sallar-ba","repo":"testorim-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6abb3a2d9ae82eb23a513b7a","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"Documentation","count":29},{"language":"default","tag":"API reference","count":19},{"language":"default","tag":"Endpoints","count":17},{"language":"default","tag":"Runs","count":7},{"language":"default","tag":"Developers","count":6},{"language":"default","tag":"Developer documentation","count":6},{"language":"default","tag":"Getting started","count":4},{"language":"default","tag":"Integrations","count":4},{"language":"default","tag":"Resources","count":4},{"language":"default","tag":"Test creation","count":4}],"searchSettings":{"showContentSnippets":true}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@fulgic.com"}},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"privacy":{"consentBanner":{"enabled":true}},"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/identity/identify-the-presented-credential","slug":"/api-reference/identity/identify-the-presented-credential","pageMetadata":{"title":"Identify the presented credential","description":"Returns the user the credential belongs to plus the active and personal organizations. The cheapest way to validate a key. This is exactly what `testorim login` calls before it writes the key to `~/.testorim/config.json`. For an API key, `currentOrg` is always the organization the key is bound to. `organization` is a backwards-compatible alias of `currentOrg` with identical content.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/me","href":"/api-reference/identity/identify-the-presented-credential","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Returns the user the credential belongs to plus the active and personal organizations. The cheapest way to validate a key. This is exactly what \", _jsx(_components.code, {\n children: \"testorim login\"\n }), \" calls before it writes the key to \", _jsx(_components.code, {\n children: \"~/.testorim/config.json\"\n }), \". For an API key, \", _jsx(_components.code, {\n children: \"currentOrg\"\n }), \" is always the organization the key is bound to. \", _jsx(_components.code, {\n children: \"organization\"\n }), \" is a backwards-compatible alias of \", _jsx(_components.code, {\n children: \"currentOrg\"\n }), \" with identical content.\"]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Identify the presented credential","description":"Returns the user the credential belongs to plus the active and personal organizations. The cheapest way to validate a key. This is exactly what `testorim login` calls before it writes the key to `~/.testorim/config.json`. For an API key, `currentOrg` is always the organization the key is bound to. `organization` is a backwards-compatible alias of `currentOrg` with identical content.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/me","href":"/api-reference/identity/identify-the-presented-credential","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Identity"],"operationId":"getMe","summary":"Identify the presented credential","description":"Returns the user the credential belongs to plus the active and personal organizations. The cheapest way to validate a key. This is exactly what `testorim login` calls before it writes the key to `~/.testorim/config.json`. For an API key, `currentOrg` is always the organization the key is bound to. `organization` is a backwards-compatible alias of `currentOrg` with identical content.","security":["4f663f42-53ef-43f8-9ebc-522380e16f2b"],"responses":{"200":"251d7c29-fe51-4c76-a8fe-9f9fa93002cc","401":"c9ad028d-4434-4f10-b9d2-a5921718ef7c","429":"2af89f95-061e-4cbb-91f1-dcab7b250f9d"},"method":"get","type":"path","servers":["d4db3c55-f4bc-46f2-9432-5f123e333c25","7ea51c90-14cf-4c02-9601-e57633a5e03f"],"path":"/api/me","baseUrlOptions":["https://app.testorim.com","http://localhost:3001"],"title":"Identify the presented credential","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"responses":{"251d7c29-fe51-4c76-a8fe-9f9fa93002cc":{"description":"OK","content":{"application/json":{"schema":{"type":"object","title":"MeResponse","required":["user","organization","currentOrg","personalOrg"],"properties":{"user":{"type":"object","required":["id","email","name","imageUrl"],"properties":{"id":{"type":"string","format":"uuid","description":"The internal user id, not the Clerk id.","isRequired":true,"uniqueKey":"user.id","typeLabel":"string\u003cuuid>"},"email":{"type":"string","format":"email","isRequired":true,"uniqueKey":"user.email","typeLabel":"string\u003cemail>"},"name":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"user.name.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"user.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"user.name","typeLabel":"string | null"},"imageUrl":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"user.imageUrl.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"user.imageUrl.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"user.imageUrl","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"user","typeLabel":"object"},"organization":{"type":"object","title":"MeOrganization","description":"Backwards-compatible alias of `currentOrg` with identical content. Prefer `currentOrg` in new integrations.","required":["id","name","slug","kind","plan","subscriptionStatus","accessState","lockedReason","limits"],"properties":{"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"organization.id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","isRequired":true,"uniqueKey":"organization.name","typeLabel":"string"},"slug":{"type":"string","isRequired":true,"uniqueKey":"organization.slug","typeLabel":"string"},"kind":{"type":"string","enum":["personal","team"],"isRequired":true,"uniqueKey":"organization.kind","typeLabel":"enum\u003cstring>"},"plan":{"type":"string","enum":["free","starter","pro","team"],"description":"`free` means no subscription. During a trial this is the plan the trial will convert to.","isRequired":true,"uniqueKey":"organization.plan","typeLabel":"enum\u003cstring>"},"subscriptionStatus":{"type":"string","enum":["none","trialing","active","past_due","unpaid","canceled","paused"],"isRequired":true,"uniqueKey":"organization.subscriptionStatus","typeLabel":"enum\u003cstring>"},"accessState":{"type":"string","enum":["ONBOARDING","TRIALING","ACTIVE","PAST_DUE","STALE_TRIALING","DEGRADED_ALLOW","LOCKED"],"description":"Whether runs are allowed, and why. `LOCKED` refuses runs.","isRequired":true,"uniqueKey":"organization.accessState","typeLabel":"enum\u003cstring>"},"lockedReason":{"oneOf":[{"type":"string","description":"Why a `LOCKED` account is locked, e.g. `onboarding_exhausted`, `past_due_expired`, `unpaid`, `canceled`, `paused`. Null otherwise.","isRequired":true,"uniqueKey":"organization.lockedReason.oneOf.0","typeLabel":"string"},{"type":"null","description":"Why a `LOCKED` account is locked, e.g. `onboarding_exhausted`, `past_due_expired`, `unpaid`, `canceled`, `paused`. Null otherwise.","isRequired":true,"uniqueKey":"organization.lockedReason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"organization.lockedReason","typeLabel":"string | null"},"limits":{"type":"object","required":["monthlyRunLimit","monthlyBrowserMinutesLimit","monthlyLlmBudgetCents"],"properties":{"monthlyRunLimit":{"type":"integer","isRequired":true,"uniqueKey":"organization.limits.monthlyRunLimit","typeLabel":"integer"},"monthlyBrowserMinutesLimit":{"type":"integer","isRequired":true,"uniqueKey":"organization.limits.monthlyBrowserMinutesLimit","typeLabel":"integer"},"monthlyLlmBudgetCents":{"type":"integer","description":"Integer cents.","isRequired":true,"uniqueKey":"organization.limits.monthlyLlmBudgetCents","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"organization.limits","typeLabel":"object"},"role":{"type":"string","enum":["owner","admin","member","viewer"],"description":"The caller's role in this org. Present on `currentOrg` and `organization`; omitted entirely from `personalOrg`, where the caller is always the owner. A `viewer` is read-only across the whole API.","uniqueKey":"organization.role","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"organization","typeLabel":"MeOrganization · object"},"currentOrg":{"type":"object","title":"MeOrganization","description":"For an API key, always the organization the key is bound to, every request in this document is scoped to it.","required":["id","name","slug","kind","plan","subscriptionStatus","accessState","lockedReason","limits"],"properties":{"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"currentOrg.id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","isRequired":true,"uniqueKey":"currentOrg.name","typeLabel":"string"},"slug":{"type":"string","isRequired":true,"uniqueKey":"currentOrg.slug","typeLabel":"string"},"kind":{"type":"string","enum":["personal","team"],"isRequired":true,"uniqueKey":"currentOrg.kind","typeLabel":"enum\u003cstring>"},"plan":{"type":"string","enum":["free","starter","pro","team"],"description":"`free` means no subscription. During a trial this is the plan the trial will convert to.","isRequired":true,"uniqueKey":"currentOrg.plan","typeLabel":"enum\u003cstring>"},"subscriptionStatus":{"type":"string","enum":["none","trialing","active","past_due","unpaid","canceled","paused"],"isRequired":true,"uniqueKey":"currentOrg.subscriptionStatus","typeLabel":"enum\u003cstring>"},"accessState":{"type":"string","enum":["ONBOARDING","TRIALING","ACTIVE","PAST_DUE","STALE_TRIALING","DEGRADED_ALLOW","LOCKED"],"description":"Whether runs are allowed, and why. `LOCKED` refuses runs.","isRequired":true,"uniqueKey":"currentOrg.accessState","typeLabel":"enum\u003cstring>"},"lockedReason":{"oneOf":[{"type":"string","description":"Why a `LOCKED` account is locked, e.g. `onboarding_exhausted`, `past_due_expired`, `unpaid`, `canceled`, `paused`. Null otherwise.","isRequired":true,"uniqueKey":"currentOrg.lockedReason.oneOf.0","typeLabel":"string"},{"type":"null","description":"Why a `LOCKED` account is locked, e.g. `onboarding_exhausted`, `past_due_expired`, `unpaid`, `canceled`, `paused`. Null otherwise.","isRequired":true,"uniqueKey":"currentOrg.lockedReason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"currentOrg.lockedReason","typeLabel":"string | null"},"limits":{"type":"object","required":["monthlyRunLimit","monthlyBrowserMinutesLimit","monthlyLlmBudgetCents"],"properties":{"monthlyRunLimit":{"type":"integer","isRequired":true,"uniqueKey":"currentOrg.limits.monthlyRunLimit","typeLabel":"integer"},"monthlyBrowserMinutesLimit":{"type":"integer","isRequired":true,"uniqueKey":"currentOrg.limits.monthlyBrowserMinutesLimit","typeLabel":"integer"},"monthlyLlmBudgetCents":{"type":"integer","description":"Integer cents.","isRequired":true,"uniqueKey":"currentOrg.limits.monthlyLlmBudgetCents","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"currentOrg.limits","typeLabel":"object"},"role":{"type":"string","enum":["owner","admin","member","viewer"],"description":"The caller's role in this org. Present on `currentOrg` and `organization`; omitted entirely from `personalOrg`, where the caller is always the owner. A `viewer` is read-only across the whole API.","uniqueKey":"currentOrg.role","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"currentOrg","typeLabel":"MeOrganization · object"},"personalOrg":{"type":"object","title":"MeOrganization","description":"The caller's auto-provisioned personal workspace. Not necessarily the org an API key acts on.","required":["id","name","slug","kind","plan","subscriptionStatus","accessState","lockedReason","limits"],"properties":{"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"personalOrg.id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","isRequired":true,"uniqueKey":"personalOrg.name","typeLabel":"string"},"slug":{"type":"string","isRequired":true,"uniqueKey":"personalOrg.slug","typeLabel":"string"},"kind":{"type":"string","enum":["personal","team"],"isRequired":true,"uniqueKey":"personalOrg.kind","typeLabel":"enum\u003cstring>"},"plan":{"type":"string","enum":["free","starter","pro","team"],"description":"`free` means no subscription. During a trial this is the plan the trial will convert to.","isRequired":true,"uniqueKey":"personalOrg.plan","typeLabel":"enum\u003cstring>"},"subscriptionStatus":{"type":"string","enum":["none","trialing","active","past_due","unpaid","canceled","paused"],"isRequired":true,"uniqueKey":"personalOrg.subscriptionStatus","typeLabel":"enum\u003cstring>"},"accessState":{"type":"string","enum":["ONBOARDING","TRIALING","ACTIVE","PAST_DUE","STALE_TRIALING","DEGRADED_ALLOW","LOCKED"],"description":"Whether runs are allowed, and why. `LOCKED` refuses runs.","isRequired":true,"uniqueKey":"personalOrg.accessState","typeLabel":"enum\u003cstring>"},"lockedReason":{"oneOf":[{"type":"string","description":"Why a `LOCKED` account is locked, e.g. `onboarding_exhausted`, `past_due_expired`, `unpaid`, `canceled`, `paused`. Null otherwise.","isRequired":true,"uniqueKey":"personalOrg.lockedReason.oneOf.0","typeLabel":"string"},{"type":"null","description":"Why a `LOCKED` account is locked, e.g. `onboarding_exhausted`, `past_due_expired`, `unpaid`, `canceled`, `paused`. Null otherwise.","isRequired":true,"uniqueKey":"personalOrg.lockedReason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"personalOrg.lockedReason","typeLabel":"string | null"},"limits":{"type":"object","required":["monthlyRunLimit","monthlyBrowserMinutesLimit","monthlyLlmBudgetCents"],"properties":{"monthlyRunLimit":{"type":"integer","isRequired":true,"uniqueKey":"personalOrg.limits.monthlyRunLimit","typeLabel":"integer"},"monthlyBrowserMinutesLimit":{"type":"integer","isRequired":true,"uniqueKey":"personalOrg.limits.monthlyBrowserMinutesLimit","typeLabel":"integer"},"monthlyLlmBudgetCents":{"type":"integer","description":"Integer cents.","isRequired":true,"uniqueKey":"personalOrg.limits.monthlyLlmBudgetCents","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"personalOrg.limits","typeLabel":"object"},"role":{"type":"string","enum":["owner","admin","member","viewer"],"description":"The caller's role in this org. Present on `currentOrg` and `organization`; omitted entirely from `personalOrg`, where the caller is always the owner. A `viewer` is read-only across the whole API.","uniqueKey":"personalOrg.role","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"personalOrg","typeLabel":"MeOrganization · object"}},"uniqueKey":"","typeLabel":"MeResponse · object"},"examples":{"Example":{"title":"Example","value":{"user":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","email":"jsmith@example.com","name":"\u003cstring>","imageUrl":"\u003cstring>"},"organization":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>","slug":"\u003cstring>","kind":"personal","plan":"free","subscriptionStatus":"none","accessState":"ONBOARDING","lockedReason":"\u003cstring>","limits":{"monthlyRunLimit":123,"monthlyBrowserMinutesLimit":123,"monthlyLlmBudgetCents":123},"role":"owner"},"currentOrg":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>","slug":"\u003cstring>","kind":"personal","plan":"free","subscriptionStatus":"none","accessState":"ONBOARDING","lockedReason":"\u003cstring>","limits":{"monthlyRunLimit":123,"monthlyBrowserMinutesLimit":123,"monthlyLlmBudgetCents":123},"role":"owner"},"personalOrg":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>","slug":"\u003cstring>","kind":"personal","plan":"free","subscriptionStatus":"none","accessState":"ONBOARDING","lockedReason":"\u003cstring>","limits":{"monthlyRunLimit":123,"monthlyBrowserMinutesLimit":123,"monthlyLlmBudgetCents":123},"role":"owner"}}}},"exampleType":"generated"}},"exampleType":"generated"},"c9ad028d-4434-4f10-b9d2-a5921718ef7c":{"description":"No `Authorization: Bearer …` header, or the credential did not\nverify. Distinct messages the code can return:\n\n* `Missing or invalid Authorization header`\n* `Invalid or revoked API key`\n* `API key owner not found`\n* `API key's organization is no longer accessible`. The key's user\n has been removed from the org it is bound to\n* `Invalid token` / `Token missing sub claim`. Clerk JWT path\n\nRepeated failures burn the `auth:strict` bucket (5 per 15 minutes\nper IP) and then return `429` instead.\n","content":{"application/json":{"schema":{"type":"object","title":"Error","description":"The universal error envelope. Every failing handler in this surface responds with a JSON object carrying a human-readable `error` string; some add extra fields (see the other error schemas).","required":["error"],"properties":{"error":{"type":"string","description":"Human-readable message. Not a stable machine-readable code.","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"","typeLabel":"Error · object"},"example":{"error":"Invalid or revoked API key"},"examples":{"Example":{"title":"Example","value":{"error":"Invalid or revoked API key"}}},"exampleType":"examples"}},"exampleType":"examples"},"2af89f95-061e-4cbb-91f1-dcab7b250f9d":{"description":"Throttled. Every `/api/*` route sits behind `api:global` (600 / minute per IP); some routes add a tighter per-user limiter.","headers":{"Retry-After":{"description":"Seconds until the window frees up.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","title":"RateLimitError","description":"Emitted by the rate-limit middleware alongside a `Retry-After` header.","required":["error"],"properties":{"error":{"type":"string","description":"The limiter's reason, e.g. `Rate limit exceeded. Try again in 42s.`","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"retryAfter":{"oneOf":[{"type":"integer","description":"Seconds until the window frees. Mirrors `Retry-After`. May be absent/null when the limiter did not report a reset time, in which case the header defaults to 60.","uniqueKey":"retryAfter.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Seconds until the window frees. Mirrors `Retry-After`. May be absent/null when the limiter did not report a reset time, in which case the header defaults to 60.","uniqueKey":"retryAfter.oneOf.1","typeLabel":"null"}],"uniqueKey":"retryAfter","typeLabel":"integer | null"}},"additionalProperties":true,"uniqueKey":"","typeLabel":"RateLimitError · object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","retryAfter":123}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"4f663f42-53ef-43f8-9ebc-522380e16f2b":{"ApiKeyAuth":{"type":"http","scheme":"bearer","bearerFormat":"tst_live_\u003c32 url-safe base64 chars>","description":"Send `Authorization: Bearer tst_live_…`.\n\nFormat (`services/api-keys.ts`): the literal prefix `tst_live_`\nfollowed by 24 random bytes rendered as 32 base64url characters.\nOnly the SHA-256 hash is stored server-side. The shape check that\nroutes a token down the API-key path rather than the Clerk JWT path\nrequires the `tst_live_` prefix and a total length of at least 25\ncharacters.\n\nKeys are minted in the dashboard at `/settings/api-keys`, in any\nworkspace, personal included. The same header also accepts a Clerk\nsession JWT, which is how the web app authenticates, but the JWT path\nis out of scope for this document.\n","scopes":[]}}},"servers":{"d4db3c55-f4bc-46f2-9432-5f123e333c25":{"url":"https://app.testorim.com","description":"Production. Single-origin deployment: Caddy on one GCP VM serves the SPA at `/` and reverse-proxies `/api/*` and `/ws` to the backend. This is also the default API base URL used by the Testorim CLI."},"7ea51c90-14cf-4c02-9601-e57633a5e03f":{"url":"http://localhost:3001","description":"A locally running Testorim backend, for self-hosted or development use. The default port is 3001."}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"tst_live_\u003c32 url-safe base64 chars>","description":"Send `Authorization: Bearer tst_live_…`.\n\nFormat (`services/api-keys.ts`): the literal prefix `tst_live_`\nfollowed by 24 random bytes rendered as 32 base64url characters.\nOnly the SHA-256 hash is stored server-side. The shape check that\nroutes a token down the API-key path rather than the Clerk JWT path\nrequires the `tst_live_` prefix and a total length of at least 25\ncharacters.\n\nKeys are minted in the dashboard at `/settings/api-keys`, in any\nworkspace, personal included. The same header also accepts a Clerk\nsession JWT, which is how the web app authenticates, but the JWT path\nis out of scope for this document.\n","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Send `Authorization: Bearer tst_live_…`.\n\nFormat (`services/api-keys.ts`): the literal prefix `tst_live_`\nfollowed by 24 random bytes rendered as 32 base64url characters.\nOnly the SHA-256 hash is stored server-side. The shape check that\nroutes a token down the API-key path rather than the Clerk JWT path\nrequires the `tst_live_` prefix and a total length of at least 25\ncharacters.\n\nKeys are minted in the dashboard at `/settings/api-keys`, in any\nworkspace, personal included. The same header also accepts a Clerk\nsession JWT, which is how the web app authenticates, but the JWT path\nis out of scope for this document.\n","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"ApiKeyAuth","name":"Authorization"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"api-reference/openapi.yaml"},"subdomain":"fulgic","siteName":"Testorim","title":"Identify the presented credential - Testorim","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-25T12:52:51.911Z","originalFileLocation":"api-reference/identity/identify-the-presented-credential.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=\"Returns the user the credential belongs to plus the active and personal organizations. The cheapest way to validate a key. This is exactly what testorim login calls before it writes the key to ~/.testorim/config.json. For an API key, currentOrg is always the organization the key is bound to. organization is a backwards-compatible alias of currentOrg with identical content.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Testorim\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/fulgic/HlhB1s7g4HMZVSXy/_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/fulgic/HlhB1s7g4HMZVSXy/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/fulgic/HlhB1s7g4HMZVSXy/_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/fulgic/HlhB1s7g4HMZVSXy/_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/fulgic/HlhB1s7g4HMZVSXy/_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/fulgic/HlhB1s7g4HMZVSXy/_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/fulgic/HlhB1s7g4HMZVSXy/_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/fulgic/HlhB1s7g4HMZVSXy/_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/fulgic/HlhB1s7g4HMZVSXy/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Identify the presented credential - Testorim\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns the user the credential belongs to plus the active and personal organizations. The cheapest way to validate a key. This is exactly what testorim login calls before it writes the key to ~/.testorim/config.json. For an API key, currentOrg is always the organization the key is bound to. organization is a backwards-compatible alias of currentOrg with identical content.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Testorim\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.testorim.com/api-reference/identity/identify-the-presented-credential\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://fulgic.mintlify.site/_mintlify/api/og/v2?division=Identity\u0026amp;title=Identify+the+presented+credential\u0026amp;description=Returns+the+user+the+credential+belongs+to+plus+the+active+and+personal+organizations.+The+cheapest+way+to+validate+a+key.+This+is+exactly+what+%60testorim+login%60\u0026amp;theme=21e417d08933df01149b8e86\u0026amp;signature=d148f403b0a436bd10298b79cb2ba16dce7eaeab686ecf62309d2de8421a0f5c\">\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=\"Identify the presented credential - Testorim\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns the user the credential belongs to plus the active and personal organizations. The cheapest way to validate a key. This is exactly what testorim login calls before it writes the key to ~/.testorim/config.json. For an API key, currentOrg is always the organization the key is bound to. organization is a backwards-compatible alias of currentOrg with identical content.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://fulgic.mintlify.site/_mintlify/api/og/v2?division=Identity\u0026amp;title=Identify+the+presented+credential\u0026amp;description=Returns+the+user+the+credential+belongs+to+plus+the+active+and+personal+organizations.+The+cheapest+way+to+validate+a+key.+This+is+exactly+what+%60testorim+login%60\u0026amp;theme=21e417d08933df01149b8e86\u0026amp;signature=d148f403b0a436bd10298b79cb2ba16dce7eaeab686ecf62309d2de8421a0f5c\">\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/fulgic/HlhB1s7g4HMZVSXy/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Testorim\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#059669\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.testorim.com/api-reference/identity/identify-the-presented-credential\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/identity/identify-the-presented-credential.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.testorim.com/#organization\",\"name\":\"Testorim\",\"url\":\"https://docs.testorim.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/fulgic/ZOzvtyg298rAaunK/logo/wordmark.png?fit=max\u0026auto=format\u0026n=ZOzvtyg298rAaunK\u0026q=85\u0026s=c49b84c50b62f2ccafcc2660391619e7\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.testorim.com#website\",\"name\":\"Testorim\",\"url\":\"https://docs.testorim.com\",\"publisher\":{\"@id\":\"https://docs.testorim.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.testorim.com/api-reference/identity/identify-the-presented-credential#webpage\",\"url\":\"https://docs.testorim.com/api-reference/identity/identify-the-presented-credential\",\"name\":\"Identify the presented credential\",\"description\":\"Returns the user the credential belongs to plus the active and personal organizations. The cheapest way to validate a key. This is exactly what testorim login calls before it writes the key to ~/.testorim/config.json. For an API key, currentOrg is always the organization the key is bound to. organization is a backwards-compatible alias of currentOrg with identical content.\",\"dateModified\":\"2026-09-25T12:52:51.911Z\",\"isPartOf\":{\"@id\":\"https://docs.testorim.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.testorim.com/api-reference/identity/identify-the-presented-credential#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.testorim.com/api-reference/identity/identify-the-presented-credential#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.testorim.com/api-reference/runs/start-a-test-run-headlessly\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Identify the presented credential\",\"item\":\"https://docs.testorim.com/api-reference/identity/identify-the-presented-credential\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.testorim.com/api-reference/identity/identify-the-presented-credential#apireference\",\"headline\":\"Identify the presented credential\",\"name\":\"Identify the presented credential\",\"description\":\"Returns the user the credential belongs to plus the active and personal organizations. The cheapest way to validate a key. This is exactly what testorim login calls before it writes the key to ~/.testorim/config.json. For an API key, currentOrg is always the organization the key is bound to. organization is a backwards-compatible alias of currentOrg with identical content.\",\"url\":\"https://docs.testorim.com/api-reference/identity/identify-the-presented-credential\",\"mainEntityOfPage\":{\"@id\":\"https://docs.testorim.com/api-reference/identity/identify-the-presented-credential#webpage\"},\"dateModified\":\"2026-09-25T12:52:51.911Z\",\"publisher\":{\"@id\":\"https://docs.testorim.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.testorim.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Testorim\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Testorim","nav":{"global":{"anchors":[{"anchor":"Testorim app","icon":"monitor","href":"https://app.testorim.com"},{"anchor":"Website","icon":"globe","href":"https://testorim.com"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"Developers","pages":[{"title":"Developers","href":"/developers/platform-overview"}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"title":"API reference","href":"/api-reference/introduction"},{"title":"Errors","href":"/api-reference/errors"}]},{"group":"Endpoints","pages":[{"group":"Runs","pages":[{"title":"Start a test run headlessly","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/runs/trigger","href":"/api-reference/runs/start-a-test-run-headlessly"},{"title":"List runs across the organization","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/runs","href":"/api-reference/runs/list-runs-across-the-organization"},{"title":"List in-flight runs, grouped by batch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/runs/active","href":"/api-reference/runs/list-in-flight-runs-grouped-by-batch"},{"title":"Get one run with all artifacts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/runs/{id}","href":"/api-reference/runs/get-one-run-with-all-artifacts"},{"title":"Cancel a single run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/runs/{id}/cancel","href":"/api-reference/runs/cancel-a-single-run"},{"title":"Cancel every run in a batch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/runs/batch/{batchId}/cancel","href":"/api-reference/runs/cancel-every-run-in-a-batch"},{"title":"List runs for one project","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/projects/{projectId}/runs","href":"/api-reference/runs/list-runs-for-one-project"}]},{"group":"Procedures","pages":[{"title":"List a project's saved procedures","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/projects/{projectId}/procedures","href":"/api-reference/procedures/list-a-projects-saved-procedures"},{"title":"Get one procedure by id","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/procedures/{id}","href":"/api-reference/procedures/get-one-procedure-by-id"},{"title":"Export a procedure as a standalone Playwright spec","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/procedures/{id}/export","href":"/api-reference/procedures/export-a-procedure-as-a-standalone-playwright-spec"}]},{"group":"Projects","pages":[{"title":"List projects","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/projects","href":"/api-reference/projects/list-projects"},{"title":"Create (or re-use) a project","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/projects","href":"/api-reference/projects/create-or-re-use-a-project"},{"title":"Get one project","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/projects/{id}","href":"/api-reference/projects/get-one-project"}]},{"group":"API keys","pages":[{"title":"List active API keys","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/keys","href":"/api-reference/api-keys/list-active-api-keys"},{"title":"Mint a new API key (browser session only)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/keys","href":"/api-reference/api-keys/mint-a-new-api-key-browser-session-only"},{"title":"Revoke an API key","description":"Soft-revokes the key by stamping `revokedAt`; the row survives so\naudit references stay resolvable. Authentication rejects a revoked\nkey immediately afterwards.\n\nThe update is scoped to keys owned by the calling user **and** not\nalready revoked. A key that does not exist, belongs to someone else,\nor was already revoked all return the same `404`. The handler\ndeliberately does not distinguish them.\n\nRevoking the key you are currently authenticating with is allowed and\ntakes effect on the next request.\n","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /api/keys/{id}","href":"/api-reference/api-keys/revoke-an-api-key"}]},{"group":"Identity","pages":[{"title":"Identify the presented credential","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/me","href":"/api-reference/identity/identify-the-presented-credential"}]}]}]}]},"basePath":"","title":"Identify the presented credential - Testorim","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C-hEh3I2.js","utils-CnF4QiUD.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C7PVNbel.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-8ytevL2A.js","snippetPresets-BT1alx3v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BLXC0i_W.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CyLIGI9_.js","shallow-DC0lGVIW.js","getApiPlaygroundDisplay-CgDQ85tN.js","CodeSnippet-6-I-Gpv9.js","CodeSnippets-BAk1kDdu.js","Page-C945cI-W.js","getPastedJson-B276RuWN.js","icon-BqP8etTm.js","MethodPill-DM6sbxG1.js","DuplicateIcon-PyJglOaE.js","createIcon-CMeOMAc_.js","DynamicMarkdown-BoyYAA8K.js","SectionHeading-DAYv3gvZ.js","axios-vUo_bRtp.js","Markdown-BhTTmazV.js","clsx-CR-RHrVC.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CBUH0-zX.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BmARFYNC.js"]}