Skip to main content
POST
Open an offline run

Body

application/json
taskset
string
required
model
string | null

The model the run's agent is served, any of the workload's pool. Absent, the workload's primary as the run opens.

Required string length: 1 - 256
labels
object | null

Labels, each key: value; a bare tag's value is empty. A listing's label filter finds what carries them.

key
string | null

The key the suite's processes share the run by. Opened with the same key, taskset and model, each opens the same run, one opener more, open again if it had completed; it completes once each has closed it. Absent, the run is this opener's alone.

Required string length: 1 - 200
source
enum<string> | null

Where the suite ran: ci, or local for anywhere else. A suite's history leaves local runs out unless asked for them. Absent, it counts as not local.

Available options:
ci,
local

Response

The run opened: its id, the model it serves its workload, and this open's opener, which closes it.

The run opened: its id, the model it serves its workload, and this open's opener, which closes it.

run
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$
model
string
required
Required string length: 1 - 256
opener
string<uuid>
required

This open's opener: send it to close the run. A run opened by key completes once each of its openers has closed it.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$