---
title: "Get the next valid version for a Pack."
method: POST
path: "/packs/{packId}/nextVersion"
tags: ["Packs"]
---

# Get the next valid version for a Pack.

`POST /packs/{packId}/nextVersion`

Get the next valid version based on the proposed metadata.

## Path parameters

- `packId` integer, required

## Request body

- GetNextPackVersionRequest — Payload for getting the next version of a Pack.
  - `proposedMetadata` string, required — The metadata for the next version of the Pack.
  - `sdkVersion` string — The SDK version the metadata was built on.

## Response `200`

Next Pack version info.

- NextPackVersionInfo — Information indicating the next Pack version definition.
  - `nextVersion` string, required — The next valid version for the Pack.
  - `findings` string[], required — List of changes from the previous version.
  - `findingDetails` object[], required
    - `finding` string, required
    - `path` string, required

## Other responses

- `400` — The request parameters did not conform to expectations.
- `401` — The API token is invalid or has expired.
- `403` — The API token does not grant access to this resource.
- `404` — The resource could not be located with the current API token.
- `429` — The client has sent too many requests.

---

[API](https://skmtc.net/coda/apis/superhuman-docs-api.md) · [All operations](https://skmtc.net/coda/apis/superhuman-docs-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coda/superhuman-docs-api/versions/c65a8418f3c8/schema)
