---
title: "List active sessions"
method: GET
path: "/api/active-sessions"
tags: ["Active Sessions"]
---

# List active sessions

`GET /api/active-sessions`

## Query parameters

- `agentId` string

## Response `200`

Active session list

- object
  - `sessions` ActiveSession[], required
    - `id` string, uuid, required
    - `agentId` string, required
    - `taskId` string, nullable, required
    - `triggerType` string, required
    - `inboxMessageId` string, nullable, required
    - `taskDescription` string, nullable, required
    - `runnerSessionId` string, nullable, required
    - `providerSessionId` string, nullable, required
    - `runtimeInstanceId` string, nullable
    - `startedAt` string, date-time, required
    - `lastHeartbeatAt` string, date-time, required

## Changes

- **2026-08-19** `ea4adca6e927` — 1 info
  - added the optional property `sessions/items/runtimeInstanceId` to the response with the `200` status
- **2026-08-07** `06cac6a7c5bc` — 1 info
  - added the media type `application/json` for the response with the status `200`
- **2026-07-28** `cf533d6b49b0` — 1 info
  - for the `query` request parameter `agentId`, the format was generalized from `uuid` to no format

[Change history](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/changes/api/active-sessions/get.md)

---

[API](https://skmtc.dev/desplega-ai/apis/agent-swarm-api.md) · [All operations](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/desplega-ai/agent-swarm-api/revisions/e0acd2155cad/schema)
