---
title: "Download original chat document bytes"
method: GET
path: "/v1/agent-chat-attachments/{attachmentId}/content"
tags: ["Agent chats"]
---

# Download original chat document bytes

`GET /v1/agent-chat-attachments/{attachmentId}/content`

## Request

- Base URL: `https://api.inth.com`
- URL: `https://api.inth.com/v1/agent-chat-attachments/{attachmentId}/content`
- Auth: HTTP bearer

Download original chat document bytes. Ready drafts are owner-only. Sent documents follow the published conversation sharing rules; active or unaccepted shared-turn files stay owner-only. Checks membership and visibility on every read. Requires agents.read and a user OAuth token. Organization API keys cannot use this operation. Existing reads and downloads remain available while document processing or public writes are paused.

## Path parameters

- `attachmentId` string, required

## Query parameters

- `organizationId` string

## Response `200`

Verified original document. Includes Content-Type, Content-Length, Content-Disposition, ETag and private no-store caching.

## Other responses

- `400`: The request payload or parameters are invalid.
- `401`: Authentication is missing, invalid, or expired.
- `403`: The credential is valid but may not perform the operation. `INSUFFICIENT_SCOPE`: the credential was never granted the capability the operation needs. `details.requiredScope` names it, and the `WWW-Authenticate` header carries `Bearer error="insufficient_scope"`. An OAuth client fixes this by requesting the scope; an organization API key cannot gain it. `FORBIDDEN`: the capability is present but the membership behind the credential lacks the role, or the resource belongs to another organization.
- `404`: The requested resource was not found.
- `409`: The request conflicts with the current resource state.

## Changes

- **2026-10-31** `a3f4100e14c9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/inth/apis/inth-api/changes/v1/agent-chat-attachments/:attachmentId/content/get.md)

---

[API](https://skmtc.dev/inth/apis/inth-api.md) - [All operations](https://skmtc.dev/inth/apis/inth-api/llms.txt) - [OpenAPI document](https://skmtc.dev/inth/apis/inth-api/revisions/8741280c3463?raw)
