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
routingReason'skill' | 'continuity' | 'overflow' | 'human_pinned' | 'reroute_fault'
routingNotestring
tagsstring[]
priorityinteger
offerModeboolean
dirstring
vcsRepostring
modelstring
parentTaskIdstring uuid
requestedByUserIdstring
outputSchemaobject

Response

Agent task completed

taskIdstring required
taskOutputstring nullable required

Changes

Changed in 4 of the 162 revisions of this API.16

    • ○

      added the new optional request property

      new-optional-request-property

    • ○

      added the new optional request property

      new-optional-request-property

    • ●

      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