Get Report Status
curl --request GET \
--url https://api.wokelo.ai/api/assets/get_notebook_status/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.wokelo.ai/api/assets/get_notebook_status/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.wokelo.ai/api/assets/get_notebook_status/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.wokelo.ai/api/assets/get_notebook_status/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.wokelo.ai/api/assets/get_notebook_status/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.wokelo.ai/api/assets/get_notebook_status/")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.wokelo.ai/api/assets/get_notebook_status/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"report_id": 98564,
"status": "Delayed",
"title": "One Signal"
}
Supporting APIs
Get Report Status
Retrieves the current status of a previously triggered report using its unique ID. Poll this endpoint until the status is Completed, Exported, or No Data Found.
Possible status values:
CompletedProcessingQueuedDelayedExportedNo Data Found
GET
/
api
/
assets
/
get_notebook_status
/
Get Report Status
curl --request GET \
--url https://api.wokelo.ai/api/assets/get_notebook_status/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.wokelo.ai/api/assets/get_notebook_status/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.wokelo.ai/api/assets/get_notebook_status/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.wokelo.ai/api/assets/get_notebook_status/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.wokelo.ai/api/assets/get_notebook_status/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.wokelo.ai/api/assets/get_notebook_status/")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.wokelo.ai/api/assets/get_notebook_status/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"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
string
required
JWT token obtained from the Authentication request
URL Parameters
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:- Completed
- Processing
- Queued
- Delayed
- Exported
- No Data Found
{
"report_id": 98564,
"status": "Delayed",
"title": "One Signal"
}
Authorizations
JWT token obtained from the /auth/token/ endpoint.
Query Parameters
The ID returned in the response to the start report request.
Response
Report status returned successfully.