Skip to main content
POST

Behavior

Drafts a completion probe from the browser end states of the schedule’s finished runs that a person marked as passing or failing, for example with session feedback. It reads up to 10 of the newest of each. The probe must pass every passing run, and fail every failing run and the passing runs of the other schedules you can see. Nothing is stored. Completion probes are not available to every organization yet. A draft needs at least 3 passing runs with a browser end state. When none can be drafted, probe is null and reason says why.

Path parameters

string
required
The schedule’s ID (UUID).

Response

200 with the draft.
object | null
required
The drafted probe, to review before you set it as the schedule’s probe. null when none could be drafted.
string | null
required
Why no probe could be drafted. null with a probe.
integer
required
Runs marked as passing that the draft used.
integer
required
Runs marked as failing that the draft used.
integer
required
Passing runs of the other schedules you can see that the draft used. The probe must fail them.
integer
required
Marked runs left out because their browser recorded no end state. Many of them next to few runs used means capture_end_state was off when they ran.

Errors