---
title: "Get the OpenAPI 3.1 schema for this API"
method: GET
path: "/v2/openapi.json"
tags: ["Service"]
---

# Get the OpenAPI 3.1 schema for this API

`GET /v2/openapi.json`

Returns the auto-generated OpenAPI 3.1 schema describing every public endpoint, parameter, request body and response shape. The schema is frozen at boot time and served as a pre-encoded UTF-8 buffer.

## Response `200`

OpenAPI 3.1 document for this API.

- object — OpenAPI 3.1 document.

## Other responses

- `304` — The cached copy held by the client is still current.
- `500` — An unexpected error occurred while processing the request.

---

[API](https://skmtc.dev/squarecloud/apis/square-cloud-api.md) · [All operations](https://skmtc.dev/squarecloud/apis/square-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/squarecloud/square-cloud-api/revisions/54b7733a6b95/schema)
