---
title: "Get Full Session"
method: GET
path: "/api/v1/chat/{session_id}"
tags: ["Chat"]
---

# Get Full Session

`GET /api/v1/chat/{session_id}`

Retrieve a full session by ID, including its event history.

## Path parameters

- `session_id` string, required

## Query parameters

- `project_id` string, uuid, nullable
- `organization_id` string, uuid, nullable

## Cookies

- `session` string, nullable

## Response `200`

Successful Response

- SessionDetail — Full chat session including its complete event history.
  - `session_id` string, required — Unique session identifier.
  - `generated_title` string, nullable — Auto-generated title derived from the first user message.
  - `last_updated_at` string, required — ISO-format timestamp showing when the session was last updated.
  - `job_metadata` JobMetadata
    - `total_input_tokens` integer, nullable
    - `total_output_tokens` integer, nullable
    - `turns` integer
    - `duration_ms` number
    - `is_error` boolean
    - `error` string, nullable
    - `export_config_ids` string[], nullable
  - `index_ids` string[], nullable — Indexes this session is bound to. Null on unbound sessions.
  - `events` union[], required — Ordered list of events that make up the conversation history.
    - union
      - ThinkingDeltaEvent
        - `type` 'thinking_delta'
        - `content` string, required
      - TextDeltaEvent
        - `type` 'text_delta'
        - `content` string, required
      - ThinkingEvent
        - `type` 'thinking'
        - `content` string, required
      - TextEvent
        - `type` 'text'
        - `content` string, required
      - ToolCallEvent
        - `type` 'tool_call'
        - `arguments` object, required
        - `name` string, required
        - `call_id` string, required
      - ToolResultEvent
        - `type` 'tool_result'
        - `name` string, required
        - `call_id` string, required
        - `result` unknown, required
        - `image_attachment` ImageAttachmentRef — Coordinates for lazily resolving a page screenshot presigned URL.
          - `source_id` string, required
          - `attachment_name` string, required
      - StopEvent
        - `type` 'stop'
        - `usage` Usage, required
          - `total_input_tokens` integer, nullable
          - `total_output_tokens` integer, nullable
          - `turns` integer
          - `duration_ms` number
        - `is_error` boolean, required
        - `error` string, nullable, required
      - UserInputEvent
        - `type` 'user_input'
        - `content` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/run-llama/apis/llama-platform.md) · [All operations](https://skmtc.net/run-llama/apis/llama-platform/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/run-llama/llama-platform/versions/b17341164de9/schema)
