Skip to content
Proud to collaborate with Microsoft for Startups

ticket.open ​

Create or collapse-into a ticket — the single ingress for humans and adapters.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-tickets
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuidstringYes—Organization that owns the ticket; injected from authenticated context.
kindstringYes—Ticket kind. Values: incident, task, info.
titlestringYes—Short human-readable work title.
source_typestringYes—Ticket provenance. Values: lumen_error_group, actor_finding, alert_rule, audit_finding, tool_request, workflow_run, human, api, linear.
owner_typestringYes—Principal type. Values: human, actor, agent, platform.
owner_uuidstringYes—UUID or stable identifier of the creating principal.
bodystringNo—Optional detailed problem statement or work request.
subject_typestringNo—Optional ecosystem object type that the work concerns.
subject_uuidstringNo—Optional public UUID of the subject object.
source_uuidstringNo—Optional public UUID of the source signal or record.
source_fingerprintstringNo—Stable source deduplication key; repeated opens collapse into one ticket.
prioritystringNo—Priority. Canonical values: page, priority, routine, deferred. Accepted aliases: urgent->page, high->priority, medium->routine, low->deferred.
severitystringNo—Impact severity. Values: critical, high, medium, low, info.
assignee_typestringNo—Principal type. Values: human, actor, agent, platform.
assignee_uuidstringNo—Optional UUID or stable identifier of the assigned principal.
labelslistNo—Optional labels; repeated values are normalized by persistence.
extrajsonNo—Optional source-specific metadata retained with the ticket.
evidence_refslistNo—Workflow IDs or {workflow_uuid, role} evidence links.
dispatchbooleanNo—When true, best-effort deliver the new assignment after persistence.

Output Schema ​

FieldTypeRequiredDefaultDescription
ticket_uuidstringNo—Public UUID of the created or deduplicated ticket.
createdbooleanNo—True when a new ledger row was created; false when deduplicated.
statusstringNo—Current canonical ticket lifecycle status.
occurrence_countintegerNo—Number of source occurrences collapsed into this ticket.
organization_uuidstringNo—Input field preserved in workflow state.
kindstringNo—Input field preserved in workflow state.
titlestringNo—Input field preserved in workflow state.
source_typestringNo—Input field preserved in workflow state.
owner_typestringNo—Input field preserved in workflow state.
owner_uuidstringNo—Input field preserved in workflow state.
bodystringNo—Input field preserved in workflow state.
subject_typestringNo—Input field preserved in workflow state.
subject_uuidstringNo—Input field preserved in workflow state.
source_uuidstringNo—Input field preserved in workflow state.
source_fingerprintstringNo—Input field preserved in workflow state.
prioritystringNo—Input field preserved in workflow state.
severitystringNo—Input field preserved in workflow state.
assignee_typestringNo—Input field preserved in workflow state.
assignee_uuidstringNo—Input field preserved in workflow state.
labelslistNo—Input field preserved in workflow state.
extrajsonNo—Input field preserved in workflow state.
evidence_refslistNo—Input field preserved in workflow state.
dispatchbooleanNo—Input field preserved in workflow state.
failed_atstringNo—ISO-8601 timestamp when action_fail recorded the failure
failure_reasonstringNo—Human-readable failure reason from action_fail
failure_typestringNo—Engine-stamped failure category
failed_actionstringNo—Engine-stamped action that raised
failed_at_statestringNo—Engine-stamped state when the workflow failed
failed_stepstringNo—Engine-stamped step name (DAG path)
failed_layerstringNo—Engine-stamped layer index (DAG path)
errorstringNo—Engine-stamped exception message
error_typestringNo—Engine-stamped exception class name

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—executeAccepted
executingNoNo—completeApplying the mutation
completedNoYesYes—Done
failedNoYesNo—Failed

State Diagram ​

Transitions ​

FromActionToDescription
initiatedexecuteexecutingRun the mutation
executingcompletecompletedFinalize
* (any state)failfailedCatch-all failure

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "ticket.open",
  "initial_data": {
    "organization_uuid": "value",
    "kind": "value",
    "title": "value",
    "source_type": "value"
  }
}