Skip to content

Read the status of your own dashboard action press

GET /dashboard/{id}/widget/{key}/invoke/{request_id}

The run started by the caller's own press, found by the request_id it was sent with. Signed-in person only (403 interactive_requires_session). For a row action, send row_action and row_id together. Every miss (another person's press, an unknown request_id, a widget or row action that is gone) is one 404 not_found. Errors: 400 validation_error.

Path Parameters

idstring
required·

Resource id

keystring
required·

Widget key

request_idstring
required·

The request_id sent with the press

Query Parameters

row_actionstring

Row action key, with row_id

row_idstring

Row id, with row_action

Response Body

runobject
console_pathstring
run_idstring
statusstring
curl -X GET 'https://api.elaichi.ai/dashboard/<id>/widget/<key>/invoke/<request_id>' \
  -H 'Authorization: Bearer $ELAICHI_API_TOKEN' \
  -H 'Content-Type: application/json'
const response = await fetch('https://api.elaichi.ai/dashboard/<id>/widget/<key>/invoke/<request_id>', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer ' + process.env.ELAICHI_API_TOKEN,
    'Content-Type': 'application/json',
  },
});

const data = await response.json();
console.log(data);
import os
import requests

url = "https://api.elaichi.ai/dashboard/<id>/widget/<key>/invoke/<request_id>"
headers = {
    "Authorization": f"Bearer {os.environ['ELAICHI_API_TOKEN']}",
    "Content-Type": "application/json",
}

response = requests.get(url, headers=headers)
print(response.json())