获取任务列表
AI-generatedSummary
Lists Seedance tasks from the last 7 days, optionally filtering by status, task IDs, model, or service tier. Each input item produces one output item; read the task array from json.tasks.
Inputs
- Return All — Defaults to true. Automatically fetches pages of 100 tasks, stopping when a page has fewer than 100 results or after 10 requests. When false, fetches one page using Page Number and Page Size.
- Page Number — Used when Return All is false; defaults to 1.
- Page Size — Used when Return All is false; defaults to 20.
- Additional Fields: Model — Filter tasks by model ID.
- Additional Fields: Service Tier — Filter by Default (online inference) or Flex (offline inference); defaults to Default.
- Additional Fields: Status — Filter by task status: cancelled, expired, failed, queued, running, or succeeded. Any is the default.
- Additional Fields: Task IDs — Comma-separated task IDs to filter by.
Output shape
One item per input item, with the aggregated task list in json.tasks.
The JSON also includes
count,returnAll,pageNum,pageSize, and retention information. Individual tasks include mapped fields such as task ID, model, status, video and last-frame URLs, usage, error, status flags, retention information, and the raw API response. Only the most recent 7 days of task history are available; video URLs typically expire after 24 hours. When Return All is enabled, pagination is capped at 10 requests.