---
title: "Get session and chat history"
method: GET
path: "/api/session/{session_id}"
tags: ["Sessions"]
---

# Get session and chat history

`GET /api/session/{session_id}`

Returns session info and full conversation history (messages array).

## Path parameters

- `session_id` string, required

## Response `200`

Session info

- object
  - `session_id` string
  - `query` string
  - `summary` object
    - `messages` object[]
    - `conversation_turns` integer

## Other responses

- `401` — API key required
- `403` — Invalid API key
- `404` — Session not found

---

[API](https://skmtc.net/elixpo/apis/lixsearch-api.md) · [All operations](https://skmtc.net/elixpo/apis/lixsearch-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elixpo/lixsearch-api/versions/1b4365f47b75/schema)
