Skip to content

Archive Agent

POST/v1/agents/{agent_id}/archive

Archive an agent. Existing sessions keep their agent snapshot, while new sessions can no longer reference the archived agent.

Path parameters

stringagent_idrequired

Unique agent identifier beginning with agent_.

Soft delete

Archiving is designed as a soft delete. Existing sessions continue to run from their pinned agent snapshot.

Errors

401authentication_error

The API key is missing or invalid.

404not_found

The agent does not exist.