---
title: "Get an API Version"
method: GET
path: "/v3/apis/{apiId}/versions/{versionId}"
tags: ["API Version"]
---

# Get an API Version

`GET /v3/apis/{apiId}/versions/{versionId}`

Fetches the version (OpenAPI or AsyncAPI) of an API.

## Response `200`

API version (OpenAPI or AsyncAPI)

- object
  - `id` string, uuid, required — The API version identifier.
  - `version` string, required — The version of the api.
  - `spec` object, nullable
    - `content` string, nullable — The raw content of your API spec, in json or yaml format (OpenAPI or AsyncAPI).
    - `type` 'oas2' | 'oas3' | 'asyncapi' — The type of specification being stored. This allows us to render the specification correctly.
    - `validation_messages` object[] — The errors that occurred while parsing the API version spec.
      - `message` string, required
  - `created_at` string, date-time, required — An ISO-8601 timestamp representation of entity creation date.
  - `updated_at` string, date-time, required — An ISO-8601 timestamp representation of entity update date.

## Other responses

- `401` — ApiUnauthorized
- `403` — ApiForbidden
- `404` — Not Found

## Changes

> 52 revisions in range; 1 could not be searched.

- **2025-08-22** `96118a9cd7f4` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/kong/apis/konnect-api/changes/v3/apis/:apiId/versions/:versionId/get.md)

---

[API](https://skmtc.dev/kong/apis/konnect-api.md) · [All operations](https://skmtc.dev/kong/apis/konnect-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kong/konnect-api/revisions/72502a676a92/schema)
