- CLI Reference
- Commands
- ironflow audit
ironflow audit
View and query history inspection (audit trail) records for workflow runs and auth decisions. Uses the ConnectRPC API.
ironflow audit <subcommand> [flags]Subcommands:
| Subcommand | Description |
|---|---|
trail | View history inspection (audit trail) for a workflow run |
auth-trail | View auth decision audit trail |
ironflow audit trail
Section titled “ironflow audit trail”View the audit trail for a specific workflow run with optional filtering.
ironflow audit trail <run-id> [flags]Arguments:
| Argument | Required | Description |
|---|---|---|
run-id | Yes | Workflow run ID to query |
Flags:
| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
--type | string | Filter by event type (e.g., step.completed) | ||
--from | string | Filter events from this date or RFC3339 timestamp (inclusive) | ||
--to | string | Filter events up to this date or RFC3339 timestamp; a bare date means its midnight, so it excludes the named day | ||
--limit | int | 50 | Maximum events to return | |
--json | bool | false | Output as JSON | |
--server | -s | string | Server URL override |
Output:
TIMESTAMP EVENT TYPE STEP ID PAYLOAD10:30:15.123 run.created - {"functionId":"fn_abc"}10:30:15.456 step.created step_001 {"name":"validate-input"}10:30:16.789 step.completed step_001 {"name":"validate-input"}
Total: 3 eventsExamples:
# View all audit events for a runironflow audit trail run_abc123
# Filter by event typeironflow audit trail run_abc123 --type step.completed
# Filter by time rangeironflow audit trail run_abc123 --from 2026-01-01T00:00:00Z --to 2026-01-02T00:00:00Z
# Limit results and output as JSONironflow audit trail run_abc123 --limit 100 --jsonironflow audit auth-trail
Section titled “ironflow audit auth-trail”View the auth decision audit trail with optional filtering. Shows authentication and authorization decisions made by the platform.
ironflow audit auth-trail [flags]Flags:
| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
--org | string | Organization ID (required) | ||
--key | string | Filter by API key ID | ||
--action | string | Filter by action (e.g., functions:invoke) | ||
--from | string | Filter events from this date or RFC3339 timestamp (inclusive) | ||
--to | string | Filter events up to this date or RFC3339 timestamp; a bare date means its midnight, so it excludes the named day | ||
--limit | int | 50 | Maximum events to return | |
--json | bool | false | Output as JSON | |
--server | -s | string | Server URL override |
Output:
TIMESTAMP EVENT TYPE DECISION PAYLOAD10:30:15.123 auth.check allow {"action":"functions:invoke","key":"ak_abc"}10:30:16.456 auth.check deny {"action":"runs:cancel","key":"ak_def"}
Total: 2 eventsExamples:
# View all auth decisions for an organizationironflow audit auth-trail --org org_default
# Filter by API keyironflow audit auth-trail --org org_default --key ak_abc123
# Filter by actionironflow audit auth-trail --org org_default --action functions:invoke
# Filter by time range with JSON outputironflow audit auth-trail --org org_default --from 2026-01-01T00:00:00Z --json