Get tasks
https://api.xata.io/tasksGet all tasks
Get All Tasks
GEThttps://api.xata.io/tasksResponses
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";type GetTasks = {
id?: string;
message: string;
};{
"message": "invalid API key"
}type GetTasks = {
id?: string;
message: string;
};type GetTasks = void;type GetTasks = void;