Trigger bulk evidence export (Auditor only)
curl --request POST \
--url https://api.trycomp.ai/v1/evidence-export/all \
--header 'X-API-Key: <api-key>'const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/evidence-export/all', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/evidence-export/all"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)Evidence Export (Auditor)
Trigger bulk evidence export (Auditor only) | Comp AI API
Starts a background job that generates a ZIP of all evidence. Returns a run ID for progress tracking. Pass from/to to scope the export to an audit.
POST
/
v1
/
evidence-export
/
all
Trigger bulk evidence export (Auditor only)
curl --request POST \
--url https://api.trycomp.ai/v1/evidence-export/all \
--header 'X-API-Key: <api-key>'const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/evidence-export/all', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/evidence-export/all"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)Authorizations
API key for authentication
Query Parameters
Include raw JSON files alongside the rendered PDFs
Start of the audit period (inclusive, strict ISO 8601). Omit for all history. Locale formats such as 12/31/2025, and date-times without a UTC offset, are rejected.
Example:
"2025-01-01T00:00:00.000Z"
End of the audit period (inclusive, strict ISO 8601). Must not be earlier than from. Omit for all history.
Example:
"2025-12-31T23:59:59.999Z"
Response
201
Export job started
Was this page helpful?

