On this page
Sommatic Docs
Open portal

Audit

What Sommatic AI records so you can reconstruct any run. Who started it and from where, which version ran, what each node returned and which port it took, plus deployments from Git and credential use.

View as Markdown
Open in

When someone asks why a request was routed to the wrong team, or who approved a payment, you need facts, not logs to grep. Sommatic AI records every run as structured data: the run itself, every node it executed, the version that ran and where that version came from. You read it in the portal’s run results or through the Execution API.

Per run

Each run has a flow instance (its live state) and a flow instance result (its summary).

WhatFields
Which workflow and versionflow_definition_id, flow_version_id, flow_slug
When and how longstarted_at, completed_at, duration_ms
Who and from whereinitiated_by (the identity that started it, empty for webhook or scheduled runs) and execution_source: source (for example studio, webhook, schedule, api, command-center), app_slug, actor, intent_text
How it enteredtrigger_id, correlation_id
How it endedstatus (completed, failed…), outcome_label, outcome_category, error_summary
What it didsteps_summary: one entry per node with nodeId, operatorSlug, status, port, durationMs and error
How much it costmetrics, such as the count of nodes that ran and succeeded

Runs started by workflow.chain keep the link to their child runs, so you can follow a case across sub-workflows. In expressions, $execution.id is the root id of the whole chain.

Per node

Every node that runs leaves a node execution:

FieldContent
node_id, flow_instance_idWhich node, in which run.
statussuccess or error.
started_at, ended_atWhen it ran.
output_envelopeWhat the node returned.
selected_portThe port it took, which decided the next edge.
execution_resultThe node’s metadata (meta of its envelope).
error_detailsThe error, when it failed.
metricsLatency.

The run summary keeps only the final output and the outputs you configure for the workflow; the full output of each node lives here. Treat access to run records like access to the data your workflows process, because outputs can contain personal or business data.

Per deployment

Changes to what runs are recorded too:

  • Published versions. Each publish creates an immutable flow version (or a knowledge resource version), with an optional description.
  • Git Sync. A synced resource keeps a git_binding: repository, branch, environment, key and file, the last_synced_commit and the deployed_commit and deployed_version. A version published by Git Sync stores the commit and key it came from. See Preview and apply.

Credential use

Each time a credential is resolved for a node, Sommatic AI logs the credential id, the organization, the credential type and the calling service. Rejected resolutions are logged as well. The secret itself is never logged. See Credentials.

Tasks

A task records who it was assigned to, who claimed it and when, its SLA and the output the person submitted. Every change of status goes through an explicit transition.

Live events

While a run is in progress, GET /workflow-orchestration/execution/stream streams its progress over server-sent events (node-step-started, node-step-completed), and GET /work-management/task/stream streams task changes. Use them for live views; use the run records above as the audit trail.

Next steps

Install agent tools

Give your coding agent the official Sommatic AI docs: skills, the docs MCP server and Markdown pages, so it never has to scrape the site.

Skills only. They do not update by themselves; run it again to refresh.

npx skills add https://docs.sommatic.ai
How agents read these docs