Agents

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.

post/orgs/{orgID}/projects/{projectID}/agents/{agentID}/archive

Request

  • Base URL
    https://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

orgID, string required

Organization ID (org_...).

projectID, string required

Project ID (proj_...).

agentID, string required

Agent ID (agt_...).

Response

The archived agent.

CurrentAgentResponse required
agent, Agent required

Changes

    • info

      added the required property agent/usage/cost/effective_usd to the response with the status

    • info

      added the required property agent/usage/cost/model_calls_with_effective_cost to the response with the status

    • info

      added the required property agent/activity/open_interactions to the response with the status

    2 more changes in this revision