Space Docs
Domain Model

Automation Action Trace

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYes—Id
ruleIdunknownYes—ID of the associated rule
triggerTypeenum(event, schedule, condition)Yes—Trigger type
triggerPayloadunknownYes—Trigger payload
actionTypeenum(create_record, update_status, send_notification, agent_review, run_workflow, create_reorder_po, create_agent_task, create_agent_task_and_dispatch, create_fleet_ticket)Yes—Action type
actionPayloadunknownYes—Action payload
resultStatusenum(executed, drafted, approved, rejected, skipped, error)Yes—Result status
resultPayloadunknownYes—Result payload
agentTraceIdunknownYes—ID of the associated agent trace
reviewedByUserIdunknownYes—ID of the associated reviewed by user
reviewedAtunknownYes—Reviewed at
executionDurationMsnumber,nullYes—Execution duration ms
correlationIdunknownYes—ID of the associated correlation
sourceEventIdunknownYes—ID of the associated source event
expiresAtunknownYes—Expires at
workspaceIdstringYes—ID of the associated workspace
createdAtstring.date-timeYes—Created at

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
ruleIdunknownYes—ID of the associated rule
triggerTypeenum(event, schedule, condition)Yes—Trigger type
triggerPayloadobjectNo—Trigger payload
actionTypeenum(create_record, update_status, send_notification, agent_review, run_workflow, create_reorder_po, create_agent_task, create_agent_task_and_dispatch, create_fleet_ticket)Yes—Action type
actionPayloadobjectNo—Action payload
resultStatusenum(executed, drafted, approved, rejected, skipped, error)Yes—Result status
resultPayloadobjectNo—Result payload
agentTraceIdstring.uuidNo—ID of the associated agent trace
executionDurationMsintegerNo—Execution duration ms
workspaceIdstringYes—ID of the associated workspace

On this page