---
title: "Get info on all versions of all grants"
method: GET
path: "/api/allGrants"
---

# Get info on all versions of all grants

`GET /api/allGrants`

Returns a list of all versions for all grants.

## Query parameters

- `draft` 'include' | 'only'

## Headers

- `x-cdp-request-id` string

## Response `200`

Successfully retrieved all grants versions.

- 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.

---

[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)
