Get task evidence export status
curl --request GET \
--url https://api.trycomp.ai/v1/tasks/{taskId}/evidence/export/{exportId} \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/tasks/{taskId}/evidence/export/{exportId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/tasks/{taskId}/evidence/export/{exportId}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"status": "pending",
"downloadUrl": "<string>"
}Evidence Export
Get task evidence export status | Comp AI API
Check the background export for a task and get a short-lived ZIP download URL when it completes. Download the file directly from that URL.
GET
/
v1
/
tasks
/
{taskId}
/
evidence
/
export
/
{exportId}
Get task evidence export status
curl --request GET \
--url https://api.trycomp.ai/v1/tasks/{taskId}/evidence/export/{exportId} \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/tasks/{taskId}/evidence/export/{exportId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/tasks/{taskId}/evidence/export/{exportId}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"status": "pending",
"downloadUrl": "<string>"
}Was this page helpful?

