Skip to main content
GET
/
api
/
assets
/
get_notebook_status
const myHeaders = new Headers();
myHeaders.append("Authorization", "your token");

const requestOptions = {
  method: "GET",
  headers: myHeaders,
  redirect: "follow"
};

fetch("{{path}}/api/assets/get_notebook_status/?report_id=", requestOptions)
  .then((response) => response.text())
  .then((result) => console.log(result))
  .catch((error) => console.error(error));
{
    "report_id": 98564,
    "status": "Delayed",
    "title": "One Signal"
}

Overview

Retrieves the current status of a previously triggered report using its unique ID

Endpoint Details

  • Method: GET
  • Endpoint: api/assets/get_notebook_status/

Authentication requirements

  • Include a valid JWT token in your request header
  • If you don’t have a token yet, you can get one from the /auth/token/ endpoint first.

Request

Request Parameters

Header Parameters

token
string
required
JWT token obtained from the Authentication request

URL Parameters

report_id
integer
required
The id returned in response to the start report request

Response

Successful response will return the status along with report_id and title. List of status codes:
  1. Completed
  2. Processing
  3. Queued
  4. Delayed
  5. Exported
  6. No Data Found
const myHeaders = new Headers();
myHeaders.append("Authorization", "your token");

const requestOptions = {
  method: "GET",
  headers: myHeaders,
  redirect: "follow"
};

fetch("{{path}}/api/assets/get_notebook_status/?report_id=", requestOptions)
  .then((response) => response.text())
  .then((result) => console.log(result))
  .catch((error) => console.error(error));
{
    "report_id": 98564,
    "status": "Delayed",
    "title": "One Signal"
}