---
title: "Read a session"
method: GET
path: "/api/v1/projects/{projectId}/sessions/{sessionId}"
tags: ["Sessions"]
---

# Read a session

`GET /api/v1/projects/{projectId}/sessions/{sessionId}`

Read a session with ETag support

## Path parameters

- `projectId` string, required
- `sessionId` string, required

## Headers

- `Accept` 'application/json' | 'text/markdown'

## Response `200`

Successfully read session

- object
  - `success` boolean, required
  - `data` object, required
    - `session` object
      - `id` string
      - `name` string
      - `markdownContent` string
      - `markdownSize` number
      - `metadata` object
        - `clientName` string
        - `llmModels` string[]
        - `tags` string[]
      - `createdAt` string
      - `project` object
        - `id` string
        - `name` string
        - `icon` string
        - `color` string

## Other responses

- `304` — Not Modified - session unchanged
- `401` — Unauthorized - missing or invalid JWT token
- `404` — Session not found

---

[API](https://skmtc.dev/specstoryai/apis/specstory-cloud-api.md) · [All operations](https://skmtc.dev/specstoryai/apis/specstory-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/specstoryai/specstory-cloud-api/revisions/2009d44a1949/schema)
