tasks
Get a task by id
get/v1/tasks/{task_id}
Request
- Base URLhttps://api.beatra.ai (the document declares no server; this is the origin it was published from)
- Authnone declared
Path parameters
task_id, string required
Headers
authorization, string nullable
Response
Successful Response
Task Envelope required
Standard Task envelope.
Returned by every async-creation endpoint, GET /v1/tasks/{id}, and the body of customer callback POSTs.
object, 'task'
task_id, string required
status, 'queued' | 'running' | 'succeeded' | 'failed' | 'canceled' required
capability, string required
workload_type, 'model' | 'social_operation'
model, string nullable
Caller-requested model verbatim (may be 'auto'). Null for social_operation tasks.
resolved_model, string nullable
Actual model that ran (null until execution starts; equals model for explicit-model calls)
model_selection_reason, unknown
social, Social Task Identity nullable
metadata, object nullable
input, object nullable
progress, App Api V1 Schemas Common Task Progress nullable
output, object nullable
warnings, Task Warning[]
error, App Api V1 Schemas Common Task Error nullable
usage, Usage Object nullable
billing, Task Billing nullable
callback, Task Callback nullable
created_at, string date-time required
started_at, string date-time nullable
deadline_at, string date-time nullable
completed_at, string date-time nullable
cancel_requested_at, string date-time nullable
links, Task Links required
Changes
No recorded changes to this operation across all 46 revisions of this API.