---
title: "GET /api/v1/agent/swarms/{swarm_id}/events"
method: GET
path: "/api/v1/agent/swarms/{swarm_id}/events"
tags: ["agent"]
---

# GET /api/v1/agent/swarms/{swarm_id}/events

`GET /api/v1/agent/swarms/{swarm_id}/events`

## Request

- Base URL: `https://composal.com` (the document declares no server; this is the origin it was published from)
- URL: `https://composal.com/api/v1/agent/swarms/{swarm_id}/events`
- Auth: HTTP bearer

## Path parameters

- `swarm_id` string, required

## Query parameters

- `after` integer
- `kind` string
- `limit` integer

## Response `200`

The swarm's decision log, oldest first

- object
  - `events` AgentSwarmEvent[], required
    - `id` integer, required
    - `agent_swarm_id` string, required
    - `task_id` string, nullable, required
    - `attempt_id` string, nullable, required
    - `kind` string, required
    - `reason` string, nullable, required
    - `scheduler_generation` integer, nullable, required
    - `payload` object, required
    - `created_at` string, date-time, required
    - `created_at_label` string, nullable, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Invalid agent swarm request
- `422`: Unprocessable entity
- `502`: Bad gateway

---

[API](https://skmtc.dev/composal/apis/vex-api.md) - [All operations](https://skmtc.dev/composal/apis/vex-api/llms.txt) - [OpenAPI document](https://skmtc.dev/composal/apis/vex-api/revisions/74298a24e040?raw)
