Request a signed upload URL
Reserves an upload and returns a signed URL (and resumable endpoint for large files) to PUT the file bytes to. Files ending in .zip are always treated as repository source archives and cannot be downgraded to documentation by setting category.
Authorizations
API token obtained from the Tokens endpoint or CLI device login. Include as Authorization: Bearer <token>. Requests made with a managed CLI session also include X-Strix-Workspace: <organization_id> to pin a process to the workspace it started in; recovery endpoints report the current workspace after a concurrent switch.
Body
Name of the file to upload, including its extension.
Size of the file in bytes.
Optional. If it is not set, the category is inferred from the file. A .zip file is always categorized as repository even when documentation is requested.
repository, documentation