Returns tasks for the authenticated user with optional filtering by project and status.
Authentication
Requires a valid Bearer token.
Query Parameters
Filter tasks by project ID (UUID).
Filter tasks by status. One of: created, running, completed, failed, aborted.
Response
List of task objects.
Unique task identifier (UUID).
Task name (derived from the prompt).
Task status: created, running, completed, failed, aborted.
Task result summary on completion.
Error message if the task failed.
Brief summary of what the task accomplished.
ISO 8601 timestamp when the task finished.
{
"tasks": [
{
"id": "c3d4e5f6-7890-12ab-cdef-345678901bcd",
"name": "Add login page",
"status": "completed",
"result": "Created login page with email/password form",
"error": null,
"summary": "Added a login page component with form validation",
"created_at": "2025-01-15T10:30:00Z",
"completed_at": "2025-01-15T10:35:00Z"
}
]
}
Errors
| Status | Description |
|---|
401 | Unauthorized — missing or invalid token |