Apps

Trigger a run (sync for rules/assisted; External parks at awaiting_decision)

Changed on

Idempotent per (app, Idempotency-Key). dry_run produces a full trace and provably no side effects.

post/v1/apps/{id}/runs

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Path parameters

id, string uuid required

Query parameters

dry_run, 'true'

Headers

Idempotency-Key, string

Request body

object required
input, object
idempotency_key, string
dry_run, boolean

Response

The run (projection shape).

AppRun required

Run projection. The journal (/events) and the sealed record (/record) are the ledger.

run_id, string uuid
app, string

slug@vN

status, 'pending' | 'assembling' | 'awaiting_decision' | 'deciding' | 'verifying' | 'executing' | 'completed' | 'failed' | 'held' | 'cancelled'
mode, string
dry_run, boolean
trigger, object
decision, object nullable

Null while undecided, or when withheld (decision_withheld).

decision_withheld, boolean

True when the run names a document the caller cannot read: the decision is composed over all of them, so it is not served.

decided_by, object nullable

Actor union — rules / hosted_agent / human / external_agent recorded identically.

thresholds_applied, string[]
reviews, string[]
created_at, string date-time
completed_at, string date-time nullable

Changes