Archive an upstream MCP server
Answers 404 where the mcp-upstreams feature is off. Archives the server and every action adopted from it, as deleting an action does: they leave the actions list and their names are free again. Their versions and call history stay. Archiving an archived upstream changes nothing.
/api/v2/mcp-upstreams/{id}/archiveAuthorizationBearer token (Anlyon API key) · headerrequiredWorkspace API key sent as Authorization: Bearer <key>.
better-auth.session_tokenAPI key · cookierequiredBrowser session used by dashboard-only operations.
idstringrequiredThe upstream's id (mcpu_...).
X-Request-IdstringOptional caller correlation ID. Unsafe or oversized values are replaced.
The archived upstream, and how many actions were archived with it.
successbooleanrequireddataobjectrequiredShow propertiesHide properties
idstringrequirednamestringrequiredurlstring<uri>requiredheadersobjectrequiredSent on every request. Credentials appear only as secret references.
registryNamestring | nullrequiredprotocolVersionstring | nullrequiredtransportstring | nullrequiredHow the server is reached, as the last listing found: Streamable HTTP, or the older HTTP+SSE transport (MCP 2024-11-05) Anlyon falls back to when the server answers 400, 404 or 405. Null until a listing has worked.
streamable-httpssenullserverInfoobject | nullrequiredtoolsMcpToolSnapshot[]requiredShow propertiesHide properties
McpToolSnapshotnamestringrequiredhashstringrequiredsha256 of the tool's normalised definition
definitionobjectrequiredsuggestedClassstringrequiredreadwriteirreversibledestructivereasonsstring[]requiredschemaCheckMcpSchemaCheckrequiredHow a tool's arguments are checked. full: against its whole input schema (JSON Schema drafts 2020-12, 2019-09, 07 and 04). loose: the schema uses something Anlyon does not check, so only that the arguments are a JSON object of at most 256 KiB. A loose tool is still pinned by hash, and approval is always suggested for it.
fulllooseschemaCheckReasonMcpSchemaCheckReason | nullrequiredWhy a tool is loosely checked; null when it is checked in full. remote_ref: a $ref points outside the schema, and nothing is fetched. too_large: the schema is past a size, depth or reference limit. unsafe_pattern: a pattern could backtrack catastrophically or is too long. invalid_schema: the schema is not valid JSON Schema. unsupported_keyword: $dynamicRef or $recursiveRef. unknown_dialect: $schema names a dialect Anlyon does not know. ref_cycle: a $ref leads back to itself without moving into the value.
remote_reftoo_largeunsafe_patterninvalid_schemaunsupported_keywordunknown_dialectref_cyclenulltoolsHashstring | nullrequiredThe hash of the whole listing
listedAtstring<date-time> | nullrequiredlastErrorobject | nullrequiredlistedWithstring | nullrequiredHow the last listing was made: without a credential, with the headers, or with the operator's own OAuth grant.
anonymousheadersoperatornullcheckobjectrequiredWhether Anlyon can re-list the server by itself, and when it last tried.
Show propertiesHide properties
statusstringrequiredfailed: nothing is known since listedAt. needs_sign_in: it cannot be checked until someone connects their own account. An end user's sign-in is never used for it.
okfailedneeds_sign_inpendingcheckedAtstring<date-time> | nullrequirednextCheckAtstring<date-time> | nullrequiredfailuresintegerrequiredFailed checks in a row.
changesobject[]requiredHow the last listing differs from what was adopted. Finding a change adopts nothing and enables nothing. tool and before are the server's text, untrusted.
Show propertiesHide properties
objecttoolstringrequiredkindstringrequiredchanged and removed are adopted tools, refused at dispatch until re-adopted. added is shown and never adopted.
changedremovedaddedactionstring | nullrequiredactionIdstring | nullrequiredpinnedHashstring | nullrequiredcurrentHashstring | nullrequiredsuggestedClassstring | nullrequiredreadwriteirreversibledestructivenullbeforeobject | nullrequiredThe definition at the pin
detectedAtstring<date-time>requiredoauthobject | nullrequiredSet for an upstream that signs people in with OAuth (ADR 0026). Never a token or a secret.
Show propertiesHide properties
resourcestring<uri>requiredissuerstring<uri>requiredauthorizationServersstring[]requiredEvery authorization server the resource named; issuer is the one in use.
authorizationEndpointstring<uri>requiredtokenEndpointstring<uri>requiredscopesSupportedstring[]requiredscopesstring[]requiredclientIdstringrequiredThe operator's client id
clientRegistrationstringrequiredpre_registeredclient_metadata_documentdynamicadvertisedobjectrequiredShow propertiesHide properties
dynamicRegistrationbooleanrequiredclientIdMetadataDocumentsbooleanrequiredpkceS256booleanrequiredpublicClientbooleanrequiredredirectUristring<uri>requiredoperatorConnectedbooleanrequiredadoptedobject[]requiredShow propertiesHide properties
objecttoolstringrequiredactionstringrequiredactionIdstringrequiredenabledbooleanrequiredstatestringrequiredcurrentchangedmissingtoolHashstringrequiredThe definition this action is pinned to.
requiresApprovalbooleanrequiredschemaCheckMcpSchemaCheckrequiredHow a tool's arguments are checked. full: against its whole input schema (JSON Schema drafts 2020-12, 2019-09, 07 and 04). loose: the schema uses something Anlyon does not check, so only that the arguments are a JSON object of at most 256 KiB. A loose tool is still pinned by hash, and approval is always suggested for it.
fulllooseschemaCheckReasonMcpSchemaCheckReason | nullrequiredWhy a tool is loosely checked; null when it is checked in full. remote_ref: a $ref points outside the schema, and nothing is fetched. too_large: the schema is past a size, depth or reference limit. unsafe_pattern: a pattern could backtrack catastrophically or is too long. invalid_schema: the schema is not valid JSON Schema. unsupported_keyword: $dynamicRef or $recursiveRef. unknown_dialect: $schema names a dialect Anlyon does not know. ref_cycle: a $ref leads back to itself without moving into the value.
remote_reftoo_largeunsafe_patterninvalid_schemaunsupported_keywordunknown_dialectref_cyclenullarchivedAtstring<date-time> | nullrequiredcreatedAtstring<date-time>requiredupdatedAtstring<date-time>requiredarchivedActionsintegerrequiredThe actions adopted from this server that were archived with it. 0 when it was already archived.
Unauthorized - Invalid or missing API key
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectfixErrorFixHow to get past this error, for a person or an agent. Present on refusals with a known next step, such as a missing scope or role, a plan or billing limit, a halted environment, or a missing secret, connected account, OAuth app or end-user header. Absent when there is no fix to give. Kept in production responses, unlike details.
Show propertiesHide properties
summarystringrequiredOne sentence that says what to do.
commandstringAn exact anlyon CLI command that fixes it. Absent when no command does.
urlstring<uri>An absolute console link where a person fixes it.
docsstring<uri>A docs page that explains it.
Authenticated credential lacks the required scope or workspace access.
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectfixErrorFixHow to get past this error, for a person or an agent. Present on refusals with a known next step, such as a missing scope or role, a plan or billing limit, a halted environment, or a missing secret, connected account, OAuth app or end-user header. Absent when there is no fix to give. Kept in production responses, unlike details.
Show propertiesHide properties
summarystringrequiredOne sentence that says what to do.
commandstringAn exact anlyon CLI command that fixes it. Absent when no command does.
urlstring<uri>An absolute console link where a person fixes it.
docsstring<uri>A docs page that explains it.
Not Found - Resource does not exist
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectfixErrorFixHow to get past this error, for a person or an agent. Present on refusals with a known next step, such as a missing scope or role, a plan or billing limit, a halted environment, or a missing secret, connected account, OAuth app or end-user header. Absent when there is no fix to give. Kept in production responses, unlike details.
Show propertiesHide properties
summarystringrequiredOne sentence that says what to do.
commandstringAn exact anlyon CLI command that fixes it. Absent when no command does.
urlstring<uri>An absolute console link where a person fixes it.
docsstring<uri>A docs page that explains it.
Too Many Requests - Rate limit exceeded. A workspace's API requests are limited per minute and per UTC clock hour by plan; Retry-After says when to try again, and an hourly refusal names the limit and when the count resets. Successful responses carry the same limits in X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset (the minute) and X-RateLimit-Limit-Hour, X-RateLimit-Remaining-Hour, X-RateLimit-Reset-Hour (the hour).
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectfixErrorFixHow to get past this error, for a person or an agent. Present on refusals with a known next step, such as a missing scope or role, a plan or billing limit, a halted environment, or a missing secret, connected account, OAuth app or end-user header. Absent when there is no fix to give. Kept in production responses, unlike details.
Show propertiesHide properties
summarystringrequiredOne sentence that says what to do.
commandstringAn exact anlyon CLI command that fixes it. Absent when no command does.
urlstring<uri>An absolute console link where a person fixes it.
docsstring<uri>A docs page that explains it.

