curl --request GET \
--url https://api.indoralabs.com/files/{id} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.indoralabs.com/files/{id}"
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.indoralabs.com/files/{id}', 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.indoralabs.com/files/{id}",
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.indoralabs.com/files/{id}"
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.indoralabs.com/files/{id}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.indoralabs.com/files/{id}")
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": "6ff9fff2-027a-48a0-a5c1-bd2c6e5c03e7",
"org_id": "743db90f-7e76-49f7-8d4e-5f42a16efc06",
"name": "foia_correspondence.mbox",
"size_bytes": 997,
"mime_type": "application/octet-stream",
"department": "Unknown",
"tags": "{}",
"relevancy_score": 0,
"review_status": "pending",
"pages": null,
"duration_seconds": null,
"s3_bucket": "foia-dev-andromeda",
"s3_key": "743db90f-7e76-49f7-8d4e-5f42a16efc06/raw/e863a541-0832-4bce-abb8-11f32ffe5e3b/foia_correspondence.mbox",
"created_by": "ab99f432-1141-43bf-a826-ea015838179f",
"uploaded_at": "2025-08-29 10:28:48.713 -0500",
"updated_at": "2025-08-29 10:28:48.713 -0500",
"s3_bucket_original": "foia-dev-andromeda",
"s3_key_original": "743db90f-7e76-49f7-8d4e-5f42a16efc06/raw/e863a541-0832-4bce-abb8-11f32ffe5e3b/foia_correspondence.mbox",
"s3_bucket_parsed": null,
"s3_key_parsed": null
}{
"error": "BadRequest",
"message": "Missing required parameter 'fileId'.",
"details": {
"param": "fileId"
}
}Get File
Retrieve full details for a single file by its ID. Includes metadata, status, flags, and linked cases. Use this endpoint to inspect or display the properties of a specific file in detail.
curl --request GET \
--url https://api.indoralabs.com/files/{id} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.indoralabs.com/files/{id}"
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.indoralabs.com/files/{id}', 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.indoralabs.com/files/{id}",
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.indoralabs.com/files/{id}"
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.indoralabs.com/files/{id}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.indoralabs.com/files/{id}")
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": "6ff9fff2-027a-48a0-a5c1-bd2c6e5c03e7",
"org_id": "743db90f-7e76-49f7-8d4e-5f42a16efc06",
"name": "foia_correspondence.mbox",
"size_bytes": 997,
"mime_type": "application/octet-stream",
"department": "Unknown",
"tags": "{}",
"relevancy_score": 0,
"review_status": "pending",
"pages": null,
"duration_seconds": null,
"s3_bucket": "foia-dev-andromeda",
"s3_key": "743db90f-7e76-49f7-8d4e-5f42a16efc06/raw/e863a541-0832-4bce-abb8-11f32ffe5e3b/foia_correspondence.mbox",
"created_by": "ab99f432-1141-43bf-a826-ea015838179f",
"uploaded_at": "2025-08-29 10:28:48.713 -0500",
"updated_at": "2025-08-29 10:28:48.713 -0500",
"s3_bucket_original": "foia-dev-andromeda",
"s3_key_original": "743db90f-7e76-49f7-8d4e-5f42a16efc06/raw/e863a541-0832-4bce-abb8-11f32ffe5e3b/foia_correspondence.mbox",
"s3_bucket_parsed": null,
"s3_key_parsed": null
}{
"error": "BadRequest",
"message": "Missing required parameter 'fileId'.",
"details": {
"param": "fileId"
}
}Authorizations
Path Parameters
Path parameter id.
Query Parameters
Max items to return. Default 50.
1 <= x <= 200Offset for pagination. Default 0.
x >= 0Response
Successful response.
Schema inferred from files dataset.
id field from files09192347.
"6ff9fff2-027a-48a0-a5c1-bd2c6e5c03e7"
org_id field from files09192347.
"743db90f-7e76-49f7-8d4e-5f42a16efc06"
name field from files09192347.
"foia_correspondence.mbox"
size_bytes field from files09192347.
997
mime_type field from files09192347.
"application/octet-stream"
department field from files09192347.
"Unknown"
tags field from files09192347.
"{}"
relevancy_score field from files09192347.
0
review_status field from files09192347.
"pending"
pages field from files09192347.
duration_seconds field from files09192347.
s3_bucket field from files09192347.
"foia-dev-andromeda"
s3_key field from files09192347.
"743db90f-7e76-49f7-8d4e-5f42a16efc06/raw/e863a541-0832-4bce-abb8-11f32ffe5e3b/foia_correspondence.mbox"
created_by field from files09192347.
"ab99f432-1141-43bf-a826-ea015838179f"
uploaded_at field from files09192347.
"2025-08-29 10:28:48.713 -0500"
updated_at field from files09192347.
"2025-08-29 10:28:48.713 -0500"
s3_bucket_original field from files09192347.
"foia-dev-andromeda"
s3_key_original field from files09192347.
"743db90f-7e76-49f7-8d4e-5f42a16efc06/raw/e863a541-0832-4bce-abb8-11f32ffe5e3b/foia_correspondence.mbox"
s3_bucket_parsed field from files09192347.
"foia-dev-andromeda-parse"
s3_key_parsed field from files09192347.
"parsed/743db90f-7e76-49f7-8d4e-5f42a16efc06/Zm9pYS1kZXYtYW5kcm9tZWRhLzc0M2RiOTBmLTdlNzYtNDlmNy04ZDRlLTVmNDJhMTZlZmMwNi9yYXcvMmUxZjE5NzUtNDBjYy00YmY1LThmNzctN2VjYTkwMjhmMjFjL0Rpc3BhdGNoIEMyMy0wMTE1OC5wZGY.json"
Indicates how the file was ingested. policy files are policy documents used to drive redaction rules.
default, policy "policy"

