---
title: "One page of a shared document, as a PNG"
method: GET
path: "/agents/documents/{sha}/pages/{page}"
tags: ["AI", "Agents"]
---

# One page of a shared document, as a PNG

`GET /agents/documents/{sha}/pages/{page}`

## Request

- Base URL: `https://app.mammoth.io/api/v2`
- URL: `https://app.mammoth.io/api/v2/agents/documents/{sha}/pages/{page}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-KEY` and API key in header `X-API-SECRET` and API key in header `X-WORKSPACE-ID`

Page `page` (from 1) of what the model reads: a PDF's or a Word file's. A deck has no drawn pages (its slides are read from its XML).

## Path parameters

- `sha` string, required
- `page` integer, required

## Query parameters

- `workspace_id` integer, required

## Response `200`

Stream Response

- unknown

## Other responses

- `400`: Bad request syntax or unsupported method
- `403`: Request forbidden -- authorization will not help

---

[API](https://skmtc.dev/mammoth/apis/mammoth-analytics.md) · [All operations](https://skmtc.dev/mammoth/apis/mammoth-analytics/llms.txt) · [OpenAPI document](https://skmtc.dev/mammoth/apis/mammoth-analytics/revisions/fe078afe239b?raw)
