Get tasks that serve as evidence for a policy, grouped by control
curl --request GET \
--url https://api.trycomp.ai/v1/policies/{id}/evidence-tasks \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/policies/{id}/evidence-tasks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/policies/{id}/evidence-tasks"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)Policies
Get tasks that serve as evidence for a | Comp AI API
Get tasks that serve as evidence for a policy, grouped by control in Comp AI. Create, version, publish, export, map, and improve compliance policies.
GET
/
v1
/
policies
/
{id}
/
evidence-tasks
Get tasks that serve as evidence for a policy, grouped by control
curl --request GET \
--url https://api.trycomp.ai/v1/policies/{id}/evidence-tasks \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/policies/{id}/evidence-tasks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/policies/{id}/evidence-tasks"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)Was this page helpful?

