Skip to main content
POST

Behavior

This starts the profile upload flow. The archive bytes never pass through the Agents API.
  1. Call this endpoint. No request body.
  2. POST the archive to upload_url as multipart/form-data: every upload_fields entry exactly as returned, then the file as the last field.
  3. Call Complete upload with the returned profile_id.

Response

200 with the presigned upload target. It expires after upload_expires_in seconds.
string
ID (UUID) reserved for the profile. Pass it to Complete upload.
string
Presigned object-storage URL to POST the archive to.
object
Form fields that must accompany the upload, sent before the file.
integer
Seconds until the presigned target expires.

Upload the archive

Initiate the upload, then post profile.zip to the presigned target:
Each field goes through --form-string, since -F would read a value starting with < (such as tagging) as a file.