slugstring nullable required
actionNamestring required
status'pending' | 'waiting_for_approval' | 'approved' | 'not_approved' | 'running' | 'error' | 'complete' | 'cancelled' required
runtime'powershell' | 'python' | 'playwright' required
requesterUserKeystring required
requesterNamestring nullable required
targetUserKeystring nullable required
targetDeviceKeystring nullable
targetDeviceHostnamestring nullable
targetDeviceAgentKeystring nullable
triggerSource'manual' | 'sparky_chat' | 'schedule' | 'ticket_recommendation'
What initiated an execution.
Set server-side per callsite, never from a request body — provenance on an
audit record must not be forgeable. Rows created before this field existed
are NULL ("unknown"); there is no data from which to recover their origin.
recommendedActionKeystring nullable
approvedByUserKeystring nullable required
approvedByNamestring nullable required
approvedAtstring date-time nullable required
approvalNotestring nullable
approvalInputsobject nullable required
resultJsonobject nullable required
errorMessagestring nullable required
diagnosticLogstring required
startedAtstring date-time nullable required
completedAtstring date-time nullable required
createdAtstring date-time required
totalDurationMsinteger nullable
scriptDurationMsinteger nullable
scriptTimeoutSecondsinteger nullable