v1

latestOpenAPI 3.0.0Superhuman Developer Terms2026-08-06124404444.0 KB
Packs

Get the next valid version for a Pack.

Get the next valid version based on the proposed metadata.

post/packs/{packId}/nextVersion

Path parameters

packIdinteger required

ID of a Pack

Request body

proposedMetadatastring required

The metadata for the next version of the Pack.

sdkVersionstring

The SDK version the metadata was built on.

Example request

{
  "proposedMetadata": "{\"formulas\": [{\"description\": \"my formula\", \"name\": \"foo\", \"parameters\": [], \"resultType\": 0}]}",
  "sdkVersion": "1.0.0"
}

Response

Next Pack version info.

nextVersionstring required

The next valid version for the Pack.

findingsstring[] required

List of changes from the previous version.

Example response

{
  "nextVersion": "2.1.0"
}