Archive agent
agents_archiveArchive an agent to cancel its runtime, queued inputs, and cron triggers, release machine bindings, delete pooled machines, and keep history readable by ID.
Instructions
Archives the agent: requests cancellation of its active runtime, cancels queued inputs and affected processes, removes its pending wakeup, releases explicit machine bindings, deletes pooled machines created for the agent, and deletes cron triggers targeting the agent. The agent and its full event history stay readable by id; archived agents leave listings. The agent's profile and configuration are retained, as are explicitly attached BYO machines. Archiving an already-archived agent is a no-op that returns the agent unchanged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orgID | Yes | Organization ID (org_...). | |
| agentID | Yes | Agent ID (agt_...). | |
| projectID | Yes | Project ID (proj_...). |