---
title: "Get this OpenAPI document"
method: GET
path: "/openapi.json"
tags: ["Status"]
---

# Get this OpenAPI document

`GET /openapi.json`

Retrieve the machine-readable description of this API. Requires no authentication. Also served from `https://www.cosmicjs.com/openapi.json`, which proxies this endpoint.

## Response `200`

The OpenAPI 3.1 document describing this API.

- object — An OpenAPI 3.1 document.
  - `openapi` string, required
  - `info` object, required
  - `paths` object, required

## Other responses

- `500` — Something went wrong on the Cosmic side.

---

[API](https://skmtc.dev/cosmicjs/apis/cosmic-rest-api-v3.md) · [All operations](https://skmtc.dev/cosmicjs/apis/cosmic-rest-api-v3/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cosmicjs/cosmic-rest-api-v3/revisions/e0aa2a0913b3/schema)
