Archive agent
Archive (soft-delete) a custom agent. Archived agents are omitted from list and get responses and cannot start new sessions. The agent's Slack user group is disabled and its avatar is deleted. The API key user must be the creator, a contributor, or an Inspect admin. Archived agents cannot be restored through the API.
Base URL
DELETE
Archive (soft-delete) a custom agent. Archived agents are omitted from list and get responses and cannot start new sessions. The agent's Slack user group is disabled and its avatar is deleted. The API key user must be the creator, a contributor, or an Inspect admin. Archived agents cannot be restored through the API.
bearerAuth agents:writeheader
AuthorizationBearer <token>API key authentication. Use your API key as the bearer token.
Scope: agents:write
agent_id*stringAgent ID
Custom agent archived
curl -X DELETE 'https://app.inspect.com/api/v2/agents/r4t8w2n6b9qe'Example Response
Empty