List active task tags for a flow execution
Header Parameters
Query Parameters
Unique identifier of the flow execution to query tags from. Required parameter; returns all active tags for this execution. Combine with task_name to filter to a specific task.
Filtering: Queries automatically scoped to user's organization via RLS. Attempting to access another organization's execution returns 404.
Response: All active tags (status='active') for the execution. Soft-deleted tags (status='deleted') are excluded automatically.
Optional task name to filter tags by specific task. Case-sensitive; must match task name exactly as defined in flow YAML. Omit to return tags for all tasks in the flow execution.
Filtering behavior:
- Specified: Returns only tags for this task_name
- Omitted: Returns tags for all tasks in flow execution
Combines with flow_execution_id using AND logic.
Example: task_name='extract_data' returns tags only for that task. Useful for checking task-specific workflow states (is task revie...
Response
Response Attributes
ID of the flow execution containing the tagged task. Establishes execution context and organization scope. Tags are scoped to flow executions; same task in different executions has independent tag sets. Used for filtering tags by execution.
Unique identifier for this tag record. Auto-generated UUID assigned at tag creation. Used for direct tag access and references.
ID of organization owning this tag. Inherited from parent flow execution for multi-tenant isolation. Used for Row-Level Security (RLS) filtering and authorization. All tags scoped to single organization; cross-org access forbidden. Queries automatically filtered by user's organization_id.
Tag value identifying the categorization or state. Free-form string for flexible workflow customization. Case-sensitive; same tag with different case creates separate records. Combined with tag_type for organized categorization.
Common patterns:
- Workflow: 'reviewed', 'approved', 'rejected', 'pending'
- Quality: 'quality_checked', 'flagged', 'verified'
- Priority: 'high', 'medium', 'low'
- Custom: Domain-specific values
Category or classification for the tag value. Groups related tags for filtering and organization in UI/queries. Case-sensitive; use consistent values across organization.
Common types:
- 'review_status': Workflow states
- 'quality': Quality assurance flags
- 'priority': Business priority levels
- 'approval': Approval workflow states
- 'custom': Domain-specific categories
Name of the tagged task as defined in flow definition YAML. Case-sensitive identifier matching flow configuration. Tags are attached to task_name within a flow_execution_id. Multiple tags can be attached to the same task.
Response Attributes
Standard error detail structure.
This model matches the error format returned by the centralized exception handlers in app/api/errors/handlers.py.
Show child attributes
Response Attributes
Show child attributes
Response Attributes
Standard error detail structure.
This model matches the error format returned by the centralized exception handlers in app/api/errors/handlers.py.