Tasks
Manage processing tasks
List all tasks
Retrieves a list of tasks for the project, optionally filtered by status or kind.
Authorization
Authorization
RequiredBearer <token>Requires a Bearer token in the Authorization header. Format: Authorization: Bearer YOUR_API_KEY
In: header
Query Parameters
page
integerPage number.
1
Minimum: 1
limit
integerItems per page.
20
Minimum: 1
Maximum: 100
status
stringFilter by task status.
"pending" | "waiting" | "processing" | "ready" | "completed" | "failed" | "error" | "cancelled"
kind
stringFilter by task kind.
"ingest" | "workflow" | "speech" | "outline" | "chapters" | "subtitles" | "thumbnails" | "nsfw" | "summary" | "describe" | "video" | "image" | "audio" | "http" | "conditions" | "store" | "prompt" | "tags"
Response Body
A list of tasks.
TypeScript Definitions
Use the response body type in TypeScript.
meta
objectdata
array<object>links
objectCreate a new task
Creates a new processing task (e.g., ingest, video transcode, speech analysis) or a workflow task.
Authorization
Authorization
RequiredBearer <token>Requires a Bearer token in the Authorization header. Format: Authorization: Bearer YOUR_API_KEY
In: header
Request Body
application/json
RequiredTask configuration defining what type of processing to perform. Structure varies based on the task kind.
kind
RequiredstringThe type of task to create.
"ingest" | "workflow" | "speech" | "video" | "image" | "audio" | "summary" | "describe" | "chapters" | "outline" | "subtitles" | "nsfw" | "thumbnails"
url
stringURL of the source file (required for 'ingest' kind unless file_id is used, can be used for others).
"uri"
input
objectTask-specific input parameters depending on the kind of task.
file_id
stringID of an existing file to use as input (alternative to url).
workflow
array<object>An array of task definition objects for a workflow.
webhook_url
stringAn optional HTTPS URL to send a webhook notification to upon task completion or failure.
"uri"
filename
stringDesired filename for the output (if applicable).
folder
stringDesired output folder (if applicable).
format
stringOutput format (e.g., for video/image tasks).
width
integerOutput width (for video/image tasks).
height
integerOutput height (for video/image tasks).
quality
integerOutput quality setting (e.g., for video/image tasks, 0-100).
Response Body
Created task (Deprecated endpoint)
TypeScript Definitions
Use the response body type in TypeScript.
meta
objectdata
objectlinks
objectGet task by ID
Retrieves the details of a specific task by its ID.
Authorization
Authorization
RequiredBearer <token>Requires a Bearer token in the Authorization header. Format: Authorization: Bearer YOUR_API_KEY
In: header
Path Parameters
id
RequiredstringThe ID of the task to retrieve.
Response Body
Task details.
TypeScript Definitions
Use the response body type in TypeScript.
meta
objectdata
objectlinks
object