Skip to main content
GET
/
api
/
organizations
/
{organization_uid}
/
agents
/
activities
Organization activities
curl --request GET \
  --url https://api.example.com/api/organizations/{organization_uid}/agents/activities
Returns a paginated list of agent runs across all agents in an organization. Same filtering, pagination, and response shape as the per-agent List activities endpoint. To resolve agent details (name, type) for each run, use include=agent and optionally fields[agents]=name,agent_type.

Path parameters

organization_uid
string
required
UUID of the organization.

Query parameters

Accepts the same query parameters as List activities: status, started_on_from, started_on_to, completed_on_from, completed_on_to, created_on_from, created_on_to, has_started, has_completed, group_by, sort, page, per_page, and fields[agent-runs].

Response

{
  "status": "success",
  "status_code": 200,
  "data": {
    "items": [
      {
        "id": "run-uuid-1",
        "type": "agent-runs",
        "attributes": {
          "agent_uid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
          "agent_version_uid": "ver-uuid-1",
          "scratchpad_uid": "sp-uuid-1",
          "workflow_id": "agent-loop-a1b2c3d4",
          "approach": "loop",
          "status": "completed",
          "sandbox": false,
          "trigger_type": "email_received",
          "started_on": "2026-03-19T14:30:00Z",
          "completed_on": "2026-03-19T14:31:15Z",
          "created_on": "2026-03-19T14:30:00Z"
        }
      },
      {
        "id": "run-uuid-2",
        "type": "agent-runs",
        "attributes": {
          "agent_uid": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
          "agent_version_uid": "ver-uuid-2",
          "scratchpad_uid": "sp-uuid-2",
          "workflow_id": "agent-loop-b2c3d4e5",
          "approach": "loop",
          "status": "failed",
          "sandbox": true,
          "trigger_type": "invoice",
          "started_on": "2026-03-19T15:00:00Z",
          "completed_on": "2026-03-19T15:00:45Z",
          "created_on": "2026-03-19T15:00:00Z"
        }
      }
    ],
    "_meta": {
      "page": 1,
      "per_page": 10,
      "total_pages": 3,
      "total_items": 28
    }
  }
}

Errors

StatusReason
404Organization not found
403User is not a member of the organization or lacks activity view permission