---
title: "Get Agent Session"
method: GET
path: "/api/agent/session/{session_id}"
---

# Get Agent Session

`GET /api/agent/session/{session_id}`

Hydrate a whole Composer conversation: every turn of the session with the
events each turn produced, so the panel can render it as one thread.

## Path parameters

- `session_id` string, required

## Query parameters

- `project_id` string, required

## Response `200`

Successful Response

- AgentSessionResponse
  - `session_id` string, required
  - `runs` AgentRunResponse[]
    - `id` string, required
    - `project_id` string, required
    - `status` string, required
    - `session_id` string, nullable
    - `title` string, nullable
    - `prompt` string, nullable
    - `model_tier` string, nullable
    - `llm_model` string, nullable
    - `attachment_count` integer, nullable
    - `attachment_previews` AttachmentPreview[]
      - `id` string, required
      - `kind` string, required
      - `name` string, required
      - `preview_url` string, nullable
      - `mime_type` string, nullable
      - `size_bytes` integer, nullable
      - `reference_id` string, nullable
      - `reference_kind` string, nullable
    - `attachment_manifest` object, nullable
    - `started_at` string, nullable
    - `finished_at` string, nullable
    - `error_message` string, nullable
    - `total_cost_usd` number, nullable
    - `turn_count` integer
  - `events` AgentEventResponse[]
    - `id` string, required
    - `run_id` string, required
    - `project_id` string, required
    - `seq` integer, nullable
    - `event_type` string, required
    - `tool_name` string, nullable
    - `content` string, nullable
    - `status` string, nullable
    - `result_type` string, nullable
    - `result_url` string, nullable
    - `result_data` unknown
    - `created_at` string, nullable
    - `updated_at` string, nullable
  - `progress_steps` PublicProgressStepResponse[]
    - `id` string, required
    - `run_id` string, nullable
    - `kind` string, required
    - `title` string, required
    - `description` string, required
    - `status` string, required
    - `completed` integer
    - `total` integer
    - `unit` string
    - `started_at` string, nullable
    - `updated_at` string, nullable
    - `artifacts` PublicProgressArtifactResponse[]
      - `id` string, required
      - `type` string, required
      - `label` string, required
      - `preview_url` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/latted/apis/motion-graphics-designer-api.md) · [All operations](https://skmtc.dev/latted/apis/motion-graphics-designer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/latted/motion-graphics-designer-api/revisions/36d149b525df/schema)
