Claim the next cloud run
POST/run/claim-next
Executor protocol, cloud worker token only. Claims the oldest queued cloud campaign run of an organization below its limit of concurrent cloud runs, as POST /run/{id}/claim does. Runs the cloud can no longer run are failed and skipped; runs whose endpoints cannot be checked right now stay queued and are skipped. 204 when there is nothing to claim. Not rate limited.
Request
Responses
- 200
- 204
- 400
- 401
- 403
OK
No run can be claimed now.
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 credential may not do this (for example a run token outside its own run, or a caller without an organization), or the installation is read-only because its license is not valid (code: license_read_only).