Start a full task evidence export
curl --request POST \
--url https://api.trycomp.ai/v1/tasks/{taskId}/evidence/export \
--header 'X-API-Key: <api-key>'const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/tasks/{taskId}/evidence/export', 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"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text){
"exportId": "<string>",
"statusPath": "<string>"
}Evidence Export
Start a full task evidence export | Comp AI API
Export all task automation runs and results as JSON in a ZIP with sensitive values redacted. For large histories, start here and poll.
POST
/
v1
/
tasks
/
{taskId}
/
evidence
/
export
Start a full task evidence export
curl --request POST \
--url https://api.trycomp.ai/v1/tasks/{taskId}/evidence/export \
--header 'X-API-Key: <api-key>'const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/tasks/{taskId}/evidence/export', 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"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text){
"exportId": "<string>",
"statusPath": "<string>"
}Was this page helpful?

