---
title: "Get Session"
method: GET
path: "/v1/synthesis-log/session/{session_id}"
tags: ["synthesis-log"]
---

# Get Session

`GET /v1/synthesis-log/session/{session_id}`

## Request

- Base URL: `https://api.pioneer.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pioneer.ai/v1/synthesis-log/session/{session_id}`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/pioneer/apis/brain-api/docs/v1/synthesis-log/session/:session_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Get all log entries for a synthesis session.

``session_id`` is typed :class:`~uuid.UUID` so FastAPI answers 422 at the
boundary. A raw string would otherwise reach a Postgres ``uuid`` comparison
and surface as a driver conversion 500 (ENG-6017).

Args:
    session_id: UUID of the synthesis session.
    auth: Authentication result.

Returns:
    All entries for the session in chronological order.

Raises:
    HTTPException: If the query fails.

## Path parameters

- `session_id` string, uuid, required

## Response `200`

Successful Response

- SynthesisLogSessionResponse: Response containing all entries for a synthesis session.
  - `session_id` string, required
  - `entries` SynthesisLogEntry[], required
    - `id` string, required
    - `user_id` string, required
    - `dataset_id` string, nullable
    - `project_id` string, nullable
    - `session_id` string, required
    - `entry_type` 'prompt' | 'seed_generation' | 'seed_feedback' | 'prompt_update' | 'expansion' | 'finalization', required
    - `content` object, required
    - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-24** `0e5e86e2bae5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pioneer/apis/brain-api/changes/v1/synthesis-log/session/:session_id/get.md)

---

[API](https://skmtc.dev/pioneer/apis/brain-api.md) - [All operations](https://skmtc.dev/pioneer/apis/brain-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pioneer/apis/brain-api/revisions/0e5e86e2bae5?raw)
