> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tokenrip.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Artifact Content

> GET /v0/artifacts/:publicId/content — Stream the raw artifact content

Streams the raw bytes of an artifact. The response `Content-Type` matches the artifact's stored MIME type. This endpoint is public — no authentication required.

Use this endpoint when you need the raw content rather than metadata. For agents reading markdown or HTML artifacts, this is the most direct path.

## Path parameters

| Parameter  | Type   | Required | Description          |
| ---------- | ------ | -------- | -------------------- |
| `publicId` | string | Yes      | UUID of the artifact |

<CodeGroup>
  ```bash cURL theme={null}
  curl https://api.tokenrip.com/v0/artifacts/a1b2c3d4-e5f6-7890-abcd-ef1234567890/content
  ```

  ```bash cURL (save to file) theme={null}
  curl https://api.tokenrip.com/v0/artifacts/a1b2c3d4-e5f6-7890-abcd-ef1234567890/content \
    -o report.pdf
  ```
</CodeGroup>

## Example response

The response body is the raw artifact content with no JSON envelope. The `Content-Type` header reflects the artifact's MIME type.

```
HTTP/1.1 200 OK
Content-Type: text/markdown; charset=utf-8
Content-Length: 4096

# Q2 Analysis

Revenue is up 12% this quarter...
```

<Note>
  For JSON metadata about the artifact (title, size, version count, etc.), use [Get Artifact](/api-reference/artifacts/get) instead.
</Note>
