Events
Get processing status
Retrieves the status of the latest processing result
GET
/
process
/
latest
Get processing status
curl --request GET \
--url https://mycluster.domino.tech/api/workspace-audit/process/latestimport requests
url = "https://mycluster.domino.tech/api/workspace-audit/process/latest"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://mycluster.domino.tech/api/workspace-audit/process/latest', 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://mycluster.domino.tech/api/workspace-audit/process/latest",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://mycluster.domino.tech/api/workspace-audit/process/latest"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://mycluster.domino.tech/api/workspace-audit/process/latest")
.asString();require 'uri'
require 'net/http'
url = URI("https://mycluster.domino.tech/api/workspace-audit/process/latest")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"addedEvents": 50000,
"completedAt": "2023-04-27T19:11:17Z",
"createdAt": "2023-04-27T19:11:17Z",
"deduplicatedEvents": 50000,
"existingEvents": 50000,
"failedEvents": 1,
"firstEventTimestamp": "2023-04-27T19:11:17Z",
"id": "a33ef748-41fb-42aa-aed0-bcc87da3ff0e",
"lastEventTimestamp": "2023-04-27T19:11:17Z",
"newEvents": 100000,
"startedAt": "2023-04-27T19:11:17Z",
"status": "InProgress",
"successfulProcessedEvents": 99999,
"updatedAt": "2023-04-27T19:11:17Z"
}{
"code": 400,
"message": "Bad Request"
}{
"code": 400,
"message": "Bad Request"
}Response
OK
Example:
50000
Example:
"2023-04-27T19:11:17Z"
Example:
"2023-04-27T19:11:17Z"
Example:
50000
Example:
50000
Example:
1
Example:
"2023-04-27T19:11:17Z"
Example:
"a33ef748-41fb-42aa-aed0-bcc87da3ff0e"
Example:
"2023-04-27T19:11:17Z"
Example:
100000
Example:
"2023-04-27T19:11:17Z"
Available options:
InProgress, Completed, Failed Example:
"InProgress"
Example:
99999
Example:
"2023-04-27T19:11:17Z"
Was this page helpful?
⌘I
Get processing status
curl --request GET \
--url https://mycluster.domino.tech/api/workspace-audit/process/latestimport requests
url = "https://mycluster.domino.tech/api/workspace-audit/process/latest"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://mycluster.domino.tech/api/workspace-audit/process/latest', 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://mycluster.domino.tech/api/workspace-audit/process/latest",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://mycluster.domino.tech/api/workspace-audit/process/latest"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://mycluster.domino.tech/api/workspace-audit/process/latest")
.asString();require 'uri'
require 'net/http'
url = URI("https://mycluster.domino.tech/api/workspace-audit/process/latest")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"addedEvents": 50000,
"completedAt": "2023-04-27T19:11:17Z",
"createdAt": "2023-04-27T19:11:17Z",
"deduplicatedEvents": 50000,
"existingEvents": 50000,
"failedEvents": 1,
"firstEventTimestamp": "2023-04-27T19:11:17Z",
"id": "a33ef748-41fb-42aa-aed0-bcc87da3ff0e",
"lastEventTimestamp": "2023-04-27T19:11:17Z",
"newEvents": 100000,
"startedAt": "2023-04-27T19:11:17Z",
"status": "InProgress",
"successfulProcessedEvents": 99999,
"updatedAt": "2023-04-27T19:11:17Z"
}{
"code": 400,
"message": "Bad Request"
}{
"code": 400,
"message": "Bad Request"
}