Overview
Long-running operations like evaluations create tasks that run asynchronously.Task States
Polling Tasks
Use webhooks for real-time notifications instead of polling.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Background tasks and job management.
| State | Description |
|---|---|
pending | Queued for processing |
running | Currently executing |
completed | Finished successfully |
failed | Encountered an error |
cancelled | Manually cancelled |
task = client.tasks.get("task_abc123")
print(f"Status: {task.status}")
