List review tasks
curl --request GET \
--url https://api.ingestly.ai/review-tasks \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.ingestly.ai/review-tasks"
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', 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",
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"
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")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ingestly.ai/review-tasks")
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{
"count": 123,
"pages": 123,
"data": [
{
"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": "pending",
"round": 1,
"createdOn": "2026-10-02T14:03:20+00:00",
"completedOn": "2023-11-07T05:31:56Z",
"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": {}
}Review tasks
List review tasks
Returns review tasks, newest first, filtered by status, workflowId or runId. runId also matches the tasks of sub-workflows the run called. page starts at 1; pageSize defaults to 20, at most 100. decision is set once a task is approved or rejected.
GET
/
review-tasks
List review tasks
curl --request GET \
--url https://api.ingestly.ai/review-tasks \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.ingestly.ai/review-tasks"
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', 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",
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"
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")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ingestly.ai/review-tasks")
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{
"count": 123,
"pages": 123,
"data": [
{
"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": "pending",
"round": 1,
"createdOn": "2026-10-02T14:03:20+00:00",
"completedOn": "2023-11-07T05:31:56Z",
"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": {}
}Requires the
reviews:read scope. Filter by runId to follow the reviews of one run, including those of reusable sections it called. See polling a run for paging.Authorizations
Query Parameters
Available options:
pending, in_review, approved_pending_resume, rejected_pending_resume, approved, rejected, resume_failed, cancelled