ZRM Docs
Domain Model

Agent Task Run

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYesId
createdAtstring.date-timeYesCreated at
updatedAtstring.date-timeYesUpdated at
taskIdstringYesID of the associated task
workspaceIdstringYesID of the associated workspace
runTypeenum(plan, execute, retry, approval_execution)YesRun type
executorKindenum(automation, agent_pipeline, workflow, human)YesExecutor kind
statusenum(started, completed, failed, canceled)YesStatus
inputPayloadunknownYesInput payload
planPayloadunknownYesPlan payload
resultPayloadunknownYesResult payload
startedAtstring.date-timeYesStarted at
completedAtunknownYesCompleted at
errorunknownYesError
traceRefIdunknownYesID of the associated trace ref

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
taskIdstringYesID of the associated task
runTypeenum(plan, execute, retry, approval_execution)YesRun type
executorKindenum(automation, agent_pipeline, workflow, human)YesExecutor kind
statusenum(started, completed, failed, canceled)Yes"started"Status
inputPayloadobjectNoInput payload
planPayloadobjectNoPlan payload
resultPayloadobjectNoResult payload
errorstringNoError
traceRefIdstringNoID of the associated trace ref
workspaceIdstringNoID of the associated workspace

On this page