Sessions

List and inspect agent sessions

List Sessions Endpoint

GET
/sessions

Query Parameters

workflow_id?|

Filter by workflow ID

status?|

Filter by status

limit?integer

Max items to return

Default50
Range1 <= value <= 200

Response Body

application/json

application/json

curl -X GET "https://loading/sessions"
[
  {
    "id": "string",
    "workflow_id": "string",
    "execution_id": "string",
    "phase_id": "string",
    "status": "string",
    "agent_provider": "string",
    "total_tokens": 0,
    "total_cost_usd": "0",
    "started_at": "string",
    "completed_at": "string"
  }
]
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Get Session Endpoint

GET
/sessions/{session_id}

Path Parameters

session_id*string

Response Body

application/json

application/json

curl -X GET "https://loading/sessions/string"
{
  "id": "string",
  "workflow_id": "string",
  "workflow_name": "string",
  "execution_id": "string",
  "phase_id": "string",
  "milestone_id": "string",
  "agent_provider": "string",
  "agent_model": "string",
  "status": "string",
  "workspace_path": "string",
  "input_tokens": 0,
  "output_tokens": 0,
  "cache_creation_tokens": 0,
  "cache_read_tokens": 0,
  "total_tokens": 0,
  "total_cost_usd": "0",
  "operations": [
    {
      "operation_id": "string",
      "operation_type": "string",
      "timestamp": "2019-08-24T14:15:22Z",
      "duration_seconds": 0,
      "success": true,
      "input_tokens": 0,
      "output_tokens": 0,
      "total_tokens": 0,
      "tool_name": "string",
      "tool_use_id": "string",
      "tool_input": {},
      "tool_output": "string",
      "message_role": "string",
      "message_content": "string",
      "thinking_content": "string",
      "git_sha": "string",
      "git_message": "string",
      "git_branch": "string",
      "git_repo": "string"
    }
  ],
  "started_at": "string",
  "completed_at": "string",
  "duration_seconds": 0,
  "error_message": "string",
  "metadata": {}
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Syntropic137 Docs v0.18.0 · Last updated March 2026

On this page