---
title: "Returns the OpenAPI definition"
method: GET
path: "/openapi"
tags: ["metadata"]
---

# Returns the OpenAPI definition

`GET /openapi`

Retrieve the API specification in an Openapi JSON format.

This endpoint consumes 1 unit of your quota.

This endpoint requires the following org token scopes:

## Response `200`

OpenAPI specification

## Other responses

- `429` — Insufficient quota for API route

---

[API](https://skmtc.dev/socket-dev/apis/socket.md) · [All operations](https://skmtc.dev/socket-dev/apis/socket/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/socket-dev/socket/revisions/bf994b75d33f/schema)
