Create agent dispatch batch
POST
/workspaces/{organizationId}/agent/dispatch-batchPath parameters
organizationIdstringrequiredRequest body
application/jsonitemsobject[]requiredmin items 1 · max items 50
Show propertiesHide properties
Array of
objectissueIdstringrequiredmin length 1
agentIdstringbranchstring | nullinstructionsstringqueuedAfterstringsecondaryReposobject[]max items 5
Show propertiesHide properties
Array of
objectrepostringrequiredmatches ^[A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+$
accessstringdefault: "read"
Allowed:
readwriteeffortstringAllowed:
lowmediumhighmaxmaxDurationintegerWall-clock run budget in minutes; past it the lane is canceled and escalated on the issue
min 1 · max 1440
resultSchemastring | objectJSON Schema (draft-07) the lane's final output must validate against, or "lane" for the built-in {verdict, summary, filesChanged} shape. The validated value lands on session.structuredResult.
Show propertiesHide properties
Any of:
string
stringobject
objectResponses
200
Per-item dispatch results — each entry carries a sessionId or an error, independent of sibling failures
batchIdstringrequiredresultsobject[]requiredShow propertiesHide properties
Array of
objectissueIdstringrequiredsessionIdstring | nullrequiredstatusstring | nullrequiredAllowed:
createdrunningwaitingcompletedfailedcancelednullerrorstring | nullrequired