Agent Tasks
Claim the next batch of one pipeline's available tasks
Claims up to count (1-50, default 10) available tasks of the pipeline, oldest first, and returns their full payloads. Each claim is the ordinary row-locked claim, so parallel agents get disjoint tasks; a task another agent took in the meantime is skipped. Returns an empty data array when nothing is available.
post/v1/agent-tasks/claim-next
Request
- Base URLhttps://api.talonic.com
- AuthHTTP bearer
Request body
object required
pipeline_id, string uuid required
count, integer
Response
The claimed tasks (full payloads) and how many were claimed.
object required
data, Agent Task Payload[]
claimed, integer
Changes
No recorded changes to this operation across all 32 revisions of this API.