---
title: "Gets the OpenAPI spec in json"
method: GET
path: "/api/v2/openapi.json"
tags: ["Other"]
---

# Gets the OpenAPI spec in json

`GET /api/v2/openapi.json`

Get the latest version of the OpenAPI specification for LaunchDarkly's API in JSON format. In the sandbox, click 'Play' and enter any string in the 'Authorization' field to test this endpoint.

## Response `200`

OpenAPI Spec

## Other responses

- `429` — Rate limited

---

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