---
title: "Library Session Version"
method: GET
path: "/library/session/{cid}/version/{ver}"
---

# Library Session Version

`GET /library/session/{cid}/version/{ver}`

## Request

- Base URL: `https://api-docs.session-exchange.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.session-exchange.com/library/session/{cid}/version/{ver}`
- Auth: none declared

One version's content + what changed since its parent — the "open the commit" view. Returns the
full transcript at `ver` (for a full read) plus, when this version simply APPENDED to its parent
(the common backup case), the appended text so the UI can render only the new turns. A wholesale
rewrite (e.g. a squash) is flagged `rewritten` with coarse ±line counts instead. Account-scoped.

## Path parameters

- `cid` string, required
- `ver` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/session-exchange/apis/a4sx.md) · [All operations](https://skmtc.dev/session-exchange/apis/a4sx/llms.txt) · [OpenAPI document](https://skmtc.dev/session-exchange/apis/a4sx/revisions/abaefc33dfc7?raw)
