tasks
Get a task
Fetch a task's status. Pass wait (seconds) to long-poll: the request holds until the task reaches a terminal status (completed/failed/cancelled) or the hold elapses, then returns the current status — one call instead of a poll loop. When it returns still in-flight, Retry-After: 0 is set; re-call to keep waiting.
get/v1/tasks/{task_id}
Request
- Base URL: https://api.framelane.io
- URL: https://api.framelane.io/v1/tasks/{task_id}
- Auth: HTTP bearer
Path parameters
task_idstring required
Query parameters
waitinteger
Seconds to block until the task is terminal (capped server-side; values above the cap are clamped). 0 (default) returns immediately.
Response
Successful Response
Example response
{
"id": "render_01J8QR2K5VKDGN2T4FBM3CZYX7",
"workspace_id": "ws_01J8QR2K5VKDGN2T4FBM3CZYX8",
"output": {
"url": "https://cdn-user.framelane.io/render_01J.../output.mp4",
"width": 1920,
"height": 1080,
"duration": 15.3,
"size_bytes": 12582912
},
"result": {
"language_code": "en",
"text": "Welcome back to the show."
},
"error": {
"message": "Source URL returned 404."
},
"metadata": {
"project_id": "proj_123",
"user_ref": "usr_abc"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.