Skip to main content
Declare captured artifact bytes

Authorizations

Authorization
string
header
required

Opaque Firedrill interactive or scoped machine credential. The CLI handles human-approved login; CI stores its scoped credential as FIREDRILL_TOKEN. Capabilities and project/environment ownership are rechecked at use.

Headers

Idempotency-Key
string
required

Save a unique stable key for this exact logical action, at most 200 characters. Reuse it with identical input after an uncertain response. A new key is new intent; it must not be used merely to recover an accepted action.

Required string length: 1 - 200

Path Parameters

runId
string
required
Required string length: 1 - 160

Body

application/json
attemptId
string
required
Required string length: 1 - 160
leaseToken
string
required
Required string length: 1 - 512
artifact
object
required

Response

The retained resource or operation response.

runId
string
required
attemptId
string
required
state
enum<string>
required
Available options:
pending,
available
uploadPath
string
required
downloadPath
string
required
id
string
required
name
string
required
kind
enum<string>
required
Available options:
file,
screenshot,
trace,
browser_events,
recording
mediaType
enum<string>
required
Available options:
image/png,
image/jpeg,
image/webp,
application/zip,
application/json,
text/plain,
text/markdown,
application/pdf,
application/octet-stream,
video/webm
bytes
number
required
sha256
string
required
capturedAt
string
required
metadata
object
required