Update an existing API key. Authenticate with a management key.
Set workspace_id to move the key to another workspace.
The request body accepts only the fields listed below, and unrecognized fields are ignored. If the body contains none of the accepted fields, the request fails with 400 and the message No update fields provided.
New limit reset type for the API key (daily, weekly, monthly, or null for no reset). Resets happen automatically at midnight UTC, and weeks are Monday through Sunday.
Available options:
daily,
weekly,
monthly,
null
Example:
"daily"
name
string
New name for the API key
Required string length: 1 - 256
Example:
"Updated API Key Name"
workspace_id
string
Move the API key to this workspace. The key keeps its value; guardrail selections move with it, while other workspace-scoped settings (presets, BYOK keys, broadcast destinations, routing rules) do not. Sending the key's current workspace is a no-op.
memory_off
boolean
Memory off, for an app rather than a coding agent: requests under the key are sent as written, with no memory and no added tokens, even with tools, as OpenRouter would send them. Can be changed at any time.
Example:
false
jobs
boolean
Jobs permission (nemonist): the key may submit, rerun, run, cancel and upload with the cluster jobs tool. Off on a new key unless set true; a management key never has it; keys made before Nov 18 2026 keep it. Reading job status, logs and outputs needs no permission. Can be changed at any time.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"nemonist","description":"Memory and learning for your coding agent, behind one OpenRouter-compatible URL.","colors":{"primary":"#6366f1","light":"#818cf8","dark":"#4f46e5"},"logo":{"light":"https://mintcdn.com/nemonist/O63iSHDIbHFIFLsR/logo/light.svg?fit=max\u0026auto=format\u0026n=O63iSHDIbHFIFLsR\u0026q=85\u0026s=78e0f2fecc2ad48dcf82fc4287a5dc8d","dark":"https://mintcdn.com/nemonist/O63iSHDIbHFIFLsR/logo/dark.svg?fit=max\u0026auto=format\u0026n=O63iSHDIbHFIFLsR\u0026q=85\u0026s=f51164f7521678900239881a908c13c6","href":"https://nemonist.com/"},"favicon":"https://mintcdn.com/nemonist/O63iSHDIbHFIFLsR/favicon.svg?fit=max\u0026auto=format\u0026n=O63iSHDIbHFIFLsR\u0026q=85\u0026s=b2688a9b65db5595cb13ad19c8f25c5a","api":{"playground":{"display":"interactive"},"examples":{"languages":["curl","python","javascript"]}},"background":{"color":{"light":"#ffffff","dark":"#09090b"}},"navbar":{"links":[{"href":"https://nemonist.com/pricing","label":"Pricing"},{"href":"https://nemonist.com/models","label":"Models"}],"primary":{"type":"button","label":"Sign in","href":"https://nemonist.com/#signin"}},"footer":{"links":[{"header":"nemonist","items":[{"label":"Docs","href":"https://nemonist.com/docs"},{"label":"Pricing","href":"https://nemonist.com/pricing"},{"label":"Models","href":"https://nemonist.com/models"},{"label":"Providers","href":"https://nemonist.com/providers"},{"label":"Status","href":"https://nemonist.com/status"},{"label":"Privacy","href":"https://nemonist.com/privacy"},{"label":"Terms","href":"https://nemonist.com/terms"},{"label":"Support","href":"https://nemonist.com/support"}]}]},"seo":{"metatags":{"canonical":"https://nemonist.com/docs"}},"fonts":{"family":"Inter Variable","source":"https://nemonist.com/docs/fonts/inter.woff2","format":"woff2"},"contextual":{"options":["copy","view","chatgpt","claude","cursor"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"nemonist","hasAudioNarration":false,"actualSubdomain":"nemonist","customDomains":["nemonist.com"],"gitSource":{"type":"github","owner":"ntwins-internal","repo":"nemonist-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6adbe103c87e3d756f7d1643"},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6afe0e0df413882676535db2","clientVersion":"0.0.4205","searchFilterCounts":[{"language":"default","tag":"API Reference","count":132},{"language":"default","tag":"Folders","count":48},{"language":"default","tag":"Docs","count":21},{"language":"default","tag":"Clients","count":18},{"language":"default","tag":"Workspaces","count":12},{"language":"default","tag":"Concepts","count":10},{"language":"default","tag":"Guardrails","count":9},{"language":"default","tag":"Private Endpoints","count":9},{"language":"default","tag":"Model runs","count":8},{"language":"default","tag":"Enterprise","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"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":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"nemonist.css","content":"@font-face{font-family:\"JetBrains Mono Variable\";font-style:normal;font-display:swap;font-weight:100 900;src:url(\"https://nemonist.com/docs/fonts/jetbrains-mono.woff2\") format(\"woff2\")}code,pre,kbd,samp{font-family:\"JetBrains Mono Variable\", \"JetBrains Mono\", ui-monospace, SFMono-Regular, Menlo, monospace!important}h1,h2,h3,h4{font-family:\"Inter Tight Variable\", \"Inter Variable\", \"Inter\", ui-sans-serif, system-ui, sans-serif;letter-spacing:-.025em}#navbar img,pre,[class*=\"code-block\"]{box-shadow:none!important;filter:none!important}:root{--nm-bg: #ffffff;--nm-text: #09090b;--nm-text-muted: #71717a;--nm-text-faint: #a1a1aa;--nm-border: #e4e4e7;--nm-surface-hover: #f4f4f5}html.dark{--nm-bg: #09090b;--nm-text: #fafafa;--nm-text-muted: #a1a1aa;--nm-text-faint: #71717a;--nm-border: #27272a;--nm-surface-hover: #1c1c21}#navbar #navbar-transition{background:color-mix(in srgb, var(--nm-bg) 82%, transparent)!important;backdrop-filter:saturate(1.5) blur(12px);border-bottom:1px solid var(--nm-border)!important}#navbar .h-16{height:60px}#navbar .h-16>div{border-bottom:0!important}#navbar .nav-logo.h-7{height:22px!important}#navbar nav a,#navbar .nav-tabs a{font-size:13px;font-weight:500}#topbar-cta-button a{height:36px;padding:0 16px!important;border-radius:8px;font-size:13px;font-weight:500}#topbar-cta-button a>span:first-child{background:transparent!important;border-radius:inherit;transition:background var(--transition, 120ms ease)}#topbar-cta-button a:hover>span:first-child{background:var(--nm-surface-hover)!important}#topbar-cta-button a,#topbar-cta-button a .text-white,#topbar-cta-button a svg{color:var(--nm-text-muted)!important}#topbar-cta-button a:hover .text-white{color:var(--nm-text)!important}#topbar-cta-button a svg{display:none}html.nm-signed-in #topbar-cta-button a>span:first-child{background:var(--nm-text)!important}html.nm-signed-in #topbar-cta-button a,html.nm-signed-in #topbar-cta-button a .text-white{color:var(--nm-bg)!important}html.nm-signed-in #topbar-cta-button a:hover>span:first-child{background:var(--nm-text)!important;opacity:.85}#navbar nav:has(#topbar-cta-button),#navbar nav:has(#topbar-cta-button)>ul{display:contents}#navbar div:has(>#theme-preference-menu-trigger){order:1;margin-left:24px}#topbar-cta-button{order:2;margin-left:8px!important}#search-bar-entry,#assistant-entry{border-radius:8px!important}#footer{border-top:1px solid var(--nm-border)!important;font-size:13px;color:var(--nm-text-faint)}#footer>div{max-width:1120px!important;padding:24px 24px!important;gap:0!important}#footer>div>div:first-child{flex-direction:row!important;align-items:center}#footer>div>div:first-child>div:first-child{min-width:0!important;gap:0!important;flex-direction:row!important;align-items:center!important}#footer .nav-logo{height:18px!important}#footer>div>div:first-child>div:first-child::after{content:\"\\00a9 2026 nTwins, Inc.\";margin-left:12px;white-space:nowrap}#footer>div>div:first-child>div:last-child>div>div{flex-direction:row!important;justify-content:flex-start!important;flex-wrap:wrap;gap:8px 24px!important}#footer>div>div:first-child{flex-wrap:wrap;gap:16px!important}#footer>div>div:first-child>div:last-child{flex:0 1 auto!important;max-width:100%!important;display:flex!important}#footer a.text-sm{font-size:13px!important;color:var(--nm-text-muted)!important}#footer a.text-sm:hover{color:var(--nm-text)!important}#footer>div>div:nth-child(2),#footer>div>div:nth-child(3){display:none!important}#page-title{font-size:28px!important;font-weight:640!important;letter-spacing:-.03em!important;line-height:1.15!important}#page-title,#content h2,#content h3,#content h4{color:var(--nm-text)!important}#content{font-size:15px;line-height:1.6}#content h2{font-size:20px;font-weight:600}#content h3{font-size:16px;font-weight:600}#sidebar a{font-size:14px;border-radius:6px!important}#sidebar a[aria-current=page]{background:var(--nm-surface-hover)!important;color:var(--nm-text)!important;font-weight:500;text-shadow:none!important}"}],"page":{"pagePath":"api-reference/api-keys/update-an-api-key","slug":"/api-reference/api-keys/update-an-api-key","pageMetadata":{"title":"Update an API key","description":"Update an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys).\n\nSet `workspace_id` to move the key to another workspace.\n\n\u003cWarning>\nThe request body accepts only the fields listed below, and unrecognized fields are ignored. If the body contains none of the accepted fields, the request fails with `400` and the message `No update fields provided`.\n\u003c/Warning>","deprecated":null,"version":null,"openapi":"/openapi.json patch /keys/{hash}","href":"/api-reference/api-keys/update-an-api-key","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n }, {Warning} = _components;\n if (!Warning) _missingMdxReference(\"Warning\", true);\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Update an existing API key. Authenticate with a \", _jsx(_components.a, {\n href: \"/docs/guides/overview/auth/management-api-keys\",\n children: \"management key\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Set \", _jsx(_components.code, {\n children: \"workspace_id\"\n }), \" to move the key to another workspace.\"]\n }), \"\\n\", _jsx(Warning, {\n children: _jsxs(_components.p, {\n children: [\"The request body accepts only the fields listed below, and unrecognized fields are ignored. If the body contains none of the accepted fields, the request fails with \", _jsx(_components.code, {\n children: \"400\"\n }), \" and the message \", _jsx(_components.code, {\n children: \"No update fields provided\"\n }), \".\"]\n })\n })]\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};\nfunction _missingMdxReference(id, component) {\n throw new Error(\"Expected \" + (component ? \"component\" : \"object\") + \" `\" + id + \"` to be defined: you likely forgot to import, pass, or provide it.\");\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":"Update an API key","description":"Update an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys).\n\nSet `workspace_id` to move the key to another workspace.\n\n\u003cWarning>\nThe request body accepts only the fields listed below, and unrecognized fields are ignored. If the body contains none of the accepted fields, the request fails with `400` and the message `No update fields provided`.\n\u003c/Warning>","deprecated":null,"version":null,"openapi":"/openapi.json patch /keys/{hash}","href":"/api-reference/api-keys/update-an-api-key","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/nemonist/5b5d33ba16a44814/nemonist.js"],"openApiReferenceData":{"operation":{"description":"Update an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys).\n\nSet `workspace_id` to move the key to another workspace.\n\n\u003cWarning>\nThe request body accepts only the fields listed below, and unrecognized fields are ignored. If the body contains none of the accepted fields, the request fails with `400` and the message `No update fields provided`.\n\u003c/Warning>","operationId":"updateKeys","parameters":["a8302ec7-f491-4d14-b5d8-34d91fb7b84b"],"requestBody":"f57d4b91-0381-4d7b-8df8-a8d5f5769822","responses":{"200":"4cfdcb43-5aa6-4a30-b37e-665501ee767e","400":"4b621b56-6674-4e0d-98a8-5015d8b7b3fa","401":"c2b654cd-fe32-44de-8548-5d83f9b6b343","403":"88816120-bc05-46a6-91af-18fe5a5a38d3","404":"e9dc8212-c051-4034-9d39-09a6e0901cc1","409":"6e1e7654-6ed6-4a26-8ad2-d51b0915ff0e","429":"a7238886-943d-4642-8571-66a04b7e11f3","500":"a71d2632-e200-48e4-974f-498f84250146","503":"3356a2c3-e5ea-4948-9561-c9ef12f51610"},"summary":"Update an API key","tags":["API Keys"],"x-speakeasy-name-override":"update","method":"patch","type":"path","servers":["f904a986-b1a7-4390-beb0-f994b9f6d9ad"],"security":["5c64c600-8820-448c-b999-87c9f6ba628f"],"path":"/keys/{hash}","baseUrlOptions":["https://nemonist.com/api/v1"],"title":"Update an API key","codeSamples":[],"requestExampleLanguages":["bash","python","javascript"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"a8302ec7-f491-4d14-b5d8-34d91fb7b84b":{"description":"The hash identifier of the API key to update","in":"path","name":"hash","required":true,"schema":{"description":"The hash identifier of the API key to update","example":"f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943","type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"145652db-a9bc-4ceb-9fd4-59a0317e0005":{"name":"HTTP-Referer","in":"header","schema":{"type":"string","description":"The app identifier should be your app's URL and is used as the primary identifier for rankings.\nThis is used to track API usage per application.\n","uniqueKey":"","typeLabel":"string"},"description":"The app identifier should be your app's URL and is used as the primary identifier for rankings.\nThis is used to track API usage per application.\n"},"45e4ba36-daf9-46cd-8d87-5ce30a757be9":{"name":"X-OpenRouter-Title","in":"header","x-speakeasy-name-override":"appTitle","schema":{"type":"string","description":"The app display name allows you to customize how your app appears in OpenRouter's dashboard.\n","uniqueKey":"","typeLabel":"string"},"description":"The app display name allows you to customize how your app appears in OpenRouter's dashboard.\n"},"6ce7309a-270a-47f8-93d8-77c55ead499a":{"name":"X-OpenRouter-Categories","in":"header","x-speakeasy-name-override":"appCategories","schema":{"type":"string","description":"Comma-separated list of app categories (e.g. \"cli-agent,cloud-agent\"). Used for marketplace rankings.\n","uniqueKey":"","typeLabel":"string"},"description":"Comma-separated list of app categories (e.g. \"cli-agent,cloud-agent\"). Used for marketplace rankings.\n"}},"requestBody":{"content":{"application/json":{"example":{"disabled":false,"include_byok_in_limit":true,"limit":75,"limit_reset":"daily","name":"Updated API Key Name"},"schema":{"example":{"disabled":false,"include_byok_in_limit":true,"limit":75,"limit_reset":"daily","name":"Updated API Key Name"},"properties":{"disabled":{"description":"Whether to disable the API key","example":false,"type":"boolean","uniqueKey":"disabled","typeLabel":"boolean"},"include_byok_in_limit":{"description":"Whether to include BYOK usage in the limit","example":true,"type":"boolean","uniqueKey":"include_byok_in_limit","typeLabel":"boolean"},"limit":{"oneOf":[{"description":"New spending limit for the API key in USD","example":75,"exclusiveMaximum":1000000,"format":"double","minimum":0,"type":"number","uniqueKey":"limit.oneOf.0","typeLabel":"number\u003cdouble>"},{"description":"New spending limit for the API key in USD","example":75,"exclusiveMaximum":1000000,"format":"double","minimum":0,"type":"null","uniqueKey":"limit.oneOf.1","typeLabel":"null"}],"uniqueKey":"limit","typeLabel":"number\u003cdouble> | null"},"limit_reset":{"oneOf":[{"description":"New limit reset type for the API key (daily, weekly, monthly, or null for no reset). Resets happen automatically at midnight UTC, and weeks are Monday through Sunday.","enum":["daily","weekly","monthly",null],"example":"daily","type":"string","x-speakeasy-unknown-values":"allow","uniqueKey":"limit_reset.oneOf.0","typeLabel":"enum\u003cstring>"},{"description":"New limit reset type for the API key (daily, weekly, monthly, or null for no reset). Resets happen automatically at midnight UTC, and weeks are Monday through Sunday.","enum":["daily","weekly","monthly",null],"example":"daily","type":"null","x-speakeasy-unknown-values":"allow","uniqueKey":"limit_reset.oneOf.1","typeLabel":"null"}],"uniqueKey":"limit_reset","typeLabel":"enum\u003cstring> | null"},"name":{"description":"New name for the API key","example":"Updated API Key Name","maxLength":256,"minLength":1,"type":"string","uniqueKey":"name","typeLabel":"string"},"workspace_id":{"description":"Move the API key to this workspace. The key keeps its value; guardrail selections move with it, while other workspace-scoped settings (presets, BYOK keys, broadcast destinations, routing rules) do not. Sending the key's current workspace is a no-op.","type":"string","uniqueKey":"workspace_id","typeLabel":"string"},"memory_off":{"type":"boolean","example":false,"description":"Memory off, for an app rather than a coding agent: requests under the key are sent as written, with no memory and no added tokens, even with tools, as OpenRouter would send them. Can be changed at any time.","uniqueKey":"memory_off","typeLabel":"boolean"},"jobs":{"type":"boolean","example":false,"description":"Jobs permission (nemonist): the key may submit, rerun, run, cancel and upload with the cluster jobs tool. Off on a new key unless set true; a management key never has it; keys made before Nov 18 2026 keep it. Reading job status, logs and outputs needs no permission. Can be changed at any time.","uniqueKey":"jobs","typeLabel":"boolean"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"disabled":false,"include_byok_in_limit":true,"limit":75,"limit_reset":"daily","name":"Updated API Key Name"}}},"exampleType":"examples"}},"required":true,"exampleType":"examples"},"responses":{"4cfdcb43-5aa6-4a30-b37e-665501ee767e":{"content":{"application/json":{"example":{"data":{"byok_usage":17.38,"byok_usage_daily":17.38,"byok_usage_monthly":17.38,"byok_usage_weekly":17.38,"created_at":"2025-08-24T10:30:00Z","creator_user_id":"user_2dHFtVWx2n56w6HkM0000000000","disabled":false,"expires_at":null,"hash":"f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943","include_byok_in_limit":true,"label":"Updated API Key Name","last_used_at":"2026-09-15T15:45:00Z","limit":75,"limit_remaining":49.5,"limit_reset":"daily","name":"Updated API Key Name","updated_at":"2025-08-24T16:00:00Z","usage":25.5,"usage_daily":25.5,"usage_monthly":25.5,"usage_weekly":25.5,"workspace_id":"0df9e665-d932-5740-b2c7-b52af166bc11"}},"schema":{"example":{"data":{"byok_usage":17.38,"byok_usage_daily":17.38,"byok_usage_monthly":17.38,"byok_usage_weekly":17.38,"created_at":"2025-08-24T10:30:00Z","creator_user_id":"user_2dHFtVWx2n56w6HkM0000000000","disabled":false,"expires_at":null,"external_user":null,"hash":"f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943","include_byok_in_limit":true,"label":"Updated API Key Name","last_used_at":"2026-09-15T15:45:00Z","limit":75,"limit_remaining":49.5,"limit_reset":"daily","name":"Updated API Key Name","updated_at":"2025-08-24T16:00:00Z","usage":25.5,"usage_daily":25.5,"usage_monthly":25.5,"usage_weekly":25.5,"workspace_id":"0df9e665-d932-5740-b2c7-b52af166bc11"}},"properties":{"data":{"description":"The updated API key information","example":{"byok_usage":17.38,"byok_usage_daily":17.38,"byok_usage_monthly":17.38,"byok_usage_weekly":17.38,"created_at":"2025-08-24T10:30:00Z","creator_user_id":"user_2dHFtVWx2n56w6HkM0000000000","disabled":false,"expires_at":"2027-12-31T23:59:59Z","external_user":null,"hash":"f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943","include_byok_in_limit":false,"label":"sk-or-v1-0e6...1c96","last_used_at":"2026-09-15T15:45:00Z","limit":100,"limit_remaining":74.5,"limit_reset":"monthly","name":"My Production Key","updated_at":"2025-08-24T15:45:00Z","usage":25.5,"usage_daily":25.5,"usage_monthly":25.5,"usage_weekly":25.5,"workspace_id":"0df9e665-d932-5740-b2c7-b52af166bc11"},"properties":{"byok_usage":{"description":"Total external BYOK usage (in USD) for the API key","example":17.38,"format":"double","type":"number","isRequired":true,"uniqueKey":"data.byok_usage","typeLabel":"number\u003cdouble>"},"byok_usage_daily":{"description":"External BYOK usage (in USD) for the current UTC day","example":17.38,"format":"double","type":"number","isRequired":true,"uniqueKey":"data.byok_usage_daily","typeLabel":"number\u003cdouble>"},"byok_usage_monthly":{"description":"External BYOK usage (in USD) for current UTC month","example":17.38,"format":"double","type":"number","isRequired":true,"uniqueKey":"data.byok_usage_monthly","typeLabel":"number\u003cdouble>"},"byok_usage_weekly":{"description":"External BYOK usage (in USD) for the current UTC week (Monday-Sunday)","example":17.38,"format":"double","type":"number","isRequired":true,"uniqueKey":"data.byok_usage_weekly","typeLabel":"number\u003cdouble>"},"created_at":{"description":"ISO 8601 timestamp of when the API key was created","example":"2025-08-24T10:30:00Z","type":"string","isRequired":true,"uniqueKey":"data.created_at","typeLabel":"string"},"creator_user_id":{"oneOf":[{"description":"The user ID of the key creator. For organization-owned keys, this is the member who created the key. For individual users, this is the user's own ID.","example":"user_2dHFtVWx2n56w6HkM0000000000","type":"string","isRequired":true,"uniqueKey":"data.creator_user_id.oneOf.0","typeLabel":"string"},{"description":"The user ID of the key creator. For organization-owned keys, this is the member who created the key. For individual users, this is the user's own ID.","example":"user_2dHFtVWx2n56w6HkM0000000000","type":"null","isRequired":true,"uniqueKey":"data.creator_user_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.creator_user_id","typeLabel":"string | null"},"disabled":{"description":"Whether the API key is disabled","example":false,"type":"boolean","isRequired":true,"uniqueKey":"data.disabled","typeLabel":"boolean"},"external_user":{"oneOf":[{"description":"Partner's end-user identifier used for attribution.","example":null,"type":"string","isRequired":true,"uniqueKey":"data.external_user.oneOf.0","typeLabel":"string"},{"description":"Partner's end-user identifier used for attribution.","example":null,"type":"null","isRequired":true,"uniqueKey":"data.external_user.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.external_user","typeLabel":"string | null"},"hash":{"description":"Unique hash identifier for the API key","example":"f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943","type":"string","isRequired":true,"uniqueKey":"data.hash","typeLabel":"string"},"include_byok_in_limit":{"description":"Whether to include external BYOK usage in the credit limit","example":false,"type":"boolean","isRequired":true,"uniqueKey":"data.include_byok_in_limit","typeLabel":"boolean"},"label":{"description":"Human-readable label for the API key","example":"sk-or-v1-0e6...1c96","type":"string","isRequired":true,"uniqueKey":"data.label","typeLabel":"string"},"last_used_at":{"oneOf":[{"description":"ISO 8601 UTC timestamp of the most recent usage recorded for the API key, or null if no usage has been recorded since the end of 2025","example":"2026-09-15T15:45:00Z","format":"date-time","type":"string","isRequired":true,"uniqueKey":"data.last_used_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"description":"ISO 8601 UTC timestamp of the most recent usage recorded for the API key, or null if no usage has been recorded since the end of 2025","example":"2026-09-15T15:45:00Z","format":"date-time","type":"null","isRequired":true,"uniqueKey":"data.last_used_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.last_used_at","typeLabel":"string\u003cdate-time> | null"},"limit":{"oneOf":[{"description":"Spending limit for the API key in USD","example":100,"format":"double","type":"number","isRequired":true,"uniqueKey":"data.limit.oneOf.0","typeLabel":"number\u003cdouble>"},{"description":"Spending limit for the API key in USD","example":100,"format":"double","type":"null","isRequired":true,"uniqueKey":"data.limit.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.limit","typeLabel":"number\u003cdouble> | null"},"limit_remaining":{"oneOf":[{"description":"Remaining spending limit in USD","example":74.5,"format":"double","type":"number","isRequired":true,"uniqueKey":"data.limit_remaining.oneOf.0","typeLabel":"number\u003cdouble>"},{"description":"Remaining spending limit in USD","example":74.5,"format":"double","type":"null","isRequired":true,"uniqueKey":"data.limit_remaining.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.limit_remaining","typeLabel":"number\u003cdouble> | null"},"limit_reset":{"oneOf":[{"description":"Type of limit reset for the API key","example":"monthly","type":"string","isRequired":true,"uniqueKey":"data.limit_reset.oneOf.0","typeLabel":"string"},{"description":"Type of limit reset for the API key","example":"monthly","type":"null","isRequired":true,"uniqueKey":"data.limit_reset.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.limit_reset","typeLabel":"string | null"},"name":{"description":"Name of the API key","example":"My Production Key","type":"string","isRequired":true,"uniqueKey":"data.name","typeLabel":"string"},"updated_at":{"oneOf":[{"description":"ISO 8601 timestamp of when the API key was last updated","example":"2025-08-24T15:45:00Z","type":"string","isRequired":true,"uniqueKey":"data.updated_at.oneOf.0","typeLabel":"string"},{"description":"ISO 8601 timestamp of when the API key was last updated","example":"2025-08-24T15:45:00Z","type":"null","isRequired":true,"uniqueKey":"data.updated_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.updated_at","typeLabel":"string | null"},"usage":{"description":"Total OpenRouter credit usage (in USD) for the API key","example":25.5,"format":"double","type":"number","isRequired":true,"uniqueKey":"data.usage","typeLabel":"number\u003cdouble>"},"usage_daily":{"description":"OpenRouter credit usage (in USD) for the current UTC day","example":25.5,"format":"double","type":"number","isRequired":true,"uniqueKey":"data.usage_daily","typeLabel":"number\u003cdouble>"},"usage_monthly":{"description":"OpenRouter credit usage (in USD) for the current UTC month","example":25.5,"format":"double","type":"number","isRequired":true,"uniqueKey":"data.usage_monthly","typeLabel":"number\u003cdouble>"},"usage_weekly":{"description":"OpenRouter credit usage (in USD) for the current UTC week (Monday-Sunday)","example":25.5,"format":"double","type":"number","isRequired":true,"uniqueKey":"data.usage_weekly","typeLabel":"number\u003cdouble>"},"workspace_id":{"description":"The workspace ID this API key belongs to.","type":"string","isRequired":true,"uniqueKey":"data.workspace_id","typeLabel":"string"},"expires_at":{"oneOf":[{"description":"ISO 8601 UTC timestamp when the API key expires, or null if no expiration","example":"2027-12-31T23:59:59Z","format":"date-time","type":"string","uniqueKey":"data.expires_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"description":"ISO 8601 UTC timestamp when the API key expires, or null if no expiration","example":"2027-12-31T23:59:59Z","format":"date-time","type":"null","uniqueKey":"data.expires_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.expires_at","typeLabel":"string\u003cdate-time> | null"},"memory_off":{"type":"boolean","example":false,"description":"Memory off, for an app rather than a coding agent: requests under the key are sent as written, with no memory and no added tokens, even with tools, as OpenRouter would send them. Can be changed at any time.","uniqueKey":"data.memory_off","typeLabel":"boolean"},"jobs":{"type":"boolean","example":false,"description":"Jobs permission (nemonist): the key may submit, rerun, run, cancel and upload with the cluster jobs tool. Off on a new key unless set true; a management key never has it; keys made before Nov 18 2026 keep it. Reading job status, logs and outputs needs no permission. Can be changed at any time.","uniqueKey":"data.jobs","typeLabel":"boolean"}},"required":["hash","name","label","disabled","limit","limit_remaining","limit_reset","include_byok_in_limit","usage","usage_daily","usage_weekly","usage_monthly","byok_usage","byok_usage_daily","byok_usage_weekly","byok_usage_monthly","created_at","updated_at","last_used_at","external_user","creator_user_id","workspace_id"],"type":"object","isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"required":["data"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"byok_usage":17.38,"byok_usage_daily":17.38,"byok_usage_monthly":17.38,"byok_usage_weekly":17.38,"created_at":"2025-08-24T10:30:00Z","creator_user_id":"user_2dHFtVWx2n56w6HkM0000000000","disabled":false,"expires_at":null,"hash":"f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943","include_byok_in_limit":true,"label":"Updated API Key Name","last_used_at":"2026-09-15T15:45:00Z","limit":75,"limit_remaining":49.5,"limit_reset":"daily","name":"Updated API Key Name","updated_at":"2025-08-24T16:00:00Z","usage":25.5,"usage_daily":25.5,"usage_monthly":25.5,"usage_weekly":25.5,"workspace_id":"0df9e665-d932-5740-b2c7-b52af166bc11"}}}},"exampleType":"examples"}},"description":"API key updated successfully","exampleType":"examples"},"4b621b56-6674-4e0d-98a8-5015d8b7b3fa":{"content":{"application/json":{"examples":{"invalid_parameters":{"title":"invalid_parameters","summary":"Invalid request parameters","value":{"error":{"code":400,"message":"Invalid request parameters"}}},"no_update_fields":{"title":"no_update_fields","summary":"No accepted fields in the request body","description":"Returned when the body contains none of the accepted fields, for example `{\"label\": \"...\"}`.","value":{"error":{"code":400,"message":"No update fields provided"}}}},"schema":{"description":"Bad Request - Invalid request parameters or malformed input","example":{"error":{"code":400,"message":"Invalid request parameters"}},"properties":{"error":{"description":"Error data for BadRequestResponse","example":{"code":400,"message":"Invalid request parameters"},"properties":{"code":{"type":"integer","description":"HTTP status of the error, the same as the response's: 400.","isRequired":true,"uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","description":"What went wrong, in words for a person; do not parse it, branch on code instead.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"metadata":{"oneOf":[{"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.metadata.oneOf.0.additionalProperties","typeLabel":"any"},"type":"object","description":"Extra detail about the error.","uniqueKey":"error.metadata.oneOf.0","typeLabel":"object"},{"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.metadata.oneOf.1.additionalProperties","typeLabel":"any"},"type":"null","description":"Extra detail about the error.","uniqueKey":"error.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.metadata","typeLabel":"object | null"}},"required":["code","message"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"openrouter_metadata":{"oneOf":[{"additionalProperties":{"oneOf":[{}],"uniqueKey":"openrouter_metadata.oneOf.0.additionalProperties","typeLabel":"any"},"type":"object","description":"OpenRouter's routing detail for the failed request.","uniqueKey":"openrouter_metadata.oneOf.0","typeLabel":"object"},{"additionalProperties":{"oneOf":[{}],"uniqueKey":"openrouter_metadata.oneOf.1.additionalProperties","typeLabel":"any"},"type":"null","description":"OpenRouter's routing detail for the failed request.","uniqueKey":"openrouter_metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"openrouter_metadata","typeLabel":"object | null"},"user_id":{"oneOf":[{"type":"string","description":"Id of the user who made the request.","uniqueKey":"user_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Id of the user who made the request.","uniqueKey":"user_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"user_id","typeLabel":"string | null"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"description":"Bad Request - Invalid request parameters or malformed input","exampleType":"examples"},"c2b654cd-fe32-44de-8548-5d83f9b6b343":{"content":{"application/json":{"example":{"error":{"code":401,"message":"Missing Authentication header"}},"schema":{"description":"Unauthorized - Authentication required or invalid credentials","example":{"error":{"code":401,"message":"Missing Authentication header"}},"properties":{"error":{"description":"Error data for UnauthorizedResponse","example":{"code":401,"message":"Missing Authentication header"},"properties":{"code":{"type":"integer","description":"HTTP status of the error, the same as the response's: 401.","isRequired":true,"uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","description":"What went wrong, in words for a person; do not parse it, branch on code instead.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"metadata":{"oneOf":[{"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.metadata.oneOf.0.additionalProperties","typeLabel":"any"},"type":"object","description":"Extra detail about the error.","uniqueKey":"error.metadata.oneOf.0","typeLabel":"object"},{"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.metadata.oneOf.1.additionalProperties","typeLabel":"any"},"type":"null","description":"Extra detail about the error.","uniqueKey":"error.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.metadata","typeLabel":"object | null"}},"required":["code","message"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"openrouter_metadata":{"oneOf":[{"additionalProperties":{"oneOf":[{}],"uniqueKey":"openrouter_metadata.oneOf.0.additionalProperties","typeLabel":"any"},"type":"object","description":"OpenRouter's routing detail for the failed request.","uniqueKey":"openrouter_metadata.oneOf.0","typeLabel":"object"},{"additionalProperties":{"oneOf":[{}],"uniqueKey":"openrouter_metadata.oneOf.1.additionalProperties","typeLabel":"any"},"type":"null","description":"OpenRouter's routing detail for the failed request.","uniqueKey":"openrouter_metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"openrouter_metadata","typeLabel":"object | null"},"user_id":{"oneOf":[{"type":"string","description":"Id of the user who made the request.","uniqueKey":"user_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Id of the user who made the request.","uniqueKey":"user_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"user_id","typeLabel":"string | null"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":401,"message":"Missing Authentication header"}}}},"exampleType":"examples"}},"description":"Unauthorized - Authentication required or invalid credentials","exampleType":"examples"},"88816120-bc05-46a6-91af-18fe5a5a38d3":{"content":{"application/json":{"example":{"error":{"code":403,"message":"Only management keys can perform this operation"}},"schema":{"description":"Forbidden - Authentication successful but insufficient permissions","example":{"error":{"code":403,"message":"Only management keys can perform this operation"}},"properties":{"error":{"description":"Error data for ForbiddenResponse","example":{"code":403,"message":"Only management keys can perform this operation"},"properties":{"code":{"type":"integer","description":"HTTP status of the error, the same as the response's: 403.","isRequired":true,"uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","description":"What went wrong, in words for a person; do not parse it, branch on code instead.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"metadata":{"oneOf":[{"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.metadata.oneOf.0.additionalProperties","typeLabel":"any"},"type":"object","description":"Extra detail about the error.","uniqueKey":"error.metadata.oneOf.0","typeLabel":"object"},{"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.metadata.oneOf.1.additionalProperties","typeLabel":"any"},"type":"null","description":"Extra detail about the error.","uniqueKey":"error.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.metadata","typeLabel":"object | null"}},"required":["code","message"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"openrouter_metadata":{"oneOf":[{"additionalProperties":{"oneOf":[{}],"uniqueKey":"openrouter_metadata.oneOf.0.additionalProperties","typeLabel":"any"},"type":"object","description":"OpenRouter's routing detail for the failed request.","uniqueKey":"openrouter_metadata.oneOf.0","typeLabel":"object"},{"additionalProperties":{"oneOf":[{}],"uniqueKey":"openrouter_metadata.oneOf.1.additionalProperties","typeLabel":"any"},"type":"null","description":"OpenRouter's routing detail for the failed request.","uniqueKey":"openrouter_metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"openrouter_metadata","typeLabel":"object | null"},"user_id":{"oneOf":[{"type":"string","description":"Id of the user who made the request.","uniqueKey":"user_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Id of the user who made the request.","uniqueKey":"user_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"user_id","typeLabel":"string | null"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":403,"message":"Only management keys can perform this operation"}}}},"exampleType":"examples"}},"description":"Forbidden - Authentication successful but insufficient permissions","exampleType":"examples"},"e9dc8212-c051-4034-9d39-09a6e0901cc1":{"content":{"application/json":{"example":{"error":{"code":404,"message":"Resource not found"}},"schema":{"description":"Not Found - Resource does not exist","example":{"error":{"code":404,"message":"Resource not found"}},"properties":{"error":{"description":"Error data for NotFoundResponse","example":{"code":404,"message":"Resource not found"},"properties":{"code":{"type":"integer","description":"HTTP status of the error, the same as the response's: 404.","isRequired":true,"uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","description":"What went wrong, in words for a person; do not parse it, branch on code instead.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"metadata":{"oneOf":[{"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.metadata.oneOf.0.additionalProperties","typeLabel":"any"},"type":"object","description":"Extra detail about the error.","uniqueKey":"error.metadata.oneOf.0","typeLabel":"object"},{"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.metadata.oneOf.1.additionalProperties","typeLabel":"any"},"type":"null","description":"Extra detail about the error.","uniqueKey":"error.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.metadata","typeLabel":"object | null"}},"required":["code","message"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"openrouter_metadata":{"oneOf":[{"additionalProperties":{"oneOf":[{}],"uniqueKey":"openrouter_metadata.oneOf.0.additionalProperties","typeLabel":"any"},"type":"object","description":"OpenRouter's routing detail for the failed request.","uniqueKey":"openrouter_metadata.oneOf.0","typeLabel":"object"},{"additionalProperties":{"oneOf":[{}],"uniqueKey":"openrouter_metadata.oneOf.1.additionalProperties","typeLabel":"any"},"type":"null","description":"OpenRouter's routing detail for the failed request.","uniqueKey":"openrouter_metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"openrouter_metadata","typeLabel":"object | null"},"user_id":{"oneOf":[{"type":"string","description":"Id of the user who made the request.","uniqueKey":"user_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Id of the user who made the request.","uniqueKey":"user_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"user_id","typeLabel":"string | null"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":404,"message":"Resource not found"}}}},"exampleType":"examples"}},"description":"Not Found - Resource does not exist","exampleType":"examples"},"6e1e7654-6ed6-4a26-8ad2-d51b0915ff0e":{"content":{"application/json":{"example":{"error":{"code":409,"message":"The API key creator is not a member of the target workspace. Add them to the workspace, then retry."}},"schema":{"description":"Conflict - Resource conflict or concurrent modification","example":{"error":{"code":409,"message":"Resource conflict. Please try again later."}},"properties":{"error":{"description":"Error data for ConflictResponse","example":{"code":409,"message":"Resource conflict. Please try again later."},"properties":{"code":{"type":"integer","description":"HTTP status of the error, the same as the response's: 409.","isRequired":true,"uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","description":"What went wrong, in words for a person; do not parse it, branch on code instead.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"metadata":{"oneOf":[{"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.metadata.oneOf.0.additionalProperties","typeLabel":"any"},"type":"object","description":"Extra detail about the error.","uniqueKey":"error.metadata.oneOf.0","typeLabel":"object"},{"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.metadata.oneOf.1.additionalProperties","typeLabel":"any"},"type":"null","description":"Extra detail about the error.","uniqueKey":"error.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.metadata","typeLabel":"object | null"}},"required":["code","message"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"openrouter_metadata":{"oneOf":[{"additionalProperties":{"oneOf":[{}],"uniqueKey":"openrouter_metadata.oneOf.0.additionalProperties","typeLabel":"any"},"type":"object","description":"OpenRouter's routing detail for the failed request.","uniqueKey":"openrouter_metadata.oneOf.0","typeLabel":"object"},{"additionalProperties":{"oneOf":[{}],"uniqueKey":"openrouter_metadata.oneOf.1.additionalProperties","typeLabel":"any"},"type":"null","description":"OpenRouter's routing detail for the failed request.","uniqueKey":"openrouter_metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"openrouter_metadata","typeLabel":"object | null"},"user_id":{"oneOf":[{"type":"string","description":"Id of the user who made the request.","uniqueKey":"user_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Id of the user who made the request.","uniqueKey":"user_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"user_id","typeLabel":"string | null"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":409,"message":"The API key creator is not a member of the target workspace. Add them to the workspace, then retry."}}}},"exampleType":"examples"}},"description":"Conflict - Resource conflict or concurrent modification","exampleType":"examples"},"a7238886-943d-4642-8571-66a04b7e11f3":{"content":{"application/json":{"example":{"error":{"code":429,"message":"Rate limit exceeded"}},"schema":{"description":"Too Many Requests - Rate limit exceeded","example":{"error":{"code":429,"message":"Rate limit exceeded"}},"properties":{"error":{"description":"Error data for TooManyRequestsResponse","example":{"code":429,"message":"Rate limit exceeded"},"properties":{"code":{"type":"integer","description":"HTTP status of the error, the same as the response's: 429.","isRequired":true,"uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","description":"What went wrong, in words for a person; do not parse it, branch on code instead.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"metadata":{"oneOf":[{"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.metadata.oneOf.0.additionalProperties","typeLabel":"any"},"type":"object","description":"Extra detail about the error.","uniqueKey":"error.metadata.oneOf.0","typeLabel":"object"},{"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.metadata.oneOf.1.additionalProperties","typeLabel":"any"},"type":"null","description":"Extra detail about the error.","uniqueKey":"error.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.metadata","typeLabel":"object | null"}},"required":["code","message"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"openrouter_metadata":{"oneOf":[{"additionalProperties":{"oneOf":[{}],"uniqueKey":"openrouter_metadata.oneOf.0.additionalProperties","typeLabel":"any"},"type":"object","description":"OpenRouter's routing detail for the failed request.","uniqueKey":"openrouter_metadata.oneOf.0","typeLabel":"object"},{"additionalProperties":{"oneOf":[{}],"uniqueKey":"openrouter_metadata.oneOf.1.additionalProperties","typeLabel":"any"},"type":"null","description":"OpenRouter's routing detail for the failed request.","uniqueKey":"openrouter_metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"openrouter_metadata","typeLabel":"object | null"},"user_id":{"oneOf":[{"type":"string","description":"Id of the user who made the request.","uniqueKey":"user_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Id of the user who made the request.","uniqueKey":"user_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"user_id","typeLabel":"string | null"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":429,"message":"Rate limit exceeded"}}}},"exampleType":"examples"}},"description":"Too Many Requests - Rate limit exceeded. Nemonist: admission limit reached; retry after the Retry-After header's seconds.","exampleType":"examples"},"a71d2632-e200-48e4-974f-498f84250146":{"content":{"application/json":{"example":{"error":{"code":500,"message":"Internal Server Error"}},"schema":{"description":"Internal Server Error - Unexpected server error","example":{"error":{"code":500,"message":"Internal Server Error"}},"properties":{"error":{"description":"Error data for InternalServerResponse","example":{"code":500,"message":"Internal Server Error"},"properties":{"code":{"type":"integer","description":"HTTP status of the error, the same as the response's: 500.","isRequired":true,"uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","description":"What went wrong, in words for a person; do not parse it, branch on code instead.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"metadata":{"oneOf":[{"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.metadata.oneOf.0.additionalProperties","typeLabel":"any"},"type":"object","description":"Extra detail about the error.","uniqueKey":"error.metadata.oneOf.0","typeLabel":"object"},{"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.metadata.oneOf.1.additionalProperties","typeLabel":"any"},"type":"null","description":"Extra detail about the error.","uniqueKey":"error.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.metadata","typeLabel":"object | null"}},"required":["code","message"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"openrouter_metadata":{"oneOf":[{"additionalProperties":{"oneOf":[{}],"uniqueKey":"openrouter_metadata.oneOf.0.additionalProperties","typeLabel":"any"},"type":"object","description":"OpenRouter's routing detail for the failed request.","uniqueKey":"openrouter_metadata.oneOf.0","typeLabel":"object"},{"additionalProperties":{"oneOf":[{}],"uniqueKey":"openrouter_metadata.oneOf.1.additionalProperties","typeLabel":"any"},"type":"null","description":"OpenRouter's routing detail for the failed request.","uniqueKey":"openrouter_metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"openrouter_metadata","typeLabel":"object | null"},"user_id":{"oneOf":[{"type":"string","description":"Id of the user who made the request.","uniqueKey":"user_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Id of the user who made the request.","uniqueKey":"user_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"user_id","typeLabel":"string | null"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":500,"message":"Internal Server Error"}}}},"exampleType":"examples"}},"description":"Internal Server Error - Unexpected server error","exampleType":"examples"},"3356a2c3-e5ea-4948-9561-c9ef12f51610":{"description":"Nemonist: the account service is temporarily unavailable; retry.","content":{"application/json":{"example":{"error":{"code":500,"message":"Internal Server Error"}},"schema":{"description":"Internal Server Error - Unexpected server error","example":{"error":{"code":500,"message":"Internal Server Error"}},"properties":{"error":{"description":"Error data for InternalServerResponse","example":{"code":500,"message":"Internal Server Error"},"properties":{"code":{"type":"integer","description":"HTTP status of the error, the same as the response's: 500.","isRequired":true,"uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","description":"What went wrong, in words for a person; do not parse it, branch on code instead.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"metadata":{"oneOf":[{"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.metadata.oneOf.0.additionalProperties","typeLabel":"any"},"type":"object","description":"Extra detail about the error.","uniqueKey":"error.metadata.oneOf.0","typeLabel":"object"},{"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.metadata.oneOf.1.additionalProperties","typeLabel":"any"},"type":"null","description":"Extra detail about the error.","uniqueKey":"error.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.metadata","typeLabel":"object | null"}},"required":["code","message"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"openrouter_metadata":{"oneOf":[{"additionalProperties":{"oneOf":[{}],"uniqueKey":"openrouter_metadata.oneOf.0.additionalProperties","typeLabel":"any"},"type":"object","description":"OpenRouter's routing detail for the failed request.","uniqueKey":"openrouter_metadata.oneOf.0","typeLabel":"object"},{"additionalProperties":{"oneOf":[{}],"uniqueKey":"openrouter_metadata.oneOf.1.additionalProperties","typeLabel":"any"},"type":"null","description":"OpenRouter's routing detail for the failed request.","uniqueKey":"openrouter_metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"openrouter_metadata","typeLabel":"object | null"},"user_id":{"oneOf":[{"type":"string","description":"Id of the user who made the request.","uniqueKey":"user_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Id of the user who made the request.","uniqueKey":"user_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"user_id","typeLabel":"string | null"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":500,"message":"Internal Server Error"}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"5c64c600-8820-448c-b999-87c9f6ba628f":{"apiKey":{"type":"http","scheme":"bearer","description":"A Nemonist key (sk-nm-...) as a bearer token in the Authorization header.","scopes":[],"schemeName":"apiKey"}}},"servers":{"f904a986-b1a7-4390-beb0-f994b9f6d9ad":{"url":"https://nemonist.com/api/v1","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"A Nemonist key (sk-nm-...) as a bearer token in the Authorization header.","scopes":[],"schemeName":"apiKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"A Nemonist key (sk-nm-...) as a bearer token in the Authorization header.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"apiKey","name":"Authorization"}],"title":"apiKey"}]},"originalFileLocation":"openapi.json"},"subdomain":"nemonist","siteName":"nemonist","title":"Update an API key - nemonist","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-18T19:22:51.080Z","originalFileLocation":"api-reference/api-keys/update-an-api-key.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=\"Update an existing API key. Authenticate with a management key. Set workspace_id to move the key to another workspace. The request body accepts only the fields listed below, and unrecognized fields are ignored. If the body contains none of the accepted fields, the request fails with 400 and the message No update fields provided.\">\u003cmeta data-mint-head name=\"application-name\" content=\"nemonist\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/nemonist/pJflnD9tD_j2EbQM/_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=\"/docs/mintlify-assets/_mintlify/favicons/nemonist/pJflnD9tD_j2EbQM/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/nemonist/pJflnD9tD_j2EbQM/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/nemonist/pJflnD9tD_j2EbQM/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/nemonist/pJflnD9tD_j2EbQM/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/nemonist/pJflnD9tD_j2EbQM/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/nemonist/pJflnD9tD_j2EbQM/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/nemonist/pJflnD9tD_j2EbQM/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/nemonist/pJflnD9tD_j2EbQM/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update an API key - nemonist\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update an existing API key. Authenticate with a management key. Set workspace_id to move the key to another workspace. The request body accepts only the fields listed below, and unrecognized fields are ignored. If the body contains none of the accepted fields, the request fails with 400 and the message No update fields provided.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"nemonist\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://nemonist.com/docs/api-reference/api-keys/update-an-api-key\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://nemonist.mintlify.site/docs/_mintlify/api/og/v2?division=API+Keys\u0026amp;title=Update+an+API+key\u0026amp;description=Update+an+existing+API+key.+Authenticate+with+a+%5Bmanagement+key%5D%28%2Fdocs%2Fguides%2Foverview%2Fauth%2Fmanagement-api-keys%29.%0A%0ASet+%60workspace_id%60+to+move+the+key+to+another\u0026amp;theme=40d9cda61a40fab1943dcc72\u0026amp;signature=9e1649ec59f5dae446b83ec971b68b0bf2f557bac900d47d8bd38915a29dda87\">\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=\"Update an API key - nemonist\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update an existing API key. Authenticate with a management key. Set workspace_id to move the key to another workspace. The request body accepts only the fields listed below, and unrecognized fields are ignored. If the body contains none of the accepted fields, the request fails with 400 and the message No update fields provided.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://nemonist.mintlify.site/docs/_mintlify/api/og/v2?division=API+Keys\u0026amp;title=Update+an+API+key\u0026amp;description=Update+an+existing+API+key.+Authenticate+with+a+%5Bmanagement+key%5D%28%2Fdocs%2Fguides%2Foverview%2Fauth%2Fmanagement-api-keys%29.%0A%0ASet+%60workspace_id%60+to+move+the+key+to+another\u0026amp;theme=40d9cda61a40fab1943dcc72\u0026amp;signature=9e1649ec59f5dae446b83ec971b68b0bf2f557bac900d47d8bd38915a29dda87\">\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=\"/docs/mintlify-assets/_mintlify/favicons/nemonist/pJflnD9tD_j2EbQM/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"nemonist\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6366f1\">\u003clink data-mint-head rel=\"canonical\" href=\"https://nemonist.com/docs/api-reference/api-keys/update-an-api-key\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/api-keys/update-an-api-key.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://nemonist.com/#organization\",\"name\":\"nemonist\",\"url\":\"https://nemonist.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/nemonist/O63iSHDIbHFIFLsR/logo/light.svg?fit=max\u0026auto=format\u0026n=O63iSHDIbHFIFLsR\u0026q=85\u0026s=78e0f2fecc2ad48dcf82fc4287a5dc8d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://nemonist.com/docs#website\",\"name\":\"nemonist\",\"url\":\"https://nemonist.com/docs\",\"publisher\":{\"@id\":\"https://nemonist.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://nemonist.com/docs/api-reference/api-keys/update-an-api-key#webpage\",\"url\":\"https://nemonist.com/docs/api-reference/api-keys/update-an-api-key\",\"name\":\"Update an API key\",\"description\":\"Update an existing API key. Authenticate with a management key. Set workspace_id to move the key to another workspace. The request body accepts only the fields listed below, and unrecognized fields are ignored. If the body contains none of the accepted fields, the request fails with 400 and the message No update fields provided.\",\"dateModified\":\"2026-11-18T19:22:51.080Z\",\"isPartOf\":{\"@id\":\"https://nemonist.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://nemonist.com/docs/api-reference/api-keys/update-an-api-key#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://nemonist.com/docs/api-reference/api-keys/update-an-api-key#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Keys\",\"item\":\"https://nemonist.com/docs/api-reference/api-keys/get-current-api-key\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update an API key\",\"item\":\"https://nemonist.com/docs/api-reference/api-keys/update-an-api-key\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://nemonist.com/docs/api-reference/api-keys/update-an-api-key#apireference\",\"headline\":\"Update an API key\",\"name\":\"Update an API key\",\"description\":\"Update an existing API key. Authenticate with a management key. Set workspace_id to move the key to another workspace. The request body accepts only the fields listed below, and unrecognized fields are ignored. If the body contains none of the accepted fields, the request fails with 400 and the message No update fields provided.\",\"url\":\"https://nemonist.com/docs/api-reference/api-keys/update-an-api-key\",\"mainEntityOfPage\":{\"@id\":\"https://nemonist.com/docs/api-reference/api-keys/update-an-api-key#webpage\"},\"dateModified\":\"2026-11-18T19:22:51.080Z\",\"publisher\":{\"@id\":\"https://nemonist.com/#organization\"},\"isPartOf\":{\"@id\":\"https://nemonist.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"nemonist\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"nemonist\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/api-keys/update-an-api-key.md","siteName":"nemonist","nav":{"global":null,"tabs":[{"tab":"Docs","pages":[{"title":"Docs","href":""}]},{"tab":"Clients","pages":[{"title":"Clients","href":"/clients/cursor"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"Overview","href":"/api-reference/overview"},{"title":"Output items","href":"/api-reference/output-items"}]},{"group":"Analytics","pages":[{"title":"Get user activity grouped by endpoint","deprecated":null,"version":null,"openapi":"/openapi.json get /activity","href":"/api-reference/analytics/get-user-activity-grouped-by-endpoint"}]},{"group":"Speech","pages":[{"title":"Create speech","deprecated":null,"version":null,"openapi":"/openapi.json post /audio/speech","href":"/api-reference/tts/create-speech"}]},{"group":"Transcriptions","pages":[{"title":"Create transcription","deprecated":null,"version":null,"openapi":"/openapi.json post /audio/transcriptions","href":"/api-reference/stt/create-transcription"}]},{"group":"OAuth","pages":[{"title":"Exchange authorization code for API key","deprecated":null,"version":null,"openapi":"/openapi.json post /auth/keys","href":"/api-reference/oauth/exchange-authorization-code-for-api-key"}]},{"group":"Benchmarks","pages":[{"title":"List Benchmarks","deprecated":null,"version":null,"openapi":"/openapi.json get /benchmarks","href":"/api-reference/benchmarks/list-benchmarks"}]},{"group":"BYOK","pages":[{"title":"List BYOK provider credentials","deprecated":null,"version":null,"openapi":"/openapi.json get /byok","href":"/api-reference/byok/list-byok-provider-credentials"},{"title":"Create a BYOK provider credential","deprecated":null,"version":null,"openapi":"/openapi.json post /byok","href":"/api-reference/byok/create-a-byok-provider-credential"},{"title":"Get a BYOK provider credential","deprecated":null,"version":null,"openapi":"/openapi.json get /byok/{id}","href":"/api-reference/byok/get-a-byok-provider-credential"},{"title":"Delete a BYOK provider credential","deprecated":null,"version":null,"openapi":"/openapi.json delete /byok/{id}","href":"/api-reference/byok/delete-a-byok-provider-credential"},{"title":"Update a BYOK provider credential","deprecated":null,"version":null,"openapi":"/openapi.json patch /byok/{id}","href":"/api-reference/byok/update-a-byok-provider-credential"}]},{"group":"Chat","pages":[{"title":"Create a chat completion","deprecated":null,"version":null,"openapi":"/openapi.json post /chat/completions","href":"/api-reference/chat/create-a-chat-completion"}]},{"group":"Credits","pages":[{"title":"Get remaining credits","deprecated":null,"version":null,"openapi":"/openapi.json get /credits","href":"/api-reference/credits/get-remaining-credits"}]},{"group":"Datasets","pages":[{"title":"Top apps by token usage","deprecated":null,"version":null,"openapi":"/openapi.json get /datasets/app-rankings","href":"/api-reference/datasets/top-apps-by-token-usage"},{"title":"Daily token totals for top 50 models","deprecated":null,"version":null,"openapi":"/openapi.json get /datasets/rankings-daily","href":"/api-reference/datasets/daily-token-totals-for-top-50-models"}]},{"group":"Embeddings","pages":[{"title":"Submit an embedding request","deprecated":null,"version":null,"openapi":"/openapi.json post /embeddings","href":"/api-reference/embeddings/submit-an-embedding-request"},{"title":"List all embeddings models","deprecated":null,"version":null,"openapi":"/openapi.json get /embeddings/models","href":"/api-reference/embeddings/list-all-embeddings-models"}]},{"group":"Endpoints","pages":[{"title":"Preview the impact of ZDR on the available endpoints","deprecated":null,"version":null,"openapi":"/openapi.json get /endpoints/zdr","href":"/api-reference/endpoints/preview-the-impact-of-zdr-on-the-available-endpoints"},{"title":"List all endpoints for a model","deprecated":null,"version":null,"openapi":"/openapi.json get /models/{author}/{slug}/endpoints","href":"/api-reference/endpoints/list-all-endpoints-for-a-model"}]},{"group":"Generations","pages":[{"title":"Get request \u0026 usage metadata for a generation","deprecated":null,"version":null,"openapi":"/openapi.json get /generation","href":"/api-reference/generations/get-request-\u0026-usage-metadata-for-a-generation"}]},{"group":"Guardrails","pages":[{"title":"List guardrails","deprecated":null,"version":null,"openapi":"/openapi.json get /guardrails","href":"/api-reference/guardrails/list-guardrails"},{"title":"Create a guardrail","deprecated":null,"version":null,"openapi":"/openapi.json post /guardrails","href":"/api-reference/guardrails/create-a-guardrail"},{"title":"Get a guardrail","deprecated":null,"version":null,"openapi":"/openapi.json get /guardrails/{id}","href":"/api-reference/guardrails/get-a-guardrail"},{"title":"Delete a guardrail","deprecated":null,"version":null,"openapi":"/openapi.json delete /guardrails/{id}","href":"/api-reference/guardrails/delete-a-guardrail"},{"title":"Update a guardrail","deprecated":null,"version":null,"openapi":"/openapi.json patch /guardrails/{id}","href":"/api-reference/guardrails/update-a-guardrail"},{"title":"List key assignments for a guardrail","deprecated":null,"version":null,"openapi":"/openapi.json get /guardrails/{id}/assignments/keys","href":"/api-reference/guardrails/list-key-assignments-for-a-guardrail"},{"title":"Bulk assign keys to a guardrail","deprecated":null,"version":null,"openapi":"/openapi.json post /guardrails/{id}/assignments/keys","href":"/api-reference/guardrails/bulk-assign-keys-to-a-guardrail"},{"title":"Bulk unassign keys from a guardrail","deprecated":null,"version":null,"openapi":"/openapi.json post /guardrails/{id}/assignments/keys/remove","href":"/api-reference/guardrails/bulk-unassign-keys-from-a-guardrail"},{"title":"List all key assignments","deprecated":null,"version":null,"openapi":"/openapi.json get /guardrails/assignments/keys","href":"/api-reference/guardrails/list-all-key-assignments"}]},{"group":"Images","pages":[{"title":"Generate an image","deprecated":null,"version":null,"openapi":"/openapi.json post /images","href":"/api-reference/images/generate-an-image"},{"title":"List image generation models","deprecated":null,"version":null,"openapi":"/openapi.json get /images/models","href":"/api-reference/images/list-image-generation-models"},{"title":"List endpoints for an image model","deprecated":null,"version":null,"openapi":"/openapi.json get /images/models/{author}/{slug}/endpoints","href":"/api-reference/images/list-endpoints-for-an-image-model"}]},{"group":"API Keys","pages":[{"title":"Get current API key","deprecated":null,"version":null,"openapi":"/openapi.json get /key","href":"/api-reference/api-keys/get-current-api-key"},{"title":"List API keys","deprecated":null,"version":null,"openapi":"/openapi.json get /keys","href":"/api-reference/api-keys/list-api-keys"},{"title":"Create a new API key","deprecated":null,"version":null,"openapi":"/openapi.json post /keys","href":"/api-reference/api-keys/create-a-new-api-key"},{"title":"Get a single API key","deprecated":null,"version":null,"openapi":"/openapi.json get /keys/{hash}","href":"/api-reference/api-keys/get-a-single-api-key"},{"title":"Delete an API key","description":"Delete an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys).","deprecated":null,"version":null,"openapi":"/openapi.json delete /keys/{hash}","href":"/api-reference/api-keys/delete-an-api-key"},{"title":"Update an API key","deprecated":null,"version":null,"openapi":"/openapi.json patch /keys/{hash}","href":"/api-reference/api-keys/update-an-api-key"}]},{"group":"Anthropic Messages","pages":[{"title":"Create a message","description":"Creates a message using the Anthropic Messages API format. Supports text, images, PDFs, tools, and extended thinking.","deprecated":null,"version":null,"openapi":"/openapi.json post /messages","href":"/api-reference/anthropic-messages/create-a-message"}]},{"group":"Models","pages":[{"title":"Get a model by its slug","deprecated":null,"version":null,"openapi":"/openapi.json get /model/{author}/{slug}","href":"/api-reference/models/get-a-model-by-its-slug"},{"title":"List all models and their properties","deprecated":null,"version":null,"openapi":"/openapi.json get /models","href":"/api-reference/models/list-all-models-and-their-properties"},{"title":"Get total count of available models","deprecated":null,"version":null,"openapi":"/openapi.json get /models/count","href":"/api-reference/models/get-total-count-of-available-models"},{"title":"List models filtered by user provider preferences, privacy settings, and guardrails","deprecated":null,"version":null,"openapi":"/openapi.json get /models/user","href":"/api-reference/models/list-models-filtered-by-user-provider-preferences-privacy-settings-and-guardrails"}]},{"group":"Organization","pages":[{"title":"List organization members","deprecated":null,"version":null,"openapi":"/openapi.json get /organization/members","href":"/api-reference/organization/list-organization-members"}]},{"group":"Private Endpoints","pages":[{"title":"List private endpoints","deprecated":null,"version":null,"openapi":"/openapi.json get /private-endpoints","href":"/api-reference/private-endpoints/list-private-endpoints"},{"title":"Create a private endpoint","deprecated":null,"version":null,"openapi":"/openapi.json post /private-endpoints","href":"/api-reference/private-endpoints/create-a-private-endpoint"},{"title":"Get a private endpoint","deprecated":null,"version":null,"openapi":"/openapi.json get /private-endpoints/{id}","href":"/api-reference/private-endpoints/get-a-private-endpoint"},{"title":"Delete a private endpoint","deprecated":null,"version":null,"openapi":"/openapi.json delete /private-endpoints/{id}","href":"/api-reference/private-endpoints/delete-a-private-endpoint"},{"title":"Update a private endpoint","deprecated":null,"version":null,"openapi":"/openapi.json patch /private-endpoints/{id}","href":"/api-reference/private-endpoints/update-a-private-endpoint"},{"title":"Activate a validated private endpoint","deprecated":null,"version":null,"openapi":"/openapi.json post /private-endpoints/{id}/activate","href":"/api-reference/private-endpoints/activate-a-validated-private-endpoint"},{"title":"Disable a private endpoint","deprecated":null,"version":null,"openapi":"/openapi.json post /private-endpoints/{id}/disable","href":"/api-reference/private-endpoints/disable-a-private-endpoint"},{"title":"Enable a private endpoint","deprecated":null,"version":null,"openapi":"/openapi.json post /private-endpoints/{id}/enable","href":"/api-reference/private-endpoints/enable-a-private-endpoint"},{"title":"Validate a draft private endpoint","deprecated":null,"version":null,"openapi":"/openapi.json post /private-endpoints/{id}/validate","href":"/api-reference/private-endpoints/validate-a-draft-private-endpoint"}]},{"group":"Providers","pages":[{"title":"List all providers","deprecated":null,"version":null,"openapi":"/openapi.json get /providers","href":"/api-reference/providers/list-all-providers"}]},{"group":"Rerank","pages":[{"title":"Submit a rerank request","deprecated":null,"version":null,"openapi":"/openapi.json post /rerank","href":"/api-reference/rerank/submit-a-rerank-request"}]},{"group":"Responses","pages":[{"title":"Create a response","deprecated":null,"version":null,"openapi":"/openapi.json post /responses","href":"/api-reference/responses/create-a-response"}]},{"group":"System One","pages":[{"title":"Submit a System One request","deprecated":null,"version":null,"openapi":"/openapi.json post /systemone","href":"/api-reference/systemone/submit-a-system-one-request"}]},{"group":"Video Generation","pages":[{"title":"List all video generation models","deprecated":null,"version":null,"openapi":"/openapi.json get /videos/models","href":"/api-reference/video-generation/list-all-video-generation-models"}]},{"group":"Workspaces","pages":[{"title":"List workspaces","deprecated":null,"version":null,"openapi":"/openapi.json get /workspaces","href":"/api-reference/workspaces/list-workspaces"},{"title":"Create a workspace","deprecated":null,"version":null,"openapi":"/openapi.json post /workspaces","href":"/api-reference/workspaces/create-a-workspace"},{"title":"Get a workspace","deprecated":null,"version":null,"openapi":"/openapi.json get /workspaces/{id}","href":"/api-reference/workspaces/get-a-workspace"},{"title":"Delete a workspace","deprecated":null,"version":null,"openapi":"/openapi.json delete /workspaces/{id}","href":"/api-reference/workspaces/delete-a-workspace"},{"title":"Update a workspace","deprecated":null,"version":null,"openapi":"/openapi.json patch /workspaces/{id}","href":"/api-reference/workspaces/update-a-workspace"},{"title":"List workspace members","deprecated":null,"version":null,"openapi":"/openapi.json get /workspaces/{id}/members","href":"/api-reference/workspaces/list-workspace-members"},{"title":"Bulk add members to a workspace","deprecated":null,"version":null,"openapi":"/openapi.json post /workspaces/{id}/members/add","href":"/api-reference/workspaces/bulk-add-members-to-a-workspace"},{"title":"Bulk remove members from a workspace","deprecated":null,"version":null,"openapi":"/openapi.json post /workspaces/{id}/members/remove","href":"/api-reference/workspaces/bulk-remove-members-from-a-workspace"},{"title":"List workspace budgets","deprecated":null,"version":null,"openapi":"/openapi.json get /workspaces/{workspace_ref}/budgets","href":"/api-reference/workspaces/list-workspace-budgets"},{"title":"Get a workspace budget","deprecated":null,"version":null,"openapi":"/openapi.json get /workspaces/{workspace_ref}/budgets/{interval}","href":"/api-reference/workspaces/get-a-workspace-budget"},{"title":"Create or update a workspace budget","deprecated":null,"version":null,"openapi":"/openapi.json put /workspaces/{workspace_ref}/budgets/{interval}","href":"/api-reference/workspaces/create-or-update-a-workspace-budget"},{"title":"Delete a workspace budget","deprecated":null,"version":null,"openapi":"/openapi.json delete /workspaces/{workspace_ref}/budgets/{interval}","href":"/api-reference/workspaces/delete-a-workspace-budget"}]},{"group":"Memory","pages":[{"title":"Erase all memory","deprecated":null,"version":null,"openapi":"/openapi.json delete /memory","href":"/api-reference/memory/erase-all-memory"},{"title":"Read a workspace's memory","deprecated":null,"version":null,"openapi":"/openapi.json get /memory-file","href":"/api-reference/memory/read-a-workspaces-memory"},{"title":"List a folder's inbox by its key","deprecated":null,"version":null,"openapi":"/openapi.json get /inbox","href":"/api-reference/memory/list-a-folders-inbox-by-its-key"},{"title":"Send a message to a folder","deprecated":null,"version":null,"openapi":"/openapi.json post /inbox","href":"/api-reference/memory/send-a-message-to-a-folder"},{"title":"Get a workspace's memory graph","deprecated":null,"version":null,"openapi":"/openapi.json get /memory-graph","href":"/api-reference/memory/get-a-workspaces-memory-graph"}]},{"group":"Folders","pages":[{"title":"List your folders","deprecated":null,"version":null,"openapi":"/openapi.json get /folders","href":"/api-reference/folders/list-your-folders"},{"title":"Get a folder","deprecated":null,"version":null,"openapi":"/openapi.json get /folders/{id}","href":"/api-reference/folders/get-a-folder"},{"title":"Erase a folder","deprecated":null,"version":null,"openapi":"/openapi.json delete /folders/{id}","href":"/api-reference/folders/erase-a-folder"},{"title":"Rename a folder","deprecated":null,"version":null,"openapi":"/openapi.json patch /folders/{id}","href":"/api-reference/folders/rename-a-folder"},{"title":"Read a note","deprecated":null,"version":null,"openapi":"/openapi.json get /folders/{id}/memory/{path}","href":"/api-reference/folders/read-a-note"},{"title":"List recorded requests","deprecated":null,"version":null,"openapi":"/openapi.json get /folders/{id}/history","href":"/api-reference/folders/list-recorded-requests"},{"title":"Read a recorded request","deprecated":null,"version":null,"openapi":"/openapi.json get /folders/{id}/history/{commit}","href":"/api-reference/folders/read-a-recorded-request"},{"title":"Export a folder","deprecated":null,"version":null,"openapi":"/openapi.json get /folders/{id}/export","href":"/api-reference/folders/export-a-folder"},{"title":"Get a folder's memory graph","deprecated":null,"version":null,"openapi":"/openapi.json get /folders/{id}/graph","href":"/api-reference/folders/get-a-folders-memory-graph"},{"title":"Turn nightly sleep on or off","deprecated":null,"version":null,"openapi":"/openapi.json put /folders/{id}/sleep","href":"/api-reference/folders/turn-nightly-sleep-on-or-off"},{"title":"Issue a key","deprecated":null,"version":null,"openapi":"/openapi.json post /folders/{id}/keys","href":"/api-reference/folders/issue-a-key"},{"title":"Revoke a key","deprecated":null,"version":null,"openapi":"/openapi.json delete /folders/{id}/keys/{kid}","href":"/api-reference/folders/revoke-a-key"},{"title":"Merge into another folder","deprecated":null,"version":null,"openapi":"/openapi.json post /folders/{id}/merge","href":"/api-reference/folders/merge-into-another-folder"},{"title":"List uploaded files","deprecated":null,"version":null,"openapi":"/openapi.json get /folders/{id}/files","href":"/api-reference/folders/list-uploaded-files"},{"title":"Download an uploaded file","deprecated":null,"version":null,"openapi":"/openapi.json get /folders/{id}/files/{path}","href":"/api-reference/folders/download-an-uploaded-file"},{"title":"Delete an uploaded file","deprecated":null,"version":null,"openapi":"/openapi.json delete /folders/{id}/files/{path}","href":"/api-reference/folders/delete-an-uploaded-file"},{"title":"Get an upload URL","deprecated":null,"version":null,"openapi":"/openapi.json post /folders/{id}/upload-url","href":"/api-reference/folders/get-an-upload-url"},{"title":"Start or continue a multipart upload","deprecated":null,"version":null,"openapi":"/openapi.json post /folders/{id}/multipart","href":"/api-reference/folders/start-or-continue-a-multipart-upload"},{"title":"Complete a multipart upload","deprecated":null,"version":null,"openapi":"/openapi.json post /folders/{id}/multipart/complete","href":"/api-reference/folders/complete-a-multipart-upload"},{"title":"List a folder's jobs","deprecated":null,"version":null,"openapi":"/openapi.json get /folders/{id}/jobs","href":"/api-reference/folders/list-a-folders-jobs"},{"title":"Download a job output","deprecated":null,"version":null,"openapi":"/openapi.json get /folders/{id}/jobs/{job}/{name}","href":"/api-reference/folders/download-a-job-output"},{"title":"List a folder's inbox","deprecated":null,"version":null,"openapi":"/openapi.json get /folders/{id}/inbox","href":"/api-reference/folders/list-a-folders-inbox"},{"title":"Get a folder's tool use","deprecated":null,"version":null,"openapi":"/openapi.json get /folders/{id}/tools","href":"/api-reference/folders/get-a-folders-tool-use"},{"title":"List commits","deprecated":null,"version":null,"openapi":"/openapi.json get /folders/{id}/commits","href":"/api-reference/folders/list-commits"},{"title":"Get a commit","deprecated":null,"version":null,"openapi":"/openapi.json get /folders/{id}/commits/{commit}","href":"/api-reference/folders/get-a-commit"},{"title":"List notes at a commit","deprecated":null,"version":null,"openapi":"/openapi.json get /folders/{id}/tree","href":"/api-reference/folders/list-notes-at-a-commit"},{"title":"Download notes as a zip","deprecated":null,"version":null,"openapi":"/openapi.json get /folders/{id}/zipball","href":"/api-reference/folders/download-notes-as-a-zip"},{"title":"Download notes at a commit as a zip","deprecated":null,"version":null,"openapi":"/openapi.json get /folders/{id}/zipball/{commit}","href":"/api-reference/folders/download-notes-at-a-commit-as-a-zip"},{"title":"List tags","deprecated":null,"version":null,"openapi":"/openapi.json get /folders/{id}/tags","href":"/api-reference/folders/list-tags"},{"title":"Create a tag","deprecated":null,"version":null,"openapi":"/openapi.json post /folders/{id}/tags","href":"/api-reference/folders/create-a-tag"},{"title":"Delete a tag","deprecated":null,"version":null,"openapi":"/openapi.json delete /folders/{id}/tags/{name}","href":"/api-reference/folders/delete-a-tag"},{"title":"Get contributors","deprecated":null,"version":null,"openapi":"/openapi.json get /folders/{id}/stats/contributors","href":"/api-reference/folders/get-contributors"},{"title":"Get commit activity","deprecated":null,"version":null,"openapi":"/openapi.json get /folders/{id}/stats/commit_activity","href":"/api-reference/folders/get-commit-activity"},{"title":"Blame a note","deprecated":null,"version":null,"openapi":"/openapi.json get /folders/{id}/blame/{path}","href":"/api-reference/folders/blame-a-note"},{"title":"List work items","deprecated":null,"version":null,"openapi":"/openapi.json get /folders/{id}/issues","href":"/api-reference/folders/list-work-items"},{"title":"Read a work item","deprecated":null,"version":null,"openapi":"/openapi.json get /folders/{id}/issues/{item}","href":"/api-reference/folders/read-a-work-item"},{"title":"Edit a work item by name","deprecated":null,"version":null,"openapi":"/openapi.json patch /folders/{id}/issues/{item}","href":"/api-reference/folders/edit-a-work-item-by-name"},{"title":"Compare two commits","deprecated":null,"version":null,"openapi":"/openapi.json get /folders/{id}/compare/{basehead}","href":"/api-reference/folders/compare-two-commits"},{"title":"Read a work item's timeline","deprecated":null,"version":null,"openapi":"/openapi.json get /folders/{id}/issues/{item}/timeline","href":"/api-reference/folders/read-a-work-items-timeline"},{"title":"List activity","deprecated":null,"version":null,"openapi":"/openapi.json get /folders/{id}/activity","href":"/api-reference/folders/list-activity"},{"title":"Revert a commit","deprecated":null,"version":null,"openapi":"/openapi.json post /folders/{id}/commits/{commit}/revert","href":"/api-reference/folders/revert-a-commit"},{"title":"Get goal insights","deprecated":null,"version":null,"openapi":"/openapi.json get /folders/{id}/stats/issues","href":"/api-reference/folders/get-goal-insights"},{"title":"List saved goal views","deprecated":null,"version":null,"openapi":"/openapi.json get /folders/{id}/views","href":"/api-reference/folders/list-saved-goal-views"},{"title":"Save a goal view","deprecated":null,"version":null,"openapi":"/openapi.json post /folders/{id}/views","href":"/api-reference/folders/save-a-goal-view"},{"title":"Get a goal view","deprecated":null,"version":null,"openapi":"/openapi.json get /folders/{id}/views/{number}","href":"/api-reference/folders/get-a-goal-view"},{"title":"Delete a goal view","deprecated":null,"version":null,"openapi":"/openapi.json delete /folders/{id}/views/{number}","href":"/api-reference/folders/delete-a-goal-view"},{"title":"Edit a goal view","deprecated":null,"version":null,"openapi":"/openapi.json patch /folders/{id}/views/{number}","href":"/api-reference/folders/edit-a-goal-view"},{"title":"List a view's goals","deprecated":null,"version":null,"openapi":"/openapi.json get /folders/{id}/views/{number}/issues","href":"/api-reference/folders/list-a-views-goals"}]},{"group":"Model runs","pages":[{"title":"List uploaded files","deprecated":null,"version":null,"openapi":"/openapi.json get /files","href":"/api-reference/model-runs/list-uploaded-files"},{"title":"Start a file upload","deprecated":null,"version":null,"openapi":"/openapi.json post /files","href":"/api-reference/model-runs/start-a-file-upload"},{"title":"List models","deprecated":null,"version":null,"openapi":"/openapi.json get /runs/models","href":"/api-reference/model-runs/list-models"},{"title":"List runs","deprecated":null,"version":null,"openapi":"/openapi.json get /runs","href":"/api-reference/model-runs/list-runs"},{"title":"Start a run","deprecated":null,"version":null,"openapi":"/openapi.json post /runs","href":"/api-reference/model-runs/start-a-run"},{"title":"Poll a run","deprecated":null,"version":null,"openapi":"/openapi.json get /runs/{id}","href":"/api-reference/model-runs/poll-a-run"},{"title":"Cancel a run","deprecated":null,"version":null,"openapi":"/openapi.json delete /runs/{id}","href":"/api-reference/model-runs/cancel-a-run"},{"title":"Download a run output","deprecated":null,"version":null,"openapi":"/openapi.json get /runs/{id}/content","href":"/api-reference/model-runs/download-a-run-output"}]}]}]},"basePath":"","title":"Update an API key - nemonist","deploymentId":"dpl_J2QdBVuN65x4CCtpqPb371YPt4xi","buildId":"dpl_J2QdBVuN65x4CCtpqPb371YPt4xi","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-tiVafkWW.js","utils-CURQcKis.js","cloneDeep-D7WNbvHt.js","_Uint8Array-BY_XlfVz.js","isObject-FP1Yky1u.js","utils-CdFTKPRO.js","addUniqueKeysToSchema-BSfwE63N.js","snippetPresets-BHyg8yZ0.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-CQdVXSju.js","isEqual-ft5OxoSH.js","usePlaygroundInputsStore-BILH4rrw.js","shallow-DterCiSU.js","getApiPlaygroundDisplay-uFtORr6j.js","CodeSnippet-BeuhEvUS.js","CodeSnippets-laCoJsvn.js","Page-CTsmHnLF.js","getPastedJson-DOT1n5Lt.js","icon-COH-nmcZ.js","MethodPill-BbAWkCf6.js","DuplicateIcon-CpagiAFQ.js","createIcon-Bw2Dnowf.js","DynamicMarkdown-DzuINhDe.js","SectionHeading-B3H20qI6.js","axios-vUo_bRtp.js","Markdown-DBdbz5B3.js","dist-DWEsd3cZ.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","katex-YMM-FMeD.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","AssistantPageLink-DuX7jTnG.js"]}