---
title: "List fleet sessions"
url: https://hexelstudio.com/docs/api/titan/administration/fleet
---

# List fleet sessions

**GET** `/titan/admin/fleet`

## Query parameters

- `agent_id: optional string`

- `deployment_id: optional string`

- `state: optional string`

  One of: `"connected"`, `"idle"`, `"disconnected"`, `"suspended"`, `"killed"`

- `outdated: optional string`

  true: only sessions on an old agent revision or client version (or, with fleet health reports on, a stale artifact digest); false: only the others.

  One of: `"true"`, `"false"`

- `limit: optional integer`

  Default: `50`

- `cursor: optional string`

## Headers

- `Authorization: string`

  `Bearer <token>`. A Hexel Studio access token for a member or a service user of your organization (or send a service user's API key as X-API-Key).

- `Titan-Enforcement-Deployment: optional string`

  The enforcement deployment this call acts on (its td-... id). Required on the shared plane, where one Gateway serves many tenants and there is no default: a missing, unknown, repeated or other organization's deployment answers 403, like a failed authorization. Optional on a dedicated cell, which defaults to its one deployment.

## Returns

`200` Successful response; exact status varies by operation. (`object`)

- `items: array of object`

  - `agent_id: string`

  - `agent_revision_id: string`

  - `applied_config_version: integer`

  - `channel: string`

    One of: `"none"`, `"connected"`, `"disconnected"`

  - `client_profile: string`

  - `client_version: string`

  - `config_status: string`

    One of: `"applied"`, `"rejected"`

  - `config_version: integer`

  - `connected_at: string`

  - `created_at: string`

  - `current_agent_revision_id: string`

  - `deployment_id: string`

  - `disconnected_at: string`

  - `enforcement_deployment_id: string`

  - `environment_id: string`

  - `expires_at: string`

  - `instance_id: string`

  - `kill_scope: string`

    One of: `"none"`, `"session"`, `"agent"`, `"deployment"`, `"environment"`, `"workspace"`, `"organization"`, `"unknown"`

  - `killed: boolean`

  - `last_activity_at: string`

  - `last_exchange_at: string`

  - `last_heartbeat_at: string`

  - `latest_client_version: string`

  - `outdated: boolean`

  - `outdated_reasons: array of string`

  - `reports: optional object`

    - `artifact_digest: string`

    - `artifact_reported_at: string`

    - `current_artifact_digest: string`

    - `health: string`

      One of: `"healthy"`, `"degraded"`, `"unhealthy"`, `"unknown"`

    - `health_reported_at: string`

  - `runtime_class: string`

  - `runtime_principal_id: string`

  - `session_id: string`

  - `session_state: string`

    One of: `"active"`, `"suspended"`, `"revoked"`, `"expired"`, `"closed"`

  - `source_type: string`

  - `state: string`

    One of: `"connected"`, `"idle"`, `"disconnected"`, `"suspended"`, `"killed"`

  - `workspace_id: string`

- `limit: integer`

- `next_cursor: string`

## Errors

- `400` Admin error
- `403` Admin error
- `503` Admin error

## Example

```bash
curl --request GET \
  --url 'https://api.hexelstudio.com/v1/titan/admin/fleet' \
  --header "Authorization: Bearer $ACCESS_TOKEN"
```

### Response (200)

```json
{
  "items": [
    {
      "agent_id": "string",
      "agent_revision_id": "string",
      "applied_config_version": 0,
      "channel": "none",
      "client_profile": "string",
      "client_version": "string",
      "config_status": "applied",
      "config_version": 0,
      "connected_at": "2026-01-01T00:00:00Z",
      "created_at": "2026-01-01T00:00:00Z",
      "current_agent_revision_id": "string",
      "deployment_id": "string",
      "disconnected_at": "2026-01-01T00:00:00Z",
      "enforcement_deployment_id": "string",
      "environment_id": "string",
      "expires_at": "2026-01-01T00:00:00Z",
      "instance_id": "string",
      "kill_scope": "none",
      "killed": true,
      "last_activity_at": "2026-01-01T00:00:00Z",
      "last_exchange_at": "2026-01-01T00:00:00Z",
      "last_heartbeat_at": "2026-01-01T00:00:00Z",
      "latest_client_version": "string",
      "outdated": true,
      "outdated_reasons": [
        "agent_revision"
      ],
      "reports": {
        "artifact_digest": "string",
        "artifact_reported_at": "2026-01-01T00:00:00Z",
        "current_artifact_digest": "string",
        "health": "healthy",
        "health_reported_at": "2026-01-01T00:00:00Z"
      },
      "runtime_class": "string",
      "runtime_principal_id": "string",
      "session_id": "string",
      "session_state": "active",
      "source_type": "string",
      "state": "connected",
      "workspace_id": "string"
    }
  ],
  "limit": 0,
  "next_cursor": "string"
}
```

### Response (400)

```json
{
  "error": {
    "code": "string",
    "message": "string"
  }
}
```

### Response (403)

```json
{
  "error": {
    "code": "string",
    "message": "string"
  }
}
```

### Response (503)

```json
{
  "error": {
    "code": "string",
    "message": "string"
  }
}
```
