--since all is an explicit request for every retained execution in the selected scope. The server applies your account’s project access before synchronization. Local options can narrow that access but can’t widen it.
A bounded window also includes the older ancestors of matching contexts. This keeps causal lineage and fan-out traversal intact without synchronizing unrelated old runs.
Discover the authorized resources
The command-line tool reads the public execution-data manifest through the same typed client and bearer session as other management commands. You can inspect it through REST when building another agent interface:Record logs and traces
Action handlers receive durable logging and tracing methods on their runtime:trace callbacks create parent-child spans. Logs automatically record their active span. A callback that throws marks its span failed with a normalized error and throws the original error again. An abrupt sandbox exit can leave a span in running, which identifies unfinished work. Logs and traces don’t replace or change explicit automation outputs.
Query the data
Pass a statement directly or use a SQL file:automate schema. query accepts one or more PostgreSQL SELECT statements and EXPLAIN for a SELECT. It rejects session changes, transactions, modifying common table expressions, row locks, and every data-definition or data-modification statement. Each query also runs as a restricted role inside a read-only transaction.
Inspect the available objects and local status:
Follow context fan-out
automate.context_ancestors and automate.context_descendants contain the transitive context relationships, including each context itself at depth 0.
Find every output emitted beneath one context:
automate.runs view contains root contexts—contexts without a parent—joined to their automation, project, and organization identity. The automate.contexts table contains both roots and continuations.
Investigate logs and traces
Find recent warnings and errors with their action and span provenance:Tables
Payload representation
Automate.ax payloads support values that JSON can’t represent directly. Thepayload, output, key, data, value, fields, and attributes columns use an extended JSON projection:
- Ordinary objects, arrays, strings, booleans, numbers, and
nullremain ordinary JSON. - Values such as
bigint,Date,Map,Set, typed arrays, files, requests, and responses use an object with a$typefield. - An ordinary object that already owns
$typeis wrapped as{ "$type": "object", "value": ... }, so its original tag can’t be confused with the projection format. - Binary values up to 64 KiB include base64. Larger values include their size, an
omittedmarker, and anencodedRefidentifying the exact stored value. - Corresponding
*_encodedcolumns retain the exact encoded bytes. These columns hold the local copy of server truth. Automate.ax derives the JSON columns for queries.
Keep data current
Run a live synchronization process while investigating active automations:consistency: "eventual", and data status --json reports the offset, row count, and synchronization time for every resource. A local update replaces one resource and its freshness marker atomically. When a query joins resources, compare their markers if the newest cross-resource changes must already agree.
Local-data safety
The database can contain sensitive provider data. Automate.ax isolates it by app origin and signed-in profile, creates its directory with owner-only permissions, and deletes every local profile for that app origin when you log out—even when the server session has expired. Export or clear it explicitly:data clear --yes supports non-interactive cleanup.