---
title: "Get the OpenAPI document"
description: "GET /openapi.json"
---

- **Method:** `GET`
- **Path:** `/openapi.json`
- **Operation ID:** `getOpenApiDocument`
- **Tags:** Account

This OpenAPI 3.1 document. Public: it needs no token and holds no monitoring data.

## Effective servers

- `/api`

## Authentication

No authentication required.

## Responses

### 200 The OpenAPI document. Public: no token, no monitoring data.

**Headers:**

- **`X-RateLimit-Limit`**

  Requests per minute allowed by the limit this response counts against.

  `integer`
- **`X-RateLimit-Remaining`**

  Requests left in the current minute.

  `integer`, minimum: `0`

**Content type:** `application/json`

This OpenAPI 3.1 document.

- **`info` (required)**: `object`
- **`openapi` (required)**: `string`
- **`paths` (required)**: `object`

**Example:**

```json
{
  "info": {
    "title": "Heptapod API",
    "version": "1"
  },
  "openapi": "3.1.0",
  "paths": {
    "/me": {
      "get": {
        "operationId": "getMe"
      }
    }
  }
}
```

### 429 Rate limited: 60 requests per minute per source IP before authentication, and 60 per minute per user and per token. See Retry-After.

**Headers:**

- **`Retry-After`**

  Seconds to wait before retrying.

  `integer`, minimum: `0`
- **`X-RateLimit-Reset`**

  Unix time when the request limit resets. Only on request rate limits, not on refused manual runs.

  `integer`

**Content type:** `application/json`

schema: `TooManyRequests`

- **`error` (required)**: `string`

**Example: TooManyRequests**

Rate limited

```json
{
  "error": "Too Many Attempts."
}
```

## Schemas

- `TooManyRequests` — shown above.
