DealSleek API · Workflows
PreviewUpdate Workflow Definition
Update a Draft workflow definition. Bumps version by 1.
/api/v1/workflows/dispatchHeaders
AuthorizationstringRequiredAccess token of the signed-in user, as a Bearer token. It identifies the user, their role and the workspace.
X-CQRS-ActionstringRequiredNames the command to run. Must be
UPDATE_WORKFLOW_DEFINITIONfor this endpoint.Content-TypestringRequiredAlways
application/json.X-Idempotency-KeystringOptionalA key you choose that is unique to this attempt. A command repeated with the same key is not applied a second time.
X-Correlation-IdstringOptionalYour own identifier for the request. Returned in the
x-correlation-idresponse header; generated when you leave it out.
Request body
definition_iduuidRequiredNo description yet.
expected_versionintegerRequiredNo description yet.
tenant_iduuidRequiredNo description yet.
updated_byuuidRequiredNo description yet.
dagobject or nullOptionalNo description yet.
3 child fields
edgesarray of objectRequiredNo description yet.
6 child fields
fromNodeIdstringRequiredNo description yet.
idstringRequiredNo description yet.
toNodeIdstringRequiredNo description yet.
conditionobject or nullOptionalNo description yet.
3 child fields
fieldstringRequiredNo description yet.
operatorenumRequiredNo description yet.
- Allowed values
- EQUALS
- NOT_EQUALS
- GREATER_THAN
- LESS_THAN
- CONTAINS
- IN
- EXISTS
valueanyRequiredNo description yet.
roleenumOptionalBranch-edge role marker. Lets the runner distinguish a TrueBranch from a FalseBranch on a
DecisionNodeand the success vs failure path on a step with boundary events attached.- Allowed values
- ELSE
- TRUE_BRANCH
- FALSE_BRANCH
- SUCCESS
- FAILURE
- COMPENSATION
- Default
- ELSE
traceIdstring or nullOptionalNo description yet.
startStepIdstringRequiredThe step the executor should begin from.
stepsarray of objectRequiredNo description yet.
16 child fields
configanyRequiredNo description yet.
errorPolicyenumRequiredNo description yet.
- Allowed values
- RETRY
- ABORT
- ESCALATE
- COMPENSATE
- CATCH_BLOCK
- DEAD_LETTER
- CUSTOM_HANDLER
- DEAD_LETTER
- Skip retries entirely; route immediately to the dead-letter queue. Used for "fail loud" connectors where a retry storm would be worse than a missed message.
idstringRequiredNo description yet.
metadataobjectRequiredNo description yet.
2 child fields
xintegerRequiredNo description yet.
yintegerRequiredNo description yet.
namestringRequiredNo description yet.
typeenumRequiredNo description yet.
- Allowed values
- TRIGGER
- CONDITION
- ACTION
- AGENT_TASK
- AI_EVALUATION
- RAG_ENRICHMENT
- COMPENSATION
- REAL_TIME_STREAM
- DECISION
- SWITCH
- PARALLEL_GATEWAY
- INCLUSIVE_GATEWAY
- FOR_EACH
- WAIT
- APPROVAL_GATE
- SCREEN_FORM
- HTTP_CALLOUT
- SUB_WORKFLOW
- COMPENSATE_BOUNDARY
- ERROR_BOUNDARY
- SIGNAL_CATCH
- DATA_TRANSFORM
- SET_VARIABLE
- AGENT_CHAT_TURN
- MESSAGE_CATCH_EVENT
- CONTINUE_AS_NEW
- DYNAMIC_FORK
- EXIT_HANDLER
- ACQUIRE_LOCK
- FEATURE_FLAG_GATE
- RAG_CITATION_CHECK
- AGENT_PANEL_VOTE
- CITATION_BOUNDING_BOX
- CALL
- MEETING
- RESEARCH
- POLICY
- CUSTOM_CODE
- AI_CLASSIFY_BRANCH
- CUSTOM_CODE
- CustomCode runs in deterministic WASM (no syscalls, no fs, no network except declared SecretRef + HttpCallout subhandle). Replay-safe by construction.
- AI_CLASSIFY_BRANCH
- AI-advisory branch.
binding: falseon the node config is the L1 deterministic gate invariant — L1 re-validates before commit.
allowedRegionsarray of enumOptionalSovereign routing constraint — step must execute in one of these regions. Empty = no constraint.
- Allowed values
- US
- EU
- APAC
bindingbooleanOptionalNo description yet.
- Default
- false
boundaryEventsarray of objectOptionalCamunda BPMN-style boundary events attached to this step.
5 child fields
attachedToStepIdstringRequiredNo description yet.
cancelActivitybooleanRequiredNo description yet.
handlerNextStepIdstringRequiredNo description yet.
kindenumRequiredBoundary event taxonomy (Camunda BPMN model). Each instance attaches to a
DagStepwithcancel_activity: booldeciding interrupting vs non-interrupting semantics.- Allowed values
- ERROR
- TIMER
- SIGNAL
- COMPENSATE
- ESCALATION
- CANCEL
- MESSAGE
matchCodestring or nullOptionalFilters by error code or signal name.
None= catch-all.
budgetStateobject or nullOptionalLive circuit-breaker + consumption state for cost-bounded actions.
5 child fields
breakerFailureCountintegerRequiredNo description yet.
- at least 0
breakerStateenumRequiredStandard circuit-breaker triad. Co-located with
BudgetEnvelope.- Allowed values
- CLOSED
- OPEN
- HALF_OPEN
consumedUsdMicrosintegerRequiredNo description yet.
remainingUsdMicrosintegerRequiredNo description yet.
breakerOpensUntildate-time or nullOptionalNo description yet.
inputSchemaobject or nullOptionalTyped input contract — what shape the node consumes. Save-time edge_type_check enforces
producer.output_schema ⊆ consumer.input_schema.2 child fields
inlineanyOptionalNo description yet.
refIdstring or nullOptionalNo description yet.
meddpiccFocusenum or nullOptionalWhich MEDDPICC qualification step this advances.
- Allowed values
- METRICS
- ECONOMIC_BUYER
- DECISION_CRITERIA
- DECISION_PROCESS
- PAPER_PROCESS
- IDENTIFY_PAIN
- CHAMPION
- COMPETITION
outputSchemaobject or nullOptionalTyped output contract — what shape the node produces.
2 child fields
inlineanyOptionalNo description yet.
refIdstring or nullOptionalNo description yet.
retryPolicyobject or nullOptionalPer-step retry policy. Overrides the workflow-level default.
4 child fields
backoffenumRequiredRetryPolicy.backoff— backoff curve between retry attempts.- Allowed values
- EXPONENTIAL
- LINEAR
- FIXED
baseIntervalMsintegerRequiredNo description yet.
- at least 0
maxAttemptsintegerRequiredNo description yet.
- at least 0
maxIntervalMsintegerRequiredNo description yet.
- at least 0
targetPersonalityenum or nullOptionalWhich communication style this step is pitched at.
- Allowed values
- ANALYTICAL
- DRIVER
- AMIABLE
- EXPRESSIVE
timeoutSecondsinteger or nullOptionalNo description yet.
- at least 0
dedupe_keystring or nullOptionalNo description yet.
enrollmentobject or nullOptionalEntry criteria + dedupe key + mode. Attached to a
WorkflowDefinition; the runtime evaluator reads it on every candidate event.3 child fields
modeenumRequiredPer-entity enrollment policy. Drives whether
enrollment_service(Layer 6) admits the same record into the workflow more than once.- Allowed values
- ONCE
- RE_ENROLL_ON_RE_ENTRY
- ALWAYS_RE_ENROLL
- ONCE
- First enrollment wins — subsequent matches are dropped.
- RE_ENROLL_ON_RE_ENTRY
- Re-enroll only after the record exited the workflow (Completed / Goal / Suppressed). Default for "lifecycle nurture" templates.
- ALWAYS_RE_ENROLL
- Re-enroll every time the trigger matches, even mid-run. Use only for "always-on" alerts where overlapping runs are intentional.
predicatesarray of objectRequiredAND'd predicates the candidate record must satisfy. Empty means "any record matched by the trigger qualifies" — useful for always-on workflows.
3 child fields
fieldstringRequiredNo description yet.
operatorenumRequiredNo description yet.
- Allowed values
- EQUALS
- NOT_EQUALS
- GREATER_THAN
- LESS_THAN
- CONTAINS
- IN
- EXISTS
valueanyRequiredNo description yet.
dedupeFieldstring or nullOptionalField name on the candidate record whose value gets hashed via
PiiEncryptorto produceEnrollmentRecord.dedupe_digest. Empty means "use the record id" — safe default for most aggregates.
goalobject or nullOptionalGoal that ends an enrollment when met. Optional on the definition (workflows can run forever); when set, the evaluator emits a
goal_completionevent andenrollment_servicewritesEnrollmentRecord.exit_reason = "goal_completion".3 child fields
kindenumRequiredWhat an enrollment is trying to achieve. The goal evaluator on
enrollment_serviceexits the enrollment when the kind's predicate fires —goal_completionbecomes the terminalexit_reason.- Allowed values
- FIELD_VALUE
- RECORD_STATUS
- AGGREGATE_THRESHOLD
- AI_PREDICATE
- FIELD_VALUE
- Field on the enrolled record reaches
target_value. - RECORD_STATUS
- Record's lifecycle/status reaches
target_value. - AGGREGATE_THRESHOLD
- Aggregate across the tenant (e.g. "tenant MRR ≥ $50k") satisfies the threshold. Useful for marketing nurture campaigns.
- AI_PREDICATE
- AI evaluator (
l2_cognitive_react) returns confidence ≥ threshold. Carries outsmart-D'sXaiProvenanceon the goal-completion event.
predicateobjectRequiredNo description yet.
3 child fields
fieldstringRequiredNo description yet.
operatorenumRequiredNo description yet.
- Allowed values
- EQUALS
- NOT_EQUALS
- GREATER_THAN
- LESS_THAN
- CONTAINS
- IN
- EXISTS
valueanyRequiredNo description yet.
attributionWindowDaysinteger or nullOptionalDelay after admission before the enrolled subject's outcome is observed. Each admission registers its own observation atomically. None disables delayed attribution; the predicate still controls enrollment completion.
- at least 0
patchobject or nullOptionalExplicit set/clear semantics. Legacy optional fields above remain supported.
14 child fields
autonomyLevelenum or objectOptionalExplicit partial update: omission preserves, clear removes, set replaces.
- Allowed values
- unchanged
- clear
- Default
- unchanged
1 child fields
setenumRequiredNo description yet.
- Allowed values
- OBSERVE
- ADVISE
- ACT_WITH_APPROVAL
- ACT_AUTONOMOUSLY
complianceEnvelopeenum or objectOptionalExplicit partial update: omission preserves, clear removes, set replaces.
- Allowed values
- unchanged
- clear
- Default
- unchanged
1 child fields
setobjectRequiredNo description yet.
14 child fields
classificationenumRequiredISO 27001 data classification; drives the DLP gate.
- Allowed values
- PUBLIC
- INTERNAL
- CONFIDENTIAL
- RESTRICTED
containsPhibooleanRequiredHIPAA 45 CFR 164.312(b) gate. If true, every
DecisionSpanemitted by runs of this workflow MUST include actor + access justification.dataCategoriesarray of enumRequiredNo description yet.
- Allowed values
- PERSONAL_IDENTIFIER
- FINANCIAL_RECORD
- HEALTH_RECORD
- BEHAVIORAL_DATA
- CONTACT_INFO
- EMPLOYMENT_RECORD
- COMMUNICATION_CONTENT
- DEVICE_TELEMETRY
legalBasisenumRequiredNo description yet.
- Allowed values
- CONSENT
- CONTRACT
- LEGAL_OBLIGATION
- VITAL_INTERESTS
- PUBLIC_TASK
- LEGITIMATE_INTERESTS
processingPurposestringRequiredArticle 30 RoPA
purposefield.recipientsarray of stringRequiredArticle 30 RoPA
recipients— third parties receiving the processed data.retentionBasisstringRequiredNo description yet.
retentionDurationDaysintegerRequiredNo description yet.
- at least 0
crossBorderDestinationenum or nullOptionalIf set + differs from
WorkflowDefinition.region, the bridge requirescross_border_safeguardto be set.- Allowed values
- US
- EU
- APAC
crossBorderSafeguardenum or nullOptionalGDPR Chapter V cross-border safeguard taxonomy. Required when
ComplianceEnvelope.cross_border_destinationis set — the bridge rejects cross-region dispatch otherwise.- Allowed values
- SCC
- BCR
- ADEQUACY_DECISION
- DEROGATION_ART49
definitionIduuidOptionalNo description yet.
- Default
- 00000000-0000-0000-0000-000000000000
iduuidOptionalNo description yet.
- Default
- 00000000-0000-0000-0000-000000000000
minimumNecessaryJustificationstring or nullOptionalNo description yet.
tenantIduuidOptionalNo description yet.
- Default
- 00000000-0000-0000-0000-000000000000
controlGroupPctBpenum or objectOptionalExplicit partial update: omission preserves, clear removes, set replaces.
- Allowed values
- unchanged
- clear
- Default
- unchanged
1 child fields
setintegerRequiredNo description yet.
- at least 0
dagenum or objectOptionalExplicit partial update: omission preserves, clear removes, set replaces.
- Allowed values
- unchanged
- clear
- Default
- unchanged
1 child fields
setobjectRequiredNo description yet.
3 child fields
edgesarray of objectRequiredNo description yet.
6 child fields
fromNodeIdstringRequiredNo description yet.
idstringRequiredNo description yet.
toNodeIdstringRequiredNo description yet.
conditionobject or nullOptionalNo description yet.
3 child fields
fieldstringRequiredNo description yet.
operatorenumRequiredNo description yet.
- Allowed values
- EQUALS
- NOT_EQUALS
- GREATER_THAN
- LESS_THAN
- CONTAINS
- IN
- EXISTS
valueanyRequiredNo description yet.
roleenumOptionalBranch-edge role marker. Lets the runner distinguish a TrueBranch from a FalseBranch on a
DecisionNodeand the success vs failure path on a step with boundary events attached.- Allowed values
- ELSE
- TRUE_BRANCH
- FALSE_BRANCH
- SUCCESS
- FAILURE
- COMPENSATION
- Default
- ELSE
traceIdstring or nullOptionalNo description yet.
startStepIdstringRequiredThe step the executor should begin from.
stepsarray of objectRequiredNo description yet.
16 child fields
configanyRequiredNo description yet.
errorPolicyenumRequiredNo description yet.
- Allowed values
- RETRY
- ABORT
- ESCALATE
- COMPENSATE
- CATCH_BLOCK
- DEAD_LETTER
- CUSTOM_HANDLER
- DEAD_LETTER
- Skip retries entirely; route immediately to the dead-letter queue. Used for "fail loud" connectors where a retry storm would be worse than a missed message.
idstringRequiredNo description yet.
metadataobjectRequiredNo description yet.
2 child fields
xintegerRequiredNo description yet.
yintegerRequiredNo description yet.
namestringRequiredNo description yet.
typeenumRequiredNo description yet.
- Allowed values
- TRIGGER
- CONDITION
- ACTION
- AGENT_TASK
- AI_EVALUATION
- RAG_ENRICHMENT
- COMPENSATION
- REAL_TIME_STREAM
- DECISION
- SWITCH
- PARALLEL_GATEWAY
- INCLUSIVE_GATEWAY
- FOR_EACH
- WAIT
- APPROVAL_GATE
- SCREEN_FORM
- HTTP_CALLOUT
- SUB_WORKFLOW
- COMPENSATE_BOUNDARY
- ERROR_BOUNDARY
- SIGNAL_CATCH
- DATA_TRANSFORM
- SET_VARIABLE
- AGENT_CHAT_TURN
- MESSAGE_CATCH_EVENT
- CONTINUE_AS_NEW
- DYNAMIC_FORK
- EXIT_HANDLER
- ACQUIRE_LOCK
- FEATURE_FLAG_GATE
- RAG_CITATION_CHECK
- AGENT_PANEL_VOTE
- CITATION_BOUNDING_BOX
- CALL
- MEETING
- RESEARCH
- POLICY
- CUSTOM_CODE
- AI_CLASSIFY_BRANCH
- CUSTOM_CODE
- CustomCode runs in deterministic WASM (no syscalls, no fs, no network except declared SecretRef + HttpCallout subhandle). Replay-safe by construction.
- AI_CLASSIFY_BRANCH
- AI-advisory branch.
binding: falseon the node config is the L1 deterministic gate invariant — L1 re-validates before commit.
allowedRegionsarray of enumOptionalSovereign routing constraint — step must execute in one of these regions. Empty = no constraint.
- Allowed values
- US
- EU
- APAC
bindingbooleanOptionalNo description yet.
- Default
- false
boundaryEventsarray of objectOptionalCamunda BPMN-style boundary events attached to this step.
budgetStateobject or nullOptionalLive circuit-breaker + consumption state for cost-bounded actions.
5 child fields
breakerFailureCountintegerRequiredNo description yet.
- at least 0
breakerStateenumRequiredStandard circuit-breaker triad. Co-located with
BudgetEnvelope.- Allowed values
- CLOSED
- OPEN
- HALF_OPEN
consumedUsdMicrosintegerRequiredNo description yet.
remainingUsdMicrosintegerRequiredNo description yet.
breakerOpensUntildate-time or nullOptionalNo description yet.
inputSchemaobject or nullOptionalTyped input contract — what shape the node consumes. Save-time edge_type_check enforces
producer.output_schema ⊆ consumer.input_schema.2 child fields
inlineanyOptionalNo description yet.
refIdstring or nullOptionalNo description yet.
meddpiccFocusenum or nullOptionalWhich MEDDPICC qualification step this advances.
- Allowed values
- METRICS
- ECONOMIC_BUYER
- DECISION_CRITERIA
- DECISION_PROCESS
- PAPER_PROCESS
- IDENTIFY_PAIN
- CHAMPION
- COMPETITION
outputSchemaobject or nullOptionalTyped output contract — what shape the node produces.
2 child fields
inlineanyOptionalNo description yet.
refIdstring or nullOptionalNo description yet.
retryPolicyobject or nullOptionalPer-step retry policy. Overrides the workflow-level default.
4 child fields
backoffenumRequiredRetryPolicy.backoff— backoff curve between retry attempts.- Allowed values
- EXPONENTIAL
- LINEAR
- FIXED
baseIntervalMsintegerRequiredNo description yet.
- at least 0
maxAttemptsintegerRequiredNo description yet.
- at least 0
maxIntervalMsintegerRequiredNo description yet.
- at least 0
targetPersonalityenum or nullOptionalWhich communication style this step is pitched at.
- Allowed values
- ANALYTICAL
- DRIVER
- AMIABLE
- EXPRESSIVE
timeoutSecondsinteger or nullOptionalNo description yet.
- at least 0
dedupeKeyenum or objectOptionalExplicit partial update: omission preserves, clear removes, set replaces.
- Allowed values
- unchanged
- clear
- Default
- unchanged
1 child fields
setstringRequiredNo description yet.
descriptionenum or objectOptionalExplicit partial update: omission preserves, clear removes, set replaces.
- Allowed values
- unchanged
- clear
- Default
- unchanged
1 child fields
setstringRequiredNo description yet.
enrollmentenum or objectOptionalExplicit partial update: omission preserves, clear removes, set replaces.
- Allowed values
- unchanged
- clear
- Default
- unchanged
1 child fields
setobjectRequiredEntry criteria + dedupe key + mode. Attached to a
WorkflowDefinition; the runtime evaluator reads it on every candidate event.3 child fields
modeenumRequiredPer-entity enrollment policy. Drives whether
enrollment_service(Layer 6) admits the same record into the workflow more than once.- Allowed values
- ONCE
- RE_ENROLL_ON_RE_ENTRY
- ALWAYS_RE_ENROLL
- ONCE
- First enrollment wins — subsequent matches are dropped.
- RE_ENROLL_ON_RE_ENTRY
- Re-enroll only after the record exited the workflow (Completed / Goal / Suppressed). Default for "lifecycle nurture" templates.
- ALWAYS_RE_ENROLL
- Re-enroll every time the trigger matches, even mid-run. Use only for "always-on" alerts where overlapping runs are intentional.
predicatesarray of objectRequiredAND'd predicates the candidate record must satisfy. Empty means "any record matched by the trigger qualifies" — useful for always-on workflows.
3 child fields
fieldstringRequiredNo description yet.
operatorenumRequiredNo description yet.
- Allowed values
- EQUALS
- NOT_EQUALS
- GREATER_THAN
- LESS_THAN
- CONTAINS
- IN
- EXISTS
valueanyRequiredNo description yet.
dedupeFieldstring or nullOptionalField name on the candidate record whose value gets hashed via
PiiEncryptorto produceEnrollmentRecord.dedupe_digest. Empty means "use the record id" — safe default for most aggregates.
goalenum or objectOptionalExplicit partial update: omission preserves, clear removes, set replaces.
- Allowed values
- unchanged
- clear
- Default
- unchanged
1 child fields
setobjectRequiredGoal that ends an enrollment when met. Optional on the definition (workflows can run forever); when set, the evaluator emits a
goal_completionevent andenrollment_servicewritesEnrollmentRecord.exit_reason = "goal_completion".3 child fields
kindenumRequiredWhat an enrollment is trying to achieve. The goal evaluator on
enrollment_serviceexits the enrollment when the kind's predicate fires —goal_completionbecomes the terminalexit_reason.- Allowed values
- FIELD_VALUE
- RECORD_STATUS
- AGGREGATE_THRESHOLD
- AI_PREDICATE
- FIELD_VALUE
- Field on the enrolled record reaches
target_value. - RECORD_STATUS
- Record's lifecycle/status reaches
target_value. - AGGREGATE_THRESHOLD
- Aggregate across the tenant (e.g. "tenant MRR ≥ $50k") satisfies the threshold. Useful for marketing nurture campaigns.
- AI_PREDICATE
- AI evaluator (
l2_cognitive_react) returns confidence ≥ threshold. Carries outsmart-D'sXaiProvenanceon the goal-completion event.
predicateobjectRequiredNo description yet.
3 child fields
fieldstringRequiredNo description yet.
operatorenumRequiredNo description yet.
- Allowed values
- EQUALS
- NOT_EQUALS
- GREATER_THAN
- LESS_THAN
- CONTAINS
- IN
- EXISTS
valueanyRequiredNo description yet.
attributionWindowDaysinteger or nullOptionalDelay after admission before the enrolled subject's outcome is observed. Each admission registers its own observation atomically. None disables delayed attribution; the predicate still controls enrollment completion.
- at least 0
learningGuardrailsenum or objectOptionalExplicit partial update: omission preserves, clear removes, set replaces.
- Allowed values
- unchanged
- clear
- Default
- unchanged
1 child fields
setobjectRequiredNo description yet.
3 child fields
proxyMetricenumRequiredWhat the loop optimizes. Anything short of ClosedWon is a proxy.
- Allowed values
- REPLY_RATE
- MEETING_BOOKED
- STAGE_ADVANCE
- CLOSED_WON
stopPolicyenumRequiredWhat happens at the cap. Off blocks ActAutonomously.
- Allowed values
- EARLY_STOP_ON_DIVERGENCE
- PRESSURE_CAP
- OFF
divergenceCapBpinteger or nullOptionalMax tolerated proxy-vs-outcome divergence in basis points before the stop policy fires. Ignored when proxy_metric == ClosedWon.
- at least 0
monitoringSpecenum or objectOptionalExplicit partial update: omission preserves, clear removes, set replaces.
- Allowed values
- unchanged
- clear
- Default
- unchanged
1 child fields
setobjectRequiredNo description yet.
5 child fields
autoDegradeenumRequiredNo description yet.
- Allowed values
- NONE
- PAUSE_NEW_ENROLLMENT
- DOWNGRADE_AUTONOMY_ONE_LEVEL
- DRAIN_ALL
monitoredSignalsarray of enumRequiredNo description yet.
- Allowed values
- COST_PER_STEP
- LATENCY
- TOOL_ERROR_RATE
- GUARDRAIL_VIOLATIONS
- LOOP_DETECTION
- OUTPUT_DRIFT
- PII_LEAKAGE
alertPolicyanyOptionalPer-signal warn/critical thresholds + destinations. Free-shape JSON in v1 (threshold values are deployment-specific, not citable constants).
contentCaptureenumOptionalNo description yet.
- Allowed values
- OFF
- OPT_IN_REDACTED
- Default
- OFF
logRetentionDaysinteger or nullOptionalArt. 26(6) floor is 6 months for high-risk systems; default 180.
- at least 0
nameenum or objectOptionalExplicit partial update: omission preserves, clear removes, set replaces.
- Allowed values
- unchanged
- clear
- Default
- unchanged
1 child fields
setstringRequiredNo description yet.
oversightenum or objectOptionalExplicit partial update: omission preserves, clear removes, set replaces.
- Allowed values
- unchanged
- clear
- Default
- unchanged
1 child fields
setobjectRequiredNo description yet.
6 child fields
owneruuidRequiredNo description yet.
approvalScopearray of enumOptionalNo description yet.
- Allowed values
- PROMOTE
- RESTORE_AUTONOMY
- CLOSE_INCIDENT
- RECERTIFY
backupuuid or nullOptionalDelegation / vacation coverage. Required at ActAutonomously.
biasAwarenessAckbooleanOptionalArt. 14(4)(b) — automation-bias awareness acknowledged at assignment. Required at ActAutonomously.
- Default
- false
escalationSlaMinutesinteger or nullOptionalTime to acknowledge an escalation before it falls to the backup.
- at least 0
recertIntervalDaysinteger or nullOptionalPeriodic re-attestation cadence.
- at least 0
suppressionenum or objectOptionalExplicit partial update: omission preserves, clear removes, set replaces.
- Allowed values
- unchanged
- clear
- Default
- unchanged
1 child fields
setobjectRequiredA suppression list ref. When
scope != None, the runtime consults the named list before enrolling and blocks matches.2 child fields
listNamestringRequiredNo description yet.
scopeenumRequiredWhere the suppression list applies. Resolved by
enrollment_servicebefore dedupe — a Region-scoped suppression blocks every tenant in that region from enrolling the record.- Allowed values
- NONE
- TENANT
- REGION
- GLOBAL
- REGION
- Outsmart-B — region-scoped suppression keeps EU PII rules enforceable across every tenant under the same
IdentityRegion. - GLOBAL
- Reserved for support-driven blanket bans (e.g. abuse reports). SuperAdmin role required to apply.
triggersenum or objectOptionalExplicit partial update: omission preserves, clear removes, set replaces.
- Allowed values
- unchanged
- clear
- Default
- unchanged
1 child fields
setarray of objectRequiredNo description yet.
5 child fields
domainstringRequiredOwning domain (e.g.
"leads","deals"). The dispatcher only considers events from this domain; cross-domain triggers compose via multipleWorkflowTriggerentries.kindenumRequiredNo description yet.
- Allowed values
- MANUAL
- RECORD_CREATED
- RECORD_UPDATED
- RECORD_DELETED
- FIELD_CHANGED
- SCHEDULE
- EVENT_RECEIVED
- AI_SUGGESTED
cronExpressionstring or nullOptionalOptional cron expression for Schedule triggers (e.g. "0 9 * * 1-5").
intervalSecondsinteger or nullOptionalOptional recurring interval in seconds for Schedule triggers (e.g. 86400).
- at least 0
predicateobject or nullOptionalOptional predicate.
None⇒ any event ofkindfordomainmatches (no field filter).Some(_)⇒ event payload must satisfy the condition.3 child fields
fieldstringRequiredNo description yet.
operatorenumRequiredNo description yet.
- Allowed values
- EQUALS
- NOT_EQUALS
- GREATER_THAN
- LESS_THAN
- CONTAINS
- IN
- EXISTS
valueanyRequiredNo description yet.
suppressionobject or nullOptionalA suppression list ref. When
scope != None, the runtime consults the named list before enrolling and blocks matches.2 child fields
listNamestringRequiredNo description yet.
scopeenumRequiredWhere the suppression list applies. Resolved by
enrollment_servicebefore dedupe — a Region-scoped suppression blocks every tenant in that region from enrolling the record.- Allowed values
- NONE
- TENANT
- REGION
- GLOBAL
- REGION
- Outsmart-B — region-scoped suppression keeps EU PII rules enforceable across every tenant under the same
IdentityRegion. - GLOBAL
- Reserved for support-driven blanket bans (e.g. abuse reports). SuperAdmin role required to apply.
triggersarray of object or nullOptionalNo description yet.
5 child fields
domainstringRequiredOwning domain (e.g.
"leads","deals"). The dispatcher only considers events from this domain; cross-domain triggers compose via multipleWorkflowTriggerentries.kindenumRequiredNo description yet.
- Allowed values
- MANUAL
- RECORD_CREATED
- RECORD_UPDATED
- RECORD_DELETED
- FIELD_CHANGED
- SCHEDULE
- EVENT_RECEIVED
- AI_SUGGESTED
cronExpressionstring or nullOptionalOptional cron expression for Schedule triggers (e.g. "0 9 * * 1-5").
intervalSecondsinteger or nullOptionalOptional recurring interval in seconds for Schedule triggers (e.g. 86400).
- at least 0
predicateobject or nullOptionalOptional predicate.
None⇒ any event ofkindfordomainmatches (no field filter).Some(_)⇒ event payload must satisfy the condition.3 child fields
fieldstringRequiredNo description yet.
operatorenumRequiredNo description yet.
- Allowed values
- EQUALS
- NOT_EQUALS
- GREATER_THAN
- LESS_THAN
- CONTAINS
- IN
- EXISTS
valueanyRequiredNo description yet.
Response
Status 202. The command was applied. The body reports the outcome and, where the command changes a record, that record's new state.
successbooleanRequiredtruewhen the command was applied.error_messagestringRequiredEmpty when the command was applied.
projected_stateobjectOptionalThe record as it stands after the command.
event_payloadobjectOptionalThe event the command recorded.
insightsarray of objectOptionalAdvisory notes about the result. Each has a
code, amessageand animpactnumber.
Errors
Every error carries an HTTP status. Where it also carries a code, branch on the code, not on the message.
- 400
X-CQRS-Actionis missing or names a command this route does not accept. SendUPDATE_WORKFLOW_DEFINITION. - 400
DOMAIN_ROUTINGThe body is not a valid command. Check the required fields and their types. - 401The access token is missing, expired or not valid.
- 401
L1_AUTHThe caller's role is belowmanageror the caller has no access to this record. - 403
L1_POLICYA business rule refused the command. The message names the rule. - 409
L1_VERSIONexpected_versionis not the record's current version. Read the record again, then retry. - 409
L1_IDEMPOTENCYA command with this idempotency key was already applied. - 409
CONFLICTThe command would duplicate a record that must be unique. - 500
L3_COMMITThe command was valid but could not be saved.