Space Docs
Domain Model

Agent Task Run

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYes—Id
createdAtstring.date-timeYes—Created at
updatedAtstring.date-timeYes—Updated at
taskIdstringYes—ID of the associated task
workspaceIdstringYes—ID of the associated workspace
runTypeenum(plan, execute, retry, approval_execution)Yes—Run type
executorKindenum(automation, agent_pipeline, workflow, human)Yes—Executor kind
statusenum(started, completed, failed, canceled)Yes—Status
inputPayloadunknownYes—Input payload
planPayloadunknownYes—Plan payload
resultPayloadunknownYes—Result payload
startedAtstring.date-timeYes—Started at
completedAtunknownYes—Completed at
errorstring,nullYes—Error
traceRefIdstring,nullYes—ID of the associated trace ref

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
taskIdstringYes—ID of the associated task
runTypeenum(plan, execute, retry, approval_execution)Yes—Run type
executorKindenum(automation, agent_pipeline, workflow, human)Yes—Executor kind
statusenum(started, completed, failed, canceled)Yes"started"Status
inputPayloadobjectNo—Input payload
planPayloadobjectNo—Plan payload
resultPayloadobjectNo—Result payload
errorstringNo—Error
traceRefIdstringNo—ID of the associated trace ref
workspaceIdstringNo—ID of the associated workspace

On this page