Triggered Workflows
List, inspect, export, unblock, and restart triggered workflow tasks for lifecycle management policies
Endpoints
Key Concepts
Task States
Identity Status (Trigger Reason)
Priority Levels
List Workflow Tasks
Endpoint
Description
Filterable Fields
API Reference
Retrieve a paginated list of triggered workflow tasks across all policies. Each task represents a single workflow execution for an identity, created when a policy's source of identity detects a change. Use the filter parameter with SCIM-style expressions to narrow results by state, policy, identity, or time range. Corresponds to the "Triggered Workflows" tab in the Activity Log UI.
Veza API key for authentication. Generate keys in Administration > API Keys.
SCIM-style filter expression. Filterable fields: id (eq), policy_id (eq), policy_version_number (eq, gt, lt, ge, le), entity_type (eq), entity_id (eq), state (eq), dry_run (eq), workflow (eq, ne, co — case-insensitive), scheduled_at (gt, lt, ge, le), extraction_event (eq), previous_task_id (eq, co, sw, ew), identity_id (eq, co, sw, ew), identity_name (eq, co, sw, ew — case-insensitive), started_at (gt, lt, ge, le), completed_at (gt, lt, ge, le), any_changes (eq), high_priority (eq), manually_triggered (eq), manually_triggered_by (eq, ne), manually_override_workflows (eq), identity_status (eq, ne), priority (eq, ne, gt, ge, lt, le), reason (eq, ne), t_created_at (gt, lt, ge, le), t_updated_at (gt, lt, ge, le), runtime_change_limit_reached (eq), disregard_change_limit (eq). Example: state eq "ERRORED" and policy_id eq "abc-123".
OK
Default error response
Request Example
Get Workflow Task
Endpoint
API Reference
Retrieve a single triggered workflow task by its unique ID. Returns the full PolicyWorkflowTask object including state, identity details, timing information, priority, and any error messages.
Veza API key for authentication. Generate keys in Administration > API Keys.
OK
Default error response
Request Example
List Workflow Tasks by Policy
Endpoint
Description
API Reference
Retrieve a paginated list of triggered workflow tasks scoped to a specific policy. Accepts the same filter, ordering, and pagination parameters as the global List Workflow Tasks endpoint but automatically restricts results to the given policy_id.
Veza API key for authentication. Generate keys in Administration > API Keys.
SCIM-style filter expression. Same filterable fields as the global List Workflow Tasks endpoint. See that endpoint for the complete field reference.
OK
Default error response
Export Workflow Tasks
Endpoint
Description
API Reference
Export triggered workflow tasks to a downloadable file. Accepts the same filter and ordering parameters as the List endpoint. Returns an export job reference that can be polled for completion. Supported formats include CSV.
Veza API key for authentication. Generate keys in Administration > API Keys.
OK
Default error response
Request Example
Unblock Workflow Tasks
Endpoint
Description
API Reference
Unblock workflow tasks that are in BLOCKED state due to safety limit thresholds being reached. Tasks can be targeted by a specific ID or by a SCIM filter expression. Choose to either RUN the blocked tasks (resume processing) or ABANDON them (skip without executing). Requires admin or operator role.
Veza API key for authentication. Generate keys in Administration > API Keys.
Request to unblock workflow tasks that are in BLOCKED state due to safety limit thresholds. Target tasks by ID or filter expression, and choose whether to run or abandon them.
target worlflow task with specified id
target all blocked workflow tasks matching the SCIM filter expression
The action to take on the blocked workflow tasks.
OK
Default error response
Request Example
Restart Workflow Task
Endpoint
Description
API Reference
Restart a previously errored or completed workflow task. Creates a new task execution linked to the original task. Requires admin role.
Veza API key for authentication. Generate keys in Administration > API Keys.
OK
Default error response
Request Example
Authentication
Related Documentation
Last updated
Was this helpful?
