Finish a run
POST/run/:id/finish
Executor protocol. Ends the run as COMPLETED, FAILED or CANCELLED, with note as its notes. Its child runs that are still open end the same way, and finishing a campaign run revokes its run token. 409 when the run already finished. Not rate limited.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
OK
Validation error: the request is invalid and nothing was changed.
Missing, invalid, expired or revoked credential, or a credential this endpoint does not accept.
The caller is not the run's executor (the run token of its campaign run, or the user who claimed a local or CLI run while it is running).
Not found: no such object in the caller's organization.
Conflict