Archive agent
Changed onArchives 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.
Request
- Base URLhttps://api.omnara.com/v1
- Auth
- HTTP bearer
- or API key in cookie __Host-omnara_session and API key in header X-Omnara-Csrf
Path parameters
Organization ID (org_...).
Project ID (proj_...).
Agent ID (agt_...).
Response
The archived agent.
Changes
- info
added the required property
agent/usage/cost/effective_usdto the response with the status - info
added the required property
agent/usage/cost/model_calls_with_effective_costto the response with the status
- info
- info
added the required property
agent/activity/open_interactionsto the response with the status
2 more changes in this revision
- info