POST
Record a pipeline gate run

Authorizations

Authorization
string
header
required

Authorization: Bearer twk_<prefix>_<secret>.

The prefix is public and safe to log: it is what identifies which credential leaked. The secret is never logged, never returned after creation, and stored only as a SHA-256 hash.

Body

application/json
failed
boolean
required
repository
string
Maximum string length: 256
ref
string
Maximum string length: 256
commit
string
Maximum string length: 64
run_url
string

An http(s) URL.

Maximum string length: 1024
hosts
object[]
Maximum array length: 500
files
object[]
Maximum array length: 500

Response

The stored run.

gate
object
required