Overview
Thefetch_execution_contexts function retrieves a paginated list of execution contexts for the current workspace.
Function Signature
Parameters
Optional query parameters including:
page: Page number (default: 1)per_page: Items per page (default: 20, max: 100)agent_id: Filter by specific agent IDworkflow_id: Filter by specific workflow ID
Return Value
ReturnsResult<ExecutionContextListResponse> containing:
data: Vector ofAiExecutionContextobjectshas_more: Boolean indicating if more pages exist
Basic Usage
Advanced Usage
Error Handling
Rate Limits
- Read operations: 100 requests per minute
- Burst limit: 20 requests per second
Related Functions
- fetch_execution_context - Get specific context
- create_execution_context - Create new context
- update_execution_context - Update context
- delete_execution_context - Delete context
