Skip to main content
POST
Export a workspace run's results

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-ankra-organisation-id
string

PAT organisation override.

Path Parameters

workspace_id
string<uuid>
required

The workspace.

run_id
string<uuid>
required

The run.

Body

application/json

What to export from a run.

kind
enum<string>
required
Available options:
patch,
dirs
paths
string[]

For dirs: directories relative to the run's working directory.

Maximum array length: 64

Response

Where to download the export, or that it is empty

An uploaded export, or that there was nothing to upload.

empty
boolean
required
download_url
string

A presigned GET of the export.

expires_at
string<date-time>
sha256
string
size_bytes
integer