Skip to main content
GET
/
v1
/
agents
curl https://api.dari.dev/v1/agents \
  -H "Authorization: Bearer $DARI_API_KEY"
{
  "agents": [
    {
      "id": "agt_123",
      "name": "support-agent",
      "active_version_id": "ver_9",
      "created_at": "2026-04-20T12:34:56Z",
      "deleted_at": null
    }
  ]
}
Returns every non-deleted agent owned by the organization that issued the API key, ordered by creation time (oldest first).

Headers

Authorization
string
required
Bearer token using your Dari API key.

Response Fields

agents
array
Array of agent summaries. Each entry has the following fields:
curl https://api.dari.dev/v1/agents \
  -H "Authorization: Bearer $DARI_API_KEY"
{
  "agents": [
    {
      "id": "agt_123",
      "name": "support-agent",
      "active_version_id": "ver_9",
      "created_at": "2026-04-20T12:34:56Z",
      "deleted_at": null
    }
  ]
}