# get_docs_page

Get one documentation page as HTML or Markdown

`GET /docs/api/{page}`

| | |
| --- | --- |
| Risk | read |
| Authentication | none (public) |
| Scopes | none |
| Idempotency | natural: repeating the call gives the same result |
| Dry run | not applicable |
| Success status | 200 |
| Response type | text/markdown |

## What it does

- Use when: You need a guide, the page of one operation (operations/<operation_id>) or one error code (errors/<code>).
- Do not use when: you want the whole contract at once (call get_openapi).
- Side effects: None.
- Reversible: Not applicable, nothing changes.
- Required scope: none (public).
- Idempotency: safe to repeat.
- Typical next step: call the operation the page describes, with dry_run=true first when it changes data.

## Request

### Path parameters

| Field | Type | Description |
| --- | --- | --- |
| `page` | string, max 120 characters | Page name, for example quickstart, operations/upsert_subscriber or errors/not_found. Add .md for Markdown. The name can contain one slash. |

### Query parameters

None.

## Response

The body is `text/markdown` text.

## Examples

### markdown

Request:

```bash
curl 'https://api.seemly.com/docs/api/errors/not_found.md'
```

Response: `200` (`text/markdown`):

```text
# not_found

HTTP status: 404
```

## Errors

| Status | Codes |
| --- | --- |
| 400 | [`validation_failed`](/developers/md/errors/validation_failed) |
| 404 | [`not_found`](/developers/md/errors/not_found) |
| 503 | [`service_unavailable`](/developers/md/errors/service_unavailable) |

Every error is an `application/problem+json` body with a `code`, a `fix` sentence and `next_actions`. See [reading a problem response](/developers/md/guides/agents#reading-a-problem-response).

## Typical next steps

- [`get_current_access`](/developers/md/operations/get_current_access)

## Related

- [OpenAPI document](https://api.seemly.com/v1/openapi.json)
- [Agent guide](/developers/md/guides/agents)
