---
title: "Read a Flow document"
method: GET
path: "/v1/documents/{uuid}"
tags: ["Documents"]
---

# Read a Flow document

`GET /v1/documents/{uuid}`

## Request

- Base URL: `https://contentmaschine.ai/api`
- URL: `https://contentmaschine.ai/api/v1/documents/{uuid}`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://contentmaschine.ai/api/oauth/authorize`, token URL `https://contentmaschine.ai/api/oauth/token`)

Returns the document, its chat session with system messages filtered out, and a sanitised subset of any linked StoryBrand framework. A document belonging to another account answers 404, identical to an unknown uuid.

## Path parameters

- `uuid` string, uuid, required

## Response `200`

The document.

- object
  - `success` boolean
  - `data` object
    - `document` object
    - `session` object, nullable
    - `framework` object, nullable
  - `timestamp` string, date-time

## Other responses

- `401`: Missing or invalid API key.
- `404`: Unknown document, or not yours.
- `default`: Any other error. Every failure this API emits uses the same envelope; branch on `error.type`, never on `error.message`, and quote `error.correlation_id` to support.

---

[API](https://skmtc.dev/contentmaschine/apis/contentmaschine-ai-api.md) · [All operations](https://skmtc.dev/contentmaschine/apis/contentmaschine-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/contentmaschine/apis/contentmaschine-ai-api/revisions/28c74f46051c?raw)
