Skip to main content

Overview

Retrieve tasks belonging to the authenticated customer. Each task includes its ID, SRT URL, payload, whether it has been assigned (vs just warmed up), time remaining before auto-shutdown, and current status. Use the state query parameter to control which tasks are returned. If omitted, state=active is used.

Query Parameters

Example Request

Example Requests with state

Example Response

Response Fields

TaskInfo Fields

Notes

  • state=active returns non-terminal tasks only (default).
  • state=completed returns completed tasks only.
  • state=all returns all tasks for the account, including terminal tasks.
  • You can also filter by a specific status (scheduled, queued, running, ready, stopping, stopped, error, failed, completed, cancelled).
  • The assigned field distinguishes between tasks that have been fully assigned work (via /tasks/create-task, or the deprecated /tasks/assign-task) and tasks that were only pre-warmed via the deprecated /tasks/warmup endpoint without subsequent assignment.
  • time_remaining_hours is computed from max_life_hours and the task creation time. Use Extend Task Life to increase max_life_hours for an active task.