Skip to main content
PUT
Send an upload's file

Path Parameters

upload_id
string
required
Pattern: ^upl_[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
token
string
required

The URL's token.

Pattern: ^[A-Za-z0-9_-]{43}$

Body

application/octet-stream

The body is of type file.

Response

The file was stored

What the upload stored.

environment
enum<string>
required

The environment of the key that made the call: production or test. Evaluations, feedback, reviews and suggestions are separate per environment; decisions and their versions belong to the whole organization.

Available options:
production,
test
upload_id
string
required
Pattern: ^upl_[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
bytes
integer
required

The file's size.

sha256
string
required

The SHA-256 of the file as received, in hex: compare it with your file's (shasum -a 256 <file>).

Pattern: ^[0-9a-f]{64}$
expires_at
string<date-time>
required

How long calls can name the upload: about a day. Upload the file again after that.

kind
enum<string>
required
Available options:
items
lines
integer
required

Examples stored, one per non-blank line, in file order (offset 0 first).

labeled
integer
required

Lines with an expected_outcome claim, which a run carries as expected.