---
search:
  tags:
    - General
    - GET
seo:
  description: >-
    Returns this API as an OpenAPI 3.1 document. No credential is needed.
    Reference for the GET /_luna/openapi.json endpoint in the Luna API.
sidebar:
  label: Get the OpenAPI document
  badge: GET
title: Get the OpenAPI document
type: openapi-operation
---
Returns this API as an OpenAPI 3.1 document. No credential is needed.

`GET /_luna/openapi.json`

**Responses**

- `200` — The OpenAPI document.
- `default` — The request failed. The status says how and \`error.message\` says why.

Response example, 200:

```json
{}
```
