Agents

Returns one agent's state, model, profile, current config ID, activity (running, waiting_on_interaction, idle, or archived), attached machines, and MCP connection states. The conversation isn't included.

get/orgs/{orgID}/projects/{projectID}/agents/{agentID}

Request

  • Base URL
    https://api.omnara.com/v1
  • Auth
    • HTTP bearer
    • or API key in cookie __Host-omnara_session

Path parameters

orgID, string required

Organization ID (org_...).

projectID, string required

Project ID (proj_...).

agentID, string required

Agent ID (agt_...).

Response

Agent.

GetAgentResponse required
agent, Agent required
machine_ids, MachineID[] required

Machines currently attached to the agent, in binding creation order.

mcp_connections, AgentMCPConnection[] required

The agent's MCP server connections, ordered by server key.

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