Skip to main content

Index event table by ID

POST 

https://app.mitzu.io/api/v1/projects/:project_id/event-tables/:event_table_id/index

Triggers indexing of the selected event table by its ID. Disabled tables return a 400 response.

Request

Path Parameters

    project_id stringrequired

    The ID of the project

    event_table_id stringrequired

    The ID of the event table

Responses

OK

Schema
    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("POST", "/api/v1/projects/:project_id/event-tables/:event_table_id/index", 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
— pathrequired
ResponseClear

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