---
title: "Get fleet session"
url: https://hexelstudio.com/docs/api/titan/administration/get-fleet-session
---

# Get fleet session

**GET** `/titan/admin/fleet/{id}`

## Path parameters

- `id: 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`)

- `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`

## Errors

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

## Example

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

### Response (200)

```json
{
  "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"
}
```

### Response (400)

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

### Response (403)

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

### Response (404)

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

### Response (503)

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