curl --request GET \
--url https://api.zebratruth.ai/v1/agents \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.zebratruth.ai/v1/agents"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.zebratruth.ai/v1/agents', 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.zebratruth.ai/v1/agents",
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.zebratruth.ai/v1/agents"
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.zebratruth.ai/v1/agents")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.zebratruth.ai/v1/agents")
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[
{
"id": "ai-laws",
"name": "Advertising Law",
"description": "Checks FTC, UCPD, and advertising regulations",
"phase": 1,
"inputType": "text",
"version": "1.1.0",
"annotationSupport": [
"text-span"
]
}
]{
"statusCode": 401,
"message": "Invalid API key",
"error": true,
"url": "https://api.zebratruth.ai/v1/whoami",
"statusMessage": "Invalid API key"
}List available agents
Discover all available compliance agents. Agents are added regularly — always use this endpoint to discover dynamically rather than hardcoding agent IDs.
curl --request GET \
--url https://api.zebratruth.ai/v1/agents \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.zebratruth.ai/v1/agents"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.zebratruth.ai/v1/agents', 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.zebratruth.ai/v1/agents",
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.zebratruth.ai/v1/agents"
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.zebratruth.ai/v1/agents")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.zebratruth.ai/v1/agents")
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[
{
"id": "ai-laws",
"name": "Advertising Law",
"description": "Checks FTC, UCPD, and advertising regulations",
"phase": 1,
"inputType": "text",
"version": "1.1.0",
"annotationSupport": [
"text-span"
]
}
]{
"statusCode": 401,
"message": "Invalid API key",
"error": true,
"url": "https://api.zebratruth.ai/v1/whoami",
"statusMessage": "Invalid API key"
}Authorizations
API key starting with zt_live_ (production) or zt_test_ (sandbox).
Get your key at https://developers.zebratruth.ai
Response
List of available agents
Agent identifier. Use GET /agents to discover all available agents dynamically.
The list is filtered to the industries your workspace has selected.
Financial services. The six fs-compliance-* agents correspond one-to-one to the
review scopes (financial_promotion → fs-compliance-financial-promotion, and so on).
In a full check they are selected with reviewScopes. Via POST /agents/{agentId}
only fs-compliance-financial-promotion can be invoked directly today; the other five
return 400 review_scope_not_enabled on direct invocation and must run through
POST /compliance/check. financial-services-compliance is a read-only alias of
fs-compliance-financial-promotion accepted for older clients.
Pharma and healthcare. pharma-healthcare-compliance runs for workspaces on the
pharma_healthcare industry and honours regulatedActor.
ai-laws is the canonical id; jurisdiction-detection is accepted as an
input alias for backward compatibility with historical clients. New
integrations should use ai-laws.
Note on rights-clearance variants. GET /agents exposes two registered agents
for rights clearance: rights-clearance-text and rights-clearance-image — invoke
them via POST /agents/{agentId} using those qualified IDs. On check response
objects, however, text rights-clearance findings carry the bare agentId: "rights-clearance". Treat bare rights-clearance and rights-clearance-text as
the same logical pipeline — the bare form is the value that appears on checks[]
entries from that agent.
ai-laws, jurisdiction-detection, advertising-law, platform-policy, metadata-labeling, rights-clearance, rights-clearance-text, rights-clearance-image, compliance-score, fs-compliance-financial-promotion, fs-compliance-advisory-suitability, fs-compliance-credit-servicing, fs-compliance-markets-trading, fs-compliance-financial-crime, fs-compliance-ai-governance, financial-services-compliance, pharma-healthcare-compliance "Advertising Law"
"Checks FTC, UCPD, and advertising regulations"
Pipeline phase (for full mode ordering)
1, 2, 3 text, image, both "1.1.0"
Annotation types this agent can emit.
text-span, timeline, image-region, global