Access token from POST /management/v1/auth/token (publishable-key exchange) or a login session. Publishable-key tokens are agent-scoped and serve the messaging surface; login tokens also serve management.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"AUI","colors":{"primary":"#7C4DFF","light":"#A99AF5","dark":"#6B56D1"},"logo":{"light":"https://mintcdn.com/aui-72a32030/ApeN3-FD02plsaZg/logo/aui-logo-light.svg?fit=max\u0026auto=format\u0026n=ApeN3-FD02plsaZg\u0026q=85\u0026s=c8e9e8e5ee621ccaad768d8c2f298c40","dark":"https://mintcdn.com/aui-72a32030/ApeN3-FD02plsaZg/logo/aui-logo-dark.svg?fit=max\u0026auto=format\u0026n=ApeN3-FD02plsaZg\u0026q=85\u0026s=6f339424034802722aabf4b91431fcc2"},"favicon":"https://mintcdn.com/aui-72a32030/ApeN3-FD02plsaZg/favicon.svg?fit=max\u0026auto=format\u0026n=ApeN3-FD02plsaZg\u0026q=85\u0026s=5b0dd42ce7f6dce6f2cc1e37aaf0be75","appearance":{"default":"system"},"background":{"decoration":"gradient","color":{"light":"#FFFFFF","dark":"#0F0E11"}},"navbar":{"links":[{"href":"https://www.aui.io","label":"Website"}],"primary":{"type":"button","label":"Playground","href":"https://apollo.aui.io"}},"fonts":{"family":"Geist"},"styling":{"eyebrows":"breadcrumbs","codeblocks":"dark","latex":false},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"navigation":{"global":{"anchors":[{"anchor":"Playground","icon":"browser","href":"https://apollo.aui.io"},{"anchor":"Website","icon":"globe","href":"https://www.aui.io"},{"anchor":"GitHub","icon":"github","href":"https://github.com/aui-io"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"aui-72a32030","hasAudioNarration":false,"actualSubdomain":"aui-72a32030","customDomains":["docs.aui.io"],"gitSource":{"type":"github","owner":"aui-io","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af369e96b70ae10733c906e","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"API Reference","count":37},{"language":"default","tag":"API","count":14},{"language":"default","tag":"Messaging","count":14},{"language":"default","tag":"CLI","count":12},{"language":"default","tag":"SDK","count":10},{"language":"default","tag":"Introduction","count":9},{"language":"default","tag":"Get started","count":7},{"language":"default","tag":"Agent Versions","count":7},{"language":"default","tag":"Agents","count":6},{"language":"default","tag":"Threads","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"@keyframes aui-fade-up{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}#content-area{animation:aui-fade-up 0.5s cubic-bezier(0.22, 1, 0.36, 1)}#content-area h1{animation:aui-fade-up 0.55s cubic-bezier(0.22, 1, 0.36, 1)}#navbar img{transition:transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease}#navbar img:hover{transform:scale(1.06) rotate(-1deg)}a{transition:color 0.15s ease, opacity 0.15s ease}button{transition:transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease}@media (prefers-reduced-motion: reduce){#content-area,#content-area h1,#navbar img,a,button{animation:none!important;transition:none!important}}"}],"page":{"pagePath":"api-reference/agent-versions/archive-a-version","slug":"/api-reference/agent-versions/archive-a-version","pageMetadata":{"title":"Archive a version","description":"Archive a version to retire it from everyday use. The agent's live\nversion can't be archived — publish another version first.","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json post /management/v1/agents/{agentId}/versions/{versionId}/archive","href":"/api-reference/agent-versions/archive-a-version","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Archive a version to retire it from everyday use. The agent’s live\\nversion can’t be archived — publish another version first.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"Archive a version","description":"Archive a version to retire it from everyday use. The agent's live\nversion can't be archived — publish another version first.","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json post /management/v1/agents/{agentId}/versions/{versionId}/archive","href":"/api-reference/agent-versions/archive-a-version","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Agent Versions"],"summary":"Archive a version","description":"Archive a version to retire it from everyday use. The agent's live\nversion can't be archived — publish another version first.","operationId":"archive_version","parameters":["313d07b7-634f-4499-8156-86a39c75a37d","c93847c5-96e7-4d50-81c5-540df897e67b"],"responses":{"200":"eeb769d6-a709-4629-a870-142a4cb4c140","400":"f5145280-1ca5-455b-a9f9-4c660f9e7a7f","401":"52c8f067-3ed5-4bba-8833-78a0684698ea","403":"300cf9c1-3d89-46be-ae63-fb7ebfd2cec4","404":"4f5847dd-8ba8-44ca-bc63-bfdbed74fd9b","409":"326734c1-cb8d-4066-a813-9984f902c3aa","422":"4c0f155c-38d9-4ce9-9769-b1d424bc6e3d","500":"f2434526-a1ac-45f2-9869-b6e69964a9b2"},"security":["be432e40-d66f-40c5-84d1-e22366200ad0","7009ae76-88cd-4495-a82d-694b0d082f55"],"x-fern-audiences":["management"],"method":"post","type":"path","servers":["16cfb25d-4995-4c00-931e-8fa5d7f8f35e"],"path":"/management/v1/agents/{agentId}/versions/{versionId}/archive","baseUrlOptions":["https://api-v3.aui.io/apollo-api"],"title":"Archive a version","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"313d07b7-634f-4499-8156-86a39c75a37d":{"name":"agentId","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9a-fA-F]{24}$","title":"Agentid","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"c93847c5-96e7-4d50-81c5-540df897e67b":{"name":"versionId","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9a-fA-F]{24}$","title":"Versionid","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"responses":{"eeb769d6-a709-4629-a870-142a4cb4c140":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{24}$","title":"Id","description":"Version id","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"agent_id":{"type":"string","pattern":"^[0-9a-fA-F]{24}$","title":"Agent Id","description":"Owning agent id","isRequired":true,"uniqueKey":"agent_id","typeLabel":"string"},"version_number":{"type":"integer","title":"Version Number","isRequired":true,"uniqueKey":"version_number","typeLabel":"integer"},"version_revision_number":{"type":"integer","title":"Version Revision Number","isRequired":true,"uniqueKey":"version_revision_number","typeLabel":"integer"},"version_tag":{"type":"string","title":"Version Tag","description":"Canonical tag, e.g. 'v3.2'","isRequired":true,"uniqueKey":"version_tag","typeLabel":"string"},"status":{"type":"string","enum":["draft","published","archived"],"title":"Status","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","title":"Created At","isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"parent_version_id":{"oneOf":[{"type":"string","title":"Parent Version Id","description":"Lineage: cloned from","pattern":"^[0-9a-fA-F]{24}$","uniqueKey":"parent_version_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Parent Version Id","description":"Lineage: cloned from","uniqueKey":"parent_version_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"parent_version_id","typeLabel":"string | null"},"label":{"oneOf":[{"type":"string","title":"Label","uniqueKey":"label.oneOf.0","typeLabel":"string"},{"type":"null","title":"Label","uniqueKey":"label.oneOf.1","typeLabel":"null"}],"uniqueKey":"label","typeLabel":"string | null"},"tags":{"items":{"type":"string","uniqueKey":"tags.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Tags","uniqueKey":"tags","typeLabel":"string[]"},"notes":{"oneOf":[{"type":"string","title":"Notes","uniqueKey":"notes.oneOf.0","typeLabel":"string"},{"type":"null","title":"Notes","uniqueKey":"notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"notes","typeLabel":"string | null"},"stats":{"oneOf":[{"type":"object","title":"VersionStats","description":"Counts of the entities configured in a version.","properties":{"workflows":{"type":"integer","title":"Workflows","default":0,"uniqueKey":"stats.oneOf.0.workflows","typeLabel":"integer"},"policies":{"type":"integer","title":"Policies","default":0,"uniqueKey":"stats.oneOf.0.policies","typeLabel":"integer"},"agent_placeholders":{"type":"integer","title":"Agent Placeholders","default":0,"uniqueKey":"stats.oneOf.0.agent_placeholders","typeLabel":"integer"},"scope_entities":{"type":"integer","title":"Scope Entities","default":0,"uniqueKey":"stats.oneOf.0.scope_entities","typeLabel":"integer"},"integrations":{"type":"integer","title":"Integrations","default":0,"uniqueKey":"stats.oneOf.0.integrations","typeLabel":"integer"},"card_templates":{"type":"integer","title":"Card Templates","default":0,"uniqueKey":"stats.oneOf.0.card_templates","typeLabel":"integer"},"parameters":{"type":"integer","title":"Parameters","default":0,"uniqueKey":"stats.oneOf.0.parameters","typeLabel":"integer"},"knowledge_bases":{"type":"integer","title":"Knowledge Bases","default":0,"uniqueKey":"stats.oneOf.0.knowledge_bases","typeLabel":"integer"},"agent_properties":{"type":"integer","title":"Agent Properties","default":0,"uniqueKey":"stats.oneOf.0.agent_properties","typeLabel":"integer"}},"uniqueKey":"stats.oneOf.0","typeLabel":"VersionStats · object"},{"type":"null","uniqueKey":"stats.oneOf.1","typeLabel":"null"}],"uniqueKey":"stats","typeLabel":"VersionStats · object | null"},"runtime_version":{"oneOf":[{"type":"string","title":"Runtime Version","description":"Runtime build this version's bundle targets, e.g. '0.8.0'. None when the bundle pins no runtime","uniqueKey":"runtime_version.oneOf.0","typeLabel":"string"},{"type":"null","title":"Runtime Version","description":"Runtime build this version's bundle targets, e.g. '0.8.0'. None when the bundle pins no runtime","uniqueKey":"runtime_version.oneOf.1","typeLabel":"null"}],"uniqueKey":"runtime_version","typeLabel":"string | null"},"schema_version":{"oneOf":[{"type":"string","title":"Schema Version","description":"AUI schema version of this version's bundle — the 'schema_version' it was pushed with. None until a bundle is pushed","uniqueKey":"schema_version.oneOf.0","typeLabel":"string"},{"type":"null","title":"Schema Version","description":"AUI schema version of this version's bundle — the 'schema_version' it was pushed with. None until a bundle is pushed","uniqueKey":"schema_version.oneOf.1","typeLabel":"null"}],"uniqueKey":"schema_version","typeLabel":"string | null"},"published_at":{"oneOf":[{"type":"string","title":"Published At","format":"date-time","uniqueKey":"published_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Published At","uniqueKey":"published_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"published_at","typeLabel":"string\u003cdate-time> | null"}},"type":"object","required":["id","agent_id","version_number","version_revision_number","version_tag","status","created_at"],"title":"AgentVersionArchiveResponse","description":"Returns the archived version.","uniqueKey":"","typeLabel":"AgentVersionArchiveResponse · object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","agent_id":"\u003cstring>","version_number":123,"version_revision_number":123,"version_tag":"\u003cstring>","status":"draft","created_at":"2023-11-07T05:31:56Z","parent_version_id":"\u003cstring>","label":"\u003cstring>","tags":["\u003cstring>"],"notes":"\u003cstring>","stats":{"workflows":0,"policies":0,"agent_placeholders":0,"scope_entities":0,"integrations":0,"card_templates":0,"parameters":0,"knowledge_bases":0,"agent_properties":0},"runtime_version":"\u003cstring>","schema_version":"\u003cstring>","published_at":"2023-11-07T05:31:56Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"f5145280-1ca5-455b-a9f9-4c660f9e7a7f":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"type":"string","title":"Code","description":"Stable, namespaced machine code clients branch on (e.g. \"not_found\" or \"agents.not_found\"). THE branch point -- open/extensible, append-only.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","title":"Message","description":"Human-readable explanation. NOT part of the contract; may change anytime. Clients must never parse or branch on this.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"oneOf":[{"type":"string","title":"Request Id","description":"Trace id for support correlation.","uniqueKey":"error.request_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Request Id","description":"Trace id for support correlation.","uniqueKey":"error.request_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.request_id","typeLabel":"string | null"},"details":{"oneOf":[{"type":"array","items":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"error.details.oneOf.0.items.[INDEX].message","typeLabel":"string"},"field":{"oneOf":[{"type":"string","title":"Field","uniqueKey":"error.details.oneOf.0.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","title":"Field","uniqueKey":"error.details.oneOf.0.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details.oneOf.0.items.[INDEX].field","typeLabel":"string | null"}},"type":"object","required":["message"],"title":"ErrorDetail","description":"A single structured sub-error (e.g. one field's validation failure).","uniqueKey":"error.details.oneOf.0.items.[INDEX]","typeLabel":"ErrorDetail · object"},"title":"Details","description":"Optional structured sub-errors (e.g. per-field validation failures).","uniqueKey":"error.details.oneOf.0","typeLabel":"ErrorDetail · object[]"},{"type":"null","title":"Details","description":"Optional structured sub-errors (e.g. per-field validation failures).","uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"ErrorDetail · object[] | null"}},"type":"object","required":["code","message"],"title":"ErrorBody","description":"The error body an end user receives when interacting with Apollo.\n\n``code`` is the stable, machine-readable branch point clients switch on.\n``message`` is human-readable and explicitly NOT part of the contract --\nit may change at any time and must never be parsed.","isRequired":true,"uniqueKey":"error","typeLabel":"ErrorBody · object"}},"type":"object","required":["error"],"title":"ErrorResponse","description":"The single envelope every Apollo error response conforms to.","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","request_id":"\u003cstring>","details":[{"message":"\u003cstring>","field":"\u003cstring>"}]}}}},"exampleType":"generated"}},"description":"Bad Request","exampleType":"generated"},"52c8f067-3ed5-4bba-8833-78a0684698ea":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"type":"string","title":"Code","description":"Stable, namespaced machine code clients branch on (e.g. \"not_found\" or \"agents.not_found\"). THE branch point -- open/extensible, append-only.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","title":"Message","description":"Human-readable explanation. NOT part of the contract; may change anytime. Clients must never parse or branch on this.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"oneOf":[{"type":"string","title":"Request Id","description":"Trace id for support correlation.","uniqueKey":"error.request_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Request Id","description":"Trace id for support correlation.","uniqueKey":"error.request_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.request_id","typeLabel":"string | null"},"details":{"oneOf":[{"type":"array","items":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"error.details.oneOf.0.items.[INDEX].message","typeLabel":"string"},"field":{"oneOf":[{"type":"string","title":"Field","uniqueKey":"error.details.oneOf.0.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","title":"Field","uniqueKey":"error.details.oneOf.0.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details.oneOf.0.items.[INDEX].field","typeLabel":"string | null"}},"type":"object","required":["message"],"title":"ErrorDetail","description":"A single structured sub-error (e.g. one field's validation failure).","uniqueKey":"error.details.oneOf.0.items.[INDEX]","typeLabel":"ErrorDetail · object"},"title":"Details","description":"Optional structured sub-errors (e.g. per-field validation failures).","uniqueKey":"error.details.oneOf.0","typeLabel":"ErrorDetail · object[]"},{"type":"null","title":"Details","description":"Optional structured sub-errors (e.g. per-field validation failures).","uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"ErrorDetail · object[] | null"}},"type":"object","required":["code","message"],"title":"ErrorBody","description":"The error body an end user receives when interacting with Apollo.\n\n``code`` is the stable, machine-readable branch point clients switch on.\n``message`` is human-readable and explicitly NOT part of the contract --\nit may change at any time and must never be parsed.","isRequired":true,"uniqueKey":"error","typeLabel":"ErrorBody · object"}},"type":"object","required":["error"],"title":"ErrorResponse","description":"The single envelope every Apollo error response conforms to.","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","request_id":"\u003cstring>","details":[{"message":"\u003cstring>","field":"\u003cstring>"}]}}}},"exampleType":"generated"}},"description":"Unauthorized","exampleType":"generated"},"300cf9c1-3d89-46be-ae63-fb7ebfd2cec4":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"type":"string","title":"Code","description":"Stable, namespaced machine code clients branch on (e.g. \"not_found\" or \"agents.not_found\"). THE branch point -- open/extensible, append-only.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","title":"Message","description":"Human-readable explanation. NOT part of the contract; may change anytime. Clients must never parse or branch on this.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"oneOf":[{"type":"string","title":"Request Id","description":"Trace id for support correlation.","uniqueKey":"error.request_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Request Id","description":"Trace id for support correlation.","uniqueKey":"error.request_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.request_id","typeLabel":"string | null"},"details":{"oneOf":[{"type":"array","items":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"error.details.oneOf.0.items.[INDEX].message","typeLabel":"string"},"field":{"oneOf":[{"type":"string","title":"Field","uniqueKey":"error.details.oneOf.0.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","title":"Field","uniqueKey":"error.details.oneOf.0.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details.oneOf.0.items.[INDEX].field","typeLabel":"string | null"}},"type":"object","required":["message"],"title":"ErrorDetail","description":"A single structured sub-error (e.g. one field's validation failure).","uniqueKey":"error.details.oneOf.0.items.[INDEX]","typeLabel":"ErrorDetail · object"},"title":"Details","description":"Optional structured sub-errors (e.g. per-field validation failures).","uniqueKey":"error.details.oneOf.0","typeLabel":"ErrorDetail · object[]"},{"type":"null","title":"Details","description":"Optional structured sub-errors (e.g. per-field validation failures).","uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"ErrorDetail · object[] | null"}},"type":"object","required":["code","message"],"title":"ErrorBody","description":"The error body an end user receives when interacting with Apollo.\n\n``code`` is the stable, machine-readable branch point clients switch on.\n``message`` is human-readable and explicitly NOT part of the contract --\nit may change at any time and must never be parsed.","isRequired":true,"uniqueKey":"error","typeLabel":"ErrorBody · object"}},"type":"object","required":["error"],"title":"ErrorResponse","description":"The single envelope every Apollo error response conforms to.","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","request_id":"\u003cstring>","details":[{"message":"\u003cstring>","field":"\u003cstring>"}]}}}},"exampleType":"generated"}},"description":"Forbidden","exampleType":"generated"},"4f5847dd-8ba8-44ca-bc63-bfdbed74fd9b":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"type":"string","title":"Code","description":"Stable, namespaced machine code clients branch on (e.g. \"not_found\" or \"agents.not_found\"). THE branch point -- open/extensible, append-only.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","title":"Message","description":"Human-readable explanation. NOT part of the contract; may change anytime. Clients must never parse or branch on this.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"oneOf":[{"type":"string","title":"Request Id","description":"Trace id for support correlation.","uniqueKey":"error.request_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Request Id","description":"Trace id for support correlation.","uniqueKey":"error.request_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.request_id","typeLabel":"string | null"},"details":{"oneOf":[{"type":"array","items":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"error.details.oneOf.0.items.[INDEX].message","typeLabel":"string"},"field":{"oneOf":[{"type":"string","title":"Field","uniqueKey":"error.details.oneOf.0.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","title":"Field","uniqueKey":"error.details.oneOf.0.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details.oneOf.0.items.[INDEX].field","typeLabel":"string | null"}},"type":"object","required":["message"],"title":"ErrorDetail","description":"A single structured sub-error (e.g. one field's validation failure).","uniqueKey":"error.details.oneOf.0.items.[INDEX]","typeLabel":"ErrorDetail · object"},"title":"Details","description":"Optional structured sub-errors (e.g. per-field validation failures).","uniqueKey":"error.details.oneOf.0","typeLabel":"ErrorDetail · object[]"},{"type":"null","title":"Details","description":"Optional structured sub-errors (e.g. per-field validation failures).","uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"ErrorDetail · object[] | null"}},"type":"object","required":["code","message"],"title":"ErrorBody","description":"The error body an end user receives when interacting with Apollo.\n\n``code`` is the stable, machine-readable branch point clients switch on.\n``message`` is human-readable and explicitly NOT part of the contract --\nit may change at any time and must never be parsed.","isRequired":true,"uniqueKey":"error","typeLabel":"ErrorBody · object"}},"type":"object","required":["error"],"title":"ErrorResponse","description":"The single envelope every Apollo error response conforms to.","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","request_id":"\u003cstring>","details":[{"message":"\u003cstring>","field":"\u003cstring>"}]}}}},"exampleType":"generated"}},"description":"Not Found","exampleType":"generated"},"326734c1-cb8d-4066-a813-9984f902c3aa":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"type":"string","title":"Code","description":"Stable, namespaced machine code clients branch on (e.g. \"not_found\" or \"agents.not_found\"). THE branch point -- open/extensible, append-only.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","title":"Message","description":"Human-readable explanation. NOT part of the contract; may change anytime. Clients must never parse or branch on this.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"oneOf":[{"type":"string","title":"Request Id","description":"Trace id for support correlation.","uniqueKey":"error.request_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Request Id","description":"Trace id for support correlation.","uniqueKey":"error.request_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.request_id","typeLabel":"string | null"},"details":{"oneOf":[{"type":"array","items":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"error.details.oneOf.0.items.[INDEX].message","typeLabel":"string"},"field":{"oneOf":[{"type":"string","title":"Field","uniqueKey":"error.details.oneOf.0.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","title":"Field","uniqueKey":"error.details.oneOf.0.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details.oneOf.0.items.[INDEX].field","typeLabel":"string | null"}},"type":"object","required":["message"],"title":"ErrorDetail","description":"A single structured sub-error (e.g. one field's validation failure).","uniqueKey":"error.details.oneOf.0.items.[INDEX]","typeLabel":"ErrorDetail · object"},"title":"Details","description":"Optional structured sub-errors (e.g. per-field validation failures).","uniqueKey":"error.details.oneOf.0","typeLabel":"ErrorDetail · object[]"},{"type":"null","title":"Details","description":"Optional structured sub-errors (e.g. per-field validation failures).","uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"ErrorDetail · object[] | null"}},"type":"object","required":["code","message"],"title":"ErrorBody","description":"The error body an end user receives when interacting with Apollo.\n\n``code`` is the stable, machine-readable branch point clients switch on.\n``message`` is human-readable and explicitly NOT part of the contract --\nit may change at any time and must never be parsed.","isRequired":true,"uniqueKey":"error","typeLabel":"ErrorBody · object"}},"type":"object","required":["error"],"title":"ErrorResponse","description":"The single envelope every Apollo error response conforms to.","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","request_id":"\u003cstring>","details":[{"message":"\u003cstring>","field":"\u003cstring>"}]}}}},"exampleType":"generated"}},"description":"Conflict","exampleType":"generated"},"4c0f155c-38d9-4ce9-9769-b1d424bc6e3d":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"type":"string","title":"Code","description":"Stable, namespaced machine code clients branch on (e.g. \"not_found\" or \"agents.not_found\"). THE branch point -- open/extensible, append-only.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","title":"Message","description":"Human-readable explanation. NOT part of the contract; may change anytime. Clients must never parse or branch on this.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"oneOf":[{"type":"string","title":"Request Id","description":"Trace id for support correlation.","uniqueKey":"error.request_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Request Id","description":"Trace id for support correlation.","uniqueKey":"error.request_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.request_id","typeLabel":"string | null"},"details":{"oneOf":[{"type":"array","items":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"error.details.oneOf.0.items.[INDEX].message","typeLabel":"string"},"field":{"oneOf":[{"type":"string","title":"Field","uniqueKey":"error.details.oneOf.0.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","title":"Field","uniqueKey":"error.details.oneOf.0.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details.oneOf.0.items.[INDEX].field","typeLabel":"string | null"}},"type":"object","required":["message"],"title":"ErrorDetail","description":"A single structured sub-error (e.g. one field's validation failure).","uniqueKey":"error.details.oneOf.0.items.[INDEX]","typeLabel":"ErrorDetail · object"},"title":"Details","description":"Optional structured sub-errors (e.g. per-field validation failures).","uniqueKey":"error.details.oneOf.0","typeLabel":"ErrorDetail · object[]"},{"type":"null","title":"Details","description":"Optional structured sub-errors (e.g. per-field validation failures).","uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"ErrorDetail · object[] | null"}},"type":"object","required":["code","message"],"title":"ErrorBody","description":"The error body an end user receives when interacting with Apollo.\n\n``code`` is the stable, machine-readable branch point clients switch on.\n``message`` is human-readable and explicitly NOT part of the contract --\nit may change at any time and must never be parsed.","isRequired":true,"uniqueKey":"error","typeLabel":"ErrorBody · object"}},"type":"object","required":["error"],"title":"ErrorResponse","description":"The single envelope every Apollo error response conforms to.","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","request_id":"\u003cstring>","details":[{"message":"\u003cstring>","field":"\u003cstring>"}]}}}},"exampleType":"generated"}},"description":"Unprocessable Content","exampleType":"generated"},"f2434526-a1ac-45f2-9869-b6e69964a9b2":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"type":"string","title":"Code","description":"Stable, namespaced machine code clients branch on (e.g. \"not_found\" or \"agents.not_found\"). THE branch point -- open/extensible, append-only.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","title":"Message","description":"Human-readable explanation. NOT part of the contract; may change anytime. Clients must never parse or branch on this.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"oneOf":[{"type":"string","title":"Request Id","description":"Trace id for support correlation.","uniqueKey":"error.request_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Request Id","description":"Trace id for support correlation.","uniqueKey":"error.request_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.request_id","typeLabel":"string | null"},"details":{"oneOf":[{"type":"array","items":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"error.details.oneOf.0.items.[INDEX].message","typeLabel":"string"},"field":{"oneOf":[{"type":"string","title":"Field","uniqueKey":"error.details.oneOf.0.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","title":"Field","uniqueKey":"error.details.oneOf.0.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details.oneOf.0.items.[INDEX].field","typeLabel":"string | null"}},"type":"object","required":["message"],"title":"ErrorDetail","description":"A single structured sub-error (e.g. one field's validation failure).","uniqueKey":"error.details.oneOf.0.items.[INDEX]","typeLabel":"ErrorDetail · object"},"title":"Details","description":"Optional structured sub-errors (e.g. per-field validation failures).","uniqueKey":"error.details.oneOf.0","typeLabel":"ErrorDetail · object[]"},{"type":"null","title":"Details","description":"Optional structured sub-errors (e.g. per-field validation failures).","uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"ErrorDetail · object[] | null"}},"type":"object","required":["code","message"],"title":"ErrorBody","description":"The error body an end user receives when interacting with Apollo.\n\n``code`` is the stable, machine-readable branch point clients switch on.\n``message`` is human-readable and explicitly NOT part of the contract --\nit may change at any time and must never be parsed.","isRequired":true,"uniqueKey":"error","typeLabel":"ErrorBody · object"}},"type":"object","required":["error"],"title":"ErrorResponse","description":"The single envelope every Apollo error response conforms to.","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","request_id":"\u003cstring>","details":[{"message":"\u003cstring>","field":"\u003cstring>"}]}}}},"exampleType":"generated"}},"description":"Internal Server Error","exampleType":"generated"}},"security":{"be432e40-d66f-40c5-84d1-e22366200ad0":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Access token from `POST /management/v1/auth/token` (publishable-key exchange) or a login session. Publishable-key tokens are agent-scoped and serve the messaging surface; login tokens also serve management.","scopes":[],"schemeName":"bearerAuth"}},"7009ae76-88cd-4495-a82d-694b0d082f55":{"organizationApiKey":{"type":"apiKey","in":"header","name":"x-organization-api-key","description":"Organization API key — alternative to a Bearer token on the management surface.","scopes":[],"schemeName":"organizationApiKey"}}},"servers":{"16cfb25d-4995-4c00-931e-8fa5d7f8f35e":{"url":"https://api-v3.aui.io/apollo-api"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Access token from `POST /management/v1/auth/token` (publishable-key exchange) or a login session. Publishable-key tokens are agent-scoped and serve the messaging surface; login tokens also serve management.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Access token from `POST /management/v1/auth/token` (publishable-key exchange) or a login session. Publishable-key tokens are agent-scoped and serve the messaging surface; login tokens also serve management.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-organization-api-key","description":"Organization API key — alternative to a Bearer token on the management surface.","scopes":[],"schemeName":"organizationApiKey"},"schema":{"title":"x-organization-api-key","type":"string","description":"Organization API key — alternative to a Bearer token on the management surface.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"organizationApiKey","name":"x-organization-api-key"}],"title":"organizationApiKey"}]},"originalFileLocation":"https://api-v3.aui.io/apollo-api/openapi.json"},"subdomain":"aui-72a32030","siteName":"AUI","title":"Archive a version - AUI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-10T19:01:06.704Z","originalFileLocation":"api-reference/agent-versions/archive-a-version.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=\"Archive a version to retire it from everyday use. The agent\u0026#x27;s live version can\u0026#x27;t be archived — publish another version first.\">\u003cmeta data-mint-head name=\"application-name\" content=\"AUI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/aui-72a32030/RfA3dDXbDSBSzR16/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/aui-72a32030/RfA3dDXbDSBSzR16/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/aui-72a32030/RfA3dDXbDSBSzR16/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/aui-72a32030/RfA3dDXbDSBSzR16/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/aui-72a32030/RfA3dDXbDSBSzR16/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/aui-72a32030/RfA3dDXbDSBSzR16/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/aui-72a32030/RfA3dDXbDSBSzR16/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/aui-72a32030/RfA3dDXbDSBSzR16/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/aui-72a32030/RfA3dDXbDSBSzR16/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Archive a version - AUI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Archive a version to retire it from everyday use. The agent\u0026#x27;s live version can\u0026#x27;t be archived — publish another version first.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"AUI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.aui.io/api-reference/agent-versions/archive-a-version\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://aui-72a32030.mintlify.site/_mintlify/api/og/v2?division=Agent+Versions\u0026amp;title=Archive+a+version\u0026amp;description=Archive+a+version+to+retire+it+from+everyday+use.+The+agent%27s+live%0Aversion+can%27t+be+archived+%E2%80%94+publish+another+version+first.\u0026amp;theme=363429a1c95a9ad16ac09e61\u0026amp;signature=9609f83290771c3bb65d4f4cfa3cc25a5e6fed8184c0c130e583d82d98d68836\">\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=\"Archive a version - AUI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Archive a version to retire it from everyday use. The agent\u0026#x27;s live version can\u0026#x27;t be archived — publish another version first.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://aui-72a32030.mintlify.site/_mintlify/api/og/v2?division=Agent+Versions\u0026amp;title=Archive+a+version\u0026amp;description=Archive+a+version+to+retire+it+from+everyday+use.+The+agent%27s+live%0Aversion+can%27t+be+archived+%E2%80%94+publish+another+version+first.\u0026amp;theme=363429a1c95a9ad16ac09e61\u0026amp;signature=9609f83290771c3bb65d4f4cfa3cc25a5e6fed8184c0c130e583d82d98d68836\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/aui-72a32030/RfA3dDXbDSBSzR16/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"AUI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7C4DFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.aui.io/api-reference/agent-versions/archive-a-version\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/agent-versions/archive-a-version.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.aui.io/#organization\",\"name\":\"AUI\",\"url\":\"https://docs.aui.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/aui-72a32030/ApeN3-FD02plsaZg/logo/aui-logo-light.svg?fit=max\u0026auto=format\u0026n=ApeN3-FD02plsaZg\u0026q=85\u0026s=c8e9e8e5ee621ccaad768d8c2f298c40\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.aui.io#website\",\"name\":\"AUI\",\"url\":\"https://docs.aui.io\",\"publisher\":{\"@id\":\"https://docs.aui.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.aui.io/api-reference/agent-versions/archive-a-version#webpage\",\"url\":\"https://docs.aui.io/api-reference/agent-versions/archive-a-version\",\"name\":\"Archive a version\",\"description\":\"Archive a version to retire it from everyday use. The agent's live version can't be archived — publish another version first.\",\"dateModified\":\"2026-11-10T19:01:06.704Z\",\"isPartOf\":{\"@id\":\"https://docs.aui.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.aui.io/api-reference/agent-versions/archive-a-version#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.aui.io/api-reference/agent-versions/archive-a-version#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Agent Versions\",\"item\":\"https://docs.aui.io/api-reference/agent-versions/list-versions\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Archive a version\",\"item\":\"https://docs.aui.io/api-reference/agent-versions/archive-a-version\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.aui.io/api-reference/agent-versions/archive-a-version#apireference\",\"headline\":\"Archive a version\",\"name\":\"Archive a version\",\"description\":\"Archive a version to retire it from everyday use. The agent's live version can't be archived — publish another version first.\",\"url\":\"https://docs.aui.io/api-reference/agent-versions/archive-a-version\",\"mainEntityOfPage\":{\"@id\":\"https://docs.aui.io/api-reference/agent-versions/archive-a-version#webpage\"},\"dateModified\":\"2026-11-10T19:01:06.704Z\",\"publisher\":{\"@id\":\"https://docs.aui.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.aui.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"AUI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"AUI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/agent-versions/archive-a-version.md","siteName":"AUI","nav":{"global":{"anchors":[{"anchor":"Playground","icon":"browser","href":"https://apollo.aui.io"},{"anchor":"Website","icon":"globe","href":"https://www.aui.io"},{"anchor":"GitHub","icon":"github","href":"https://github.com/aui-io"}]},"tabs":[{"tab":"Introduction","icon":"book-open","pages":[{"title":"Introduction","href":"/introduction"}]},{"tab":"CLI","icon":"terminal","pages":[{"title":"CLI","href":"/cli/overview"}]},{"tab":"SDK","icon":"cube","pages":[{"title":"SDK","href":"/sdk/overview"}]},{"tab":"API","icon":"message","pages":[{"title":"API","href":"/api/overview"}]},{"tab":"API Reference","icon":"code","groups":[{"group":"Health","pages":[{"title":"Health check","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json get /health","href":"/api-reference/health/health-check"}]},{"group":"Agents","pages":[{"title":"List agents","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json get /management/v1/projects/{projectId}/agents","href":"/api-reference/agents/list-agents"},{"title":"Create agent","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json post /management/v1/projects/{projectId}/agents","href":"/api-reference/agents/create-agent"},{"title":"Get an agent","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json get /management/v1/agents/{agentId}","href":"/api-reference/agents/get-an-agent"},{"title":"Delete an agent","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json delete /management/v1/agents/{agentId}","href":"/api-reference/agents/delete-an-agent"},{"title":"Update an agent","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json patch /management/v1/agents/{agentId}","href":"/api-reference/agents/update-an-agent"},{"title":"Get agent usage","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json get /management/v1/agents/{agentId}/usage","href":"/api-reference/agents/get-agent-usage"}]},{"group":"Agent Versions","pages":[{"title":"List versions","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json get /management/v1/agents/{agentId}/versions","href":"/api-reference/agent-versions/list-versions"},{"title":"Create a draft version","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json post /management/v1/agents/{agentId}/versions","href":"/api-reference/agent-versions/create-a-draft-version"},{"title":"Update a version","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json patch /management/v1/agents/{agentId}/versions/{versionId}","href":"/api-reference/agent-versions/update-a-version"},{"title":"Publish a version","description":"Make this version the agent's live version. Publishing a draft freezes\nit first; publishing an already-published version re-activates it — the\nsame call handles shipping, switching, and rolling back.","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json post /management/v1/agents/{agentId}/versions/{versionId}/publish","href":"/api-reference/agent-versions/publish-a-version"},{"title":"Archive a version","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json post /management/v1/agents/{agentId}/versions/{versionId}/archive","href":"/api-reference/agent-versions/archive-a-version"},{"title":"Push a configuration bundle","description":"Upload a configuration bundle to a version, committing a new revision.\nThe response carries the new revision's tag and content digest.","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json post /management/v1/agents/{agentId}/versions/{versionId}/push","href":"/api-reference/agent-versions/push-a-configuration-bundle"},{"title":"Pull a configuration bundle","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json get /management/v1/agents/{agentId}/versions/{versionId}/pull","href":"/api-reference/agent-versions/pull-a-configuration-bundle"}]},{"group":"Projects","pages":[{"title":"List projects","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json get /management/v1/projects","href":"/api-reference/projects/list-projects"},{"title":"Create project","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json post /management/v1/projects","href":"/api-reference/projects/create-project"},{"title":"Get a project","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json get /management/v1/projects/{projectId}","href":"/api-reference/projects/get-a-project"},{"title":"Delete a project","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json delete /management/v1/projects/{projectId}","href":"/api-reference/projects/delete-a-project"},{"title":"Get project usage","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json get /management/v1/projects/{projectId}/usage","href":"/api-reference/projects/get-project-usage"}]},{"group":"Threads","pages":[{"title":"List threads","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json get /management/v1/threads","href":"/api-reference/threads/list-threads"},{"title":"Get a thread","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json get /management/v1/threads/{threadId}","href":"/api-reference/threads/get-a-thread"},{"title":"Update a thread","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json patch /management/v1/threads/{threadId}","href":"/api-reference/threads/update-a-thread"},{"title":"List thread traces","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json get /management/v1/threads/{threadId}/trace","href":"/api-reference/threads/list-thread-traces"},{"title":"Get an interaction's trace","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json get /management/v1/interactions/{interactionId}/trace","href":"/api-reference/threads/get-an-interactions-trace"},{"title":"List thread messages","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json get /management/v1/threads/{threadId}/messages","href":"/api-reference/threads/list-thread-messages"}]},{"group":"Messaging","pages":[{"title":"Send a message","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json post /messaging/v1/messages","href":"/api-reference/messaging/send-a-message"},{"title":"Stream a message","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json post /messaging/v1/messages/stream","href":"/api-reference/messaging/stream-a-message"},{"title":"Create an upload","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json post /messaging/v1/uploads","href":"/api-reference/messaging/create-an-upload"},{"title":"Rerun an interaction","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json post /messaging/v1/threads/{threadId}/rerun","href":"/api-reference/messaging/rerun-an-interaction"},{"title":"List thread messages","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json get /messaging/v1/threads/{threadId}/messages","href":"/api-reference/messaging/list-thread-messages"},{"title":"Get trace by thread","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json get /messaging/v1/threads/{threadId}/trace","href":"/api-reference/messaging/get-trace-by-thread"},{"title":"Get trace by interaction","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json get /messaging/v1/interactions/{interactionId}/trace","href":"/api-reference/messaging/get-trace-by-interaction"},{"title":"Get follow-up suggestions","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json post /messaging/v1/followup-suggestions","href":"/api-reference/messaging/get-follow-up-suggestions"},{"title":"Get the welcome message","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json post /messaging/v1/welcome-message","href":"/api-reference/messaging/get-the-welcome-message"}]},{"group":"Channels","pages":[{"title":"Start a channel thread","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json post /messaging/v1/channels/{channel}/threads","href":"/api-reference/channels/start-a-channel-thread"}]},{"group":"Auth","pages":[{"title":"Get an access token","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json post /management/v1/auth/token","href":"/api-reference/auth/get-an-access-token"}]},{"group":"Webhooks","pages":[{"title":"Send an event to trigger the agent","deprecated":null,"version":null,"openapi":"https://api-v3.aui.io/apollo-api/openapi.json post /messaging/v1/events","href":"/api-reference/webhooks/send-an-event-to-trigger-the-agent"}]}]}]},"basePath":"","title":"Archive a version - AUI","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C9Wu0MeN.js","utils-jWgu-6Qf.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DBD8f9qn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BGuX1ui5.js","snippetPresets-Evy63nQB.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BQHO1lnV.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-B6C8m-t_.js","shallow-BG4cT0fH.js","getApiPlaygroundDisplay-CgEPrE-D.js","CodeSnippet-CU8JyZ9N.js","CodeSnippets-BnxHU32T.js","Page-D6S0Yh6q.js","getPastedJson-CwiYOonh.js","icon-DYDpWmDf.js","MethodPill-C-J-l7_c.js","DuplicateIcon-B6ARwg9w.js","createIcon-Dsv4MtDq.js","DynamicMarkdown-CtasenyM.js","SectionHeading-YNcgYwjB.js","axios-vUo_bRtp.js","Markdown-CwLx6PAg.js","clsx-C3kuh_dz.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CmKHfscc.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-U3mI6Ljh.js"]}