> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: "Get OpenAPI specification"
description: "Returns the OpenAPI specification document for this API in JSON format."
api: "GET /openapi.json"
gridGap: 30
---

<Aside full>
  <RequestExample>
    ```bash title="cURL" lines=false
    curl -X GET "https://api.example.com/openapi.json"
    ```
  </RequestExample>
</Aside>

<OpenAPIEndpoint {...{"method":"get","path":"/openapi.json","summary":"Get OpenAPI specification","description":"Returns the OpenAPI specification document for this API in JSON format.","parameters":[],"responses":[{"status":"200","description":"OpenAPI specification document","schema":{"type":"object","properties":{"openapi":{"type":"string","description":"OpenAPI version","example":"3.1.3"},"info":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"version":{"type":"string"}}},"paths":{"type":"object","description":"Available API endpoints"},"components":{"type":"object","description":"Reusable schema components"}}},"examples":[]}],"security":[],"servers":[]}} />
