List tasks
Task
List tasks
List all tasks for the specified team.
Supports pagination and optional status filtering.
Accepts JWT Bearer, sk- integration credential, or dk- device credential.
GET
List tasks
Authorizations
User session JWT (Bearer ). Must be paired with the X-Team-ID
request header on team-scoped endpoints so the server knows which
team's resources to operate on.
Headers
UUID of the team to scope the request to. Used by dual-auth endpoints (runtime + scoped management):
- JWT callers MUST send it — a user may belong to multiple teams and the runtime cannot otherwise know which one to operate on. Missing header → 400.
- Credential callers (
sk-,dk-) can omit it because the team is derived from the credential row itself. Any value sent is ignored.
Example:
"019abc12-4567-7890-abcd-ef1234567891"
Query Parameters
Page number to retrieve (1-based). Default: 1.
Required range:
x >= 1Example:
1
Number of items per page (1–100). Default: 20.
Required range:
1 <= x <= 100Example:
20
Filter tasks by status. Current state of the task:
pending: Task created, waiting to be picked up by the scheduler.waiting: The scheduler received the task, waiting for an available agent with matching labels.queued: Task assigned to an agent, waiting for ACK.running: Agent is executing the ComfyUI workflow.completed: Execution finished successfully, output is available.failed: Execution failed, check the error field for details.cancelled: Task was cancelled before completion.
Available options:
pending, waiting, queued, running, completed, failed, cancelled 