---
title: "Get specific version of config for a given grant"
method: GET
path: "/api/version"
---

# Get specific version of config for a given grant

`GET /api/version`

Returns a specific version of the configuration for a given grant, identified by either a full version string or major, minor, and patch components.

## Query parameters

- `grant` string, required
- `version` string
- `major` integer
- `minor` integer
- `patch` integer

## Headers

- `x-cdp-request-id` string

## Response `200`

Successfully retrieved the specific version.

- VersionResponse
  - `grant` string — The name of the grant.
  - `version` string — The version string.
  - `status` string — The status of the version (e.g., active, draft).
  - `path` string — The bucket name or path to the configuration.
  - `manifest` object — The configuration manifest details.
  - `lastUpdated` string, date-time — The timestamp of the last update.

## Other responses

- `400` — Bad Request - Validation error.
- `401` — Unauthorized - Invalid or missing authentication credentials.
- `404` — Not Found - Grant or version not found.

---

[API](https://skmtc.net/defra/apis/grants-config-broker-api.md) · [All operations](https://skmtc.net/defra/apis/grants-config-broker-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/defra/grants-config-broker-api/versions/8af3c6dc00fe/schema)
