curl --request GET \
--url https://agent-studio.thena.ai/api/v1/flows/executions \
--header 'x-api-key: <api-key>'{
"executions": [
{
"flow_id": "<string>",
"agent_id": "<string>",
"organization_id": "<string>",
"execution_number": 123,
"trigger_type": "manual",
"priority": "low",
"status": "pending",
"started_at": "2023-11-07T05:31:56Z",
"id": "<string>",
"trigger_data": {},
"variables": {},
"completed_at": "2023-11-07T05:31:56Z",
"duration_ms": 123,
"timeout_seconds": 300,
"steps": [
{
"step_id": "<string>",
"step_name": "<string>",
"step_type": "<string>",
"status": "pending",
"started_at": "2023-11-07T05:31:56Z",
"tool_name": "<string>",
"input_data": {},
"output_data": {},
"error_message": "<string>",
"completed_at": "2023-11-07T05:31:56Z",
"duration_ms": 123,
"retry_count": 0,
"metadata": {}
}
],
"final_output": {},
"error_message": "<string>",
"error_details": {},
"retry_count": 0,
"max_retries": 3,
"parent_execution_id": "<string>",
"tokens_used": 123,
"tool_calls_count": 0,
"cost_estimate": 123,
"performance_metrics": {},
"metadata": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"total_count": 123,
"page": 123,
"page_size": 123,
"has_more": true
}List flow executions with filtering and pagination.
Supports filtering by:
curl --request GET \
--url https://agent-studio.thena.ai/api/v1/flows/executions \
--header 'x-api-key: <api-key>'{
"executions": [
{
"flow_id": "<string>",
"agent_id": "<string>",
"organization_id": "<string>",
"execution_number": 123,
"trigger_type": "manual",
"priority": "low",
"status": "pending",
"started_at": "2023-11-07T05:31:56Z",
"id": "<string>",
"trigger_data": {},
"variables": {},
"completed_at": "2023-11-07T05:31:56Z",
"duration_ms": 123,
"timeout_seconds": 300,
"steps": [
{
"step_id": "<string>",
"step_name": "<string>",
"step_type": "<string>",
"status": "pending",
"started_at": "2023-11-07T05:31:56Z",
"tool_name": "<string>",
"input_data": {},
"output_data": {},
"error_message": "<string>",
"completed_at": "2023-11-07T05:31:56Z",
"duration_ms": 123,
"retry_count": 0,
"metadata": {}
}
],
"final_output": {},
"error_message": "<string>",
"error_details": {},
"retry_count": 0,
"max_retries": 3,
"parent_execution_id": "<string>",
"tokens_used": 123,
"tool_calls_count": 0,
"cost_estimate": 123,
"performance_metrics": {},
"metadata": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"total_count": 123,
"page": 123,
"page_size": 123,
"has_more": true
}Filter by flow ID
Filter by status Flow execution status enumeration.
pending, queued, running, completed, failed, cancelled, timeout, retrying Filter by trigger type How the execution was triggered.
manual, event, scheduled, api, webhook, test Filter executions after this date
Filter executions before this date
Page number
x >= 1Number of items per page
1 <= x <= 100Successful Response
Response model for execution list operations.