Get a review task
curl --request GET \
--url https://api.ingestly.ai/review-tasks/{reviewTaskId} \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.ingestly.ai/review-tasks/{reviewTaskId}"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.ingestly.ai/review-tasks/{reviewTaskId}', 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.ingestly.ai/review-tasks/{reviewTaskId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Api-Key: <api-key>"
],
]);
$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.ingestly.ai/review-tasks/{reviewTaskId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
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.ingestly.ai/review-tasks/{reviewTaskId}")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ingestly.ai/review-tasks/{reviewTaskId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "0199a6c3-1d2e-7f30-9a4b-5c6d7e8f9a0b",
"runId": "0199a6c2-4b7d-7e01-8f3a-2c4d6e8f0a1b",
"rootRunId": "0199a6c2-4b7d-7e01-8f3a-2c4d6e8f0a1b",
"workflowId": "0199a6c1-9e2f-7c3d-8a4b-1c2d3e4f5a6b",
"documentId": "0199a6c2-3f1e-7b2a-9c4d-5e6f7a8b9c0d",
"status": "approved",
"round": 1,
"createdOn": "2026-10-02T14:03:20+00:00",
"completedOn": "2026-10-02T14:41:05+00:00",
"decision": "approved"
}{
"status": 123,
"title": "<string>",
"type": "<string>",
"instance": "<string>",
"traceId": "<string>",
"detail": "<string>",
"errors": {}
}{
"status": 123,
"title": "<string>",
"type": "<string>",
"instance": "<string>",
"traceId": "<string>",
"detail": "<string>",
"errors": {}
}{
"status": 123,
"title": "<string>",
"type": "<string>",
"instance": "<string>",
"traceId": "<string>",
"detail": "<string>",
"errors": {}
}{
"status": 123,
"title": "<string>",
"type": "<string>",
"instance": "<string>",
"traceId": "<string>",
"detail": "<string>",
"errors": {}
}{
"status": 123,
"title": "<string>",
"type": "<string>",
"instance": "<string>",
"traceId": "<string>",
"detail": "<string>",
"errors": {}
}{
"status": 123,
"title": "<string>",
"type": "<string>",
"instance": "<string>",
"traceId": "<string>",
"detail": "<string>",
"errors": {}
}Review tasks
Get a review task
Returns a review task’s status and, once a person approved or rejected it, the decision. round is 1 for the first review at a step and grows when the run reaches that step again.
GET
/
review-tasks
/
{reviewTaskId}
Get a review task
curl --request GET \
--url https://api.ingestly.ai/review-tasks/{reviewTaskId} \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.ingestly.ai/review-tasks/{reviewTaskId}"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.ingestly.ai/review-tasks/{reviewTaskId}', 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.ingestly.ai/review-tasks/{reviewTaskId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Api-Key: <api-key>"
],
]);
$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.ingestly.ai/review-tasks/{reviewTaskId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
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.ingestly.ai/review-tasks/{reviewTaskId}")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ingestly.ai/review-tasks/{reviewTaskId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "0199a6c3-1d2e-7f30-9a4b-5c6d7e8f9a0b",
"runId": "0199a6c2-4b7d-7e01-8f3a-2c4d6e8f0a1b",
"rootRunId": "0199a6c2-4b7d-7e01-8f3a-2c4d6e8f0a1b",
"workflowId": "0199a6c1-9e2f-7c3d-8a4b-1c2d3e4f5a6b",
"documentId": "0199a6c2-3f1e-7b2a-9c4d-5e6f7a8b9c0d",
"status": "approved",
"round": 1,
"createdOn": "2026-10-02T14:03:20+00:00",
"completedOn": "2026-10-02T14:41:05+00:00",
"decision": "approved"
}{
"status": 123,
"title": "<string>",
"type": "<string>",
"instance": "<string>",
"traceId": "<string>",
"detail": "<string>",
"errors": {}
}{
"status": 123,
"title": "<string>",
"type": "<string>",
"instance": "<string>",
"traceId": "<string>",
"detail": "<string>",
"errors": {}
}{
"status": 123,
"title": "<string>",
"type": "<string>",
"instance": "<string>",
"traceId": "<string>",
"detail": "<string>",
"errors": {}
}{
"status": 123,
"title": "<string>",
"type": "<string>",
"instance": "<string>",
"traceId": "<string>",
"detail": "<string>",
"errors": {}
}{
"status": 123,
"title": "<string>",
"type": "<string>",
"instance": "<string>",
"traceId": "<string>",
"detail": "<string>",
"errors": {}
}{
"status": 123,
"title": "<string>",
"type": "<string>",
"instance": "<string>",
"traceId": "<string>",
"detail": "<string>",
"errors": {}
}Requires the
reviews:read scope. Read decision once status is approved or rejected. People review tasks in the review queue; the API only reads them.Authorizations
Path Parameters
Response
OK
Example:
"0199a6c3-1d2e-7f30-9a4b-5c6d7e8f9a0b"
Example:
"0199a6c2-4b7d-7e01-8f3a-2c4d6e8f0a1b"
Example:
"0199a6c2-4b7d-7e01-8f3a-2c4d6e8f0a1b"
Example:
"0199a6c1-9e2f-7c3d-8a4b-1c2d3e4f5a6b"
Example:
"0199a6c2-3f1e-7b2a-9c4d-5e6f7a8b9c0d"
Available options:
pending, in_review, approved_pending_resume, rejected_pending_resume, approved, rejected, resume_failed, cancelled Example:
"approved"
Example:
1
Example:
"2026-10-02T14:03:20+00:00"
Example:
"2026-10-02T14:41:05+00:00"
Available options:
approved, rejected Example:
"approved"