v1

latestOpenAPI 3.0.0Superhuman Developer Terms2026-08-06124404444.0 KB
Packs

Pack source code upload complete

Note the completion of the upload of a Pack source code.

post/packs/{packId}/versions/{packVersion}/sourceCode/uploadComplete

Path parameters

packIdinteger required

ID of a Pack

packVersionstring required

Semantic version of a Pack

Request body

filenamestring required
codeHashstring required

A SHA-256 hash of the source code used to identify duplicate uploads.

Example request

{
  "filename": "main.ts"
}

Response

Confirmation of successful Pack asset creation.

requestIdstring required

An arbitrary unique identifier for this request.

Example response

{
  "requestId": "abc-123-def-456"
}