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

taskIdstring required
taskOutputstring nullable required

Changes

Changed in 3 of the 104 revisions of this API.14

    • added the new draft enum value to the response property for the response status

      response-property-enum-value-added

    • added the media type application/json for the response with the status

      response-media-type-added

    • added the media type application/json for the response with the status

      response-media-type-added

    • added the media type application/json for the response with the status

      response-media-type-added

    • the request property format was generalized from uuid to no format

      request-property-type-generalized