v52

OpenAPI 3.1.0raw.githubusercontent.com2026-08-033240556.8 KB
Script Runs

Create or wait for a script workflow agent task step

post/api/internal/script-runs/{runId}/agent-task

Path parameters

runIdstring uuid required

Request body

stepKeystring required
templatestring
taskstring
agentIdstring
tagsstring[]
priorityinteger
offerModeboolean
dirstring
vcsRepostring
modelstring
parentTaskIdstring uuid
requestedByUserIdstring
outputSchemaobject

Response

Agent task completed