Skip to main content

Get task statuses

GET 

https://app.mitzu.io/api/v1/projects/:project_id/tasks

Returns the status of one or more tasks. At least one task_id query parameter is required. Maximum 50 tasks can be queried at once.

Request

Path Parameters

    project_id stringrequired

    The ID of the project

Query Parameters

    task_id string[]required

    The ID of a task to query. Can be specified multiple times to query multiple tasks.

Responses

OK

Schema
    tasks object
    property name* Task info

    Contains basic information about a task.

    idstring

    Unique ID of the task

    statestring

    Possible values: [queued, running, finished, cancelled]

Authorization: x-mitzu-api-key

name: x-mitzu-api-keytype: apiKeydescription: ## API Key

You can generate a new API key on the Account Settings -> API keys page.
in: header
import http.client

conn = http.client.HTTPSConnection("app.mitzu.io")
payload = ''
headers = {
'Accept': 'application/json',
'x-mitzu-api-key': '<x-mitzu-api-key>'
}
conn.request("GET", "/api/v1/projects/:project_id/tasks", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
Request Collapse all
Base URL
https://app.mitzu.io/api/v1
Auth
Parameters
— pathrequired
— queryrequired
ResponseClear

Click the Send API Request button above and see the response here!