---
title: "Fetch the OpenAPI specification as JSON"
method: GET
path: "/openapi.json"
tags: ["System"]
---

# Fetch the OpenAPI specification as JSON

`GET /openapi.json`

## Request

- Base URL: `https://api.volcano.dev`
- URL: `https://api.volcano.dev/openapi.json`
- Auth: none required

Returns this specification as a self-contained JSON document, with every
reference resolved. It is generated from the same document the server
validates requests against, so a client generated from it cannot
describe a different API than the one that answers.

No credential is required: a client generator fetches this by URL before
its user has a token, and every path here is already published in the
API reference.

The response carries a strong `ETag`; send it back as `If-None-Match` to
get `304 Not Modified` instead of the whole document.

## Headers

- `If-None-Match` string

## Response `200`

The OpenAPI specification

- OpenAPISpecDocument: This OpenAPI document, with every reference resolved. Shared by the JSON and YAML operations, which differ only in serialization.

## Other responses

- `304`: The specification still matches the supplied `If-None-Match`, so no body is returned.
- `429`: Too many requests for the specification from one address. The document carries an `ETag`; revalidate with `If-None-Match` rather than re-fetching it.

## Changes

- **2026-10-07** `23e7875e7c4c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/openapi.json/get.md)

---

[API](https://skmtc.dev/kong/apis/volcano-api.md) - [All operations](https://skmtc.dev/kong/apis/volcano-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/volcano-api/revisions/84c4488f91e9?raw)
