Get task status

https://api.xata.io/tasks/task_id

Get the status for the specified task ID

Expected parameters

NameDescriptionInRequiredSchema
task_id

The id of the branch creation task

path✅string

Get Task Status

GET
https://api.xata.io/tasks/task_id

Responses

type GetTaskStatus = {
    /**
     * The id of the task
     */
    taskID: string;
    /**
     * The type of the task
     */
    type: string;
    /**
     * The status of the task
     */
    status: TaskStatus;
    /**
     * Any error message associated with the task
     */
    error?: string;
};
 
type TaskStatus = "scheduled" | "pending" | "active" | "retry" | "archived" | "completed";