Get task status
https://api.xata.io/tasks/task_id
Get the status for the specified task ID
Expected parameters
Name | Description | In | Required | Schema |
---|---|---|---|---|
task_id | The id of the branch creation task | path | ✅ | string |
Get Task Status
GEThttps://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";
type GetTaskStatus = {
id?: string;
message: string;
};
{
"message": "invalid API key"
}
type GetTaskStatus = {
id?: string;
message: string;
};
type GetTaskStatus = void;
type GetTaskStatus = void;