Get tasks

https://api.xata.io/tasks

Get all tasks

Get All Tasks

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

Responses

type GetTasks = TaskStatusResponse[];
 
type TaskStatusResponse = {
    /**
     * 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";