Skip to main content
Artifacts are versioned code packages (zip files) that can be tested and deployed as automations. Uploading is a three-step process.

Step 1: Get upload URL

POST /api/artifacts/upload-url
Returns a presigned PUT URL for uploading a zip file to R2 storage.
Response:

Step 2: Upload the zip

PUT the zip binary to the uploadUrl from Step 1:
The zip should contain your Python files. Exclude __pycache__, .git, and manifest.json.

Step 3: Create artifact

POST /api/artifacts
Validates the uploaded zip, computes file hashes, and creates the artifact record. Body:
Response:
Errors:

Download artifact code

GET /api/artifacts/:id/code
Returns a presigned download URL and file list for an existing artifact.
Response: