Regenerate policy with AI
curl --request POST \
--url https://api.trycomp.ai/v1/policies/{id}/regenerate \
--header 'X-API-Key: <api-key>'const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/policies/{id}/regenerate', 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}/regenerate"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)Policies
Regenerate policy with AI | Comp AI API
Regenerate policy content using Comp AI while keeping the result reviewable before it is published or used as compliance evidence.
POST
/
v1
/
policies
/
{id}
/
regenerate
Regenerate policy with AI
curl --request POST \
--url https://api.trycomp.ai/v1/policies/{id}/regenerate \
--header 'X-API-Key: <api-key>'const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/policies/{id}/regenerate', 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}/regenerate"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)Was this page helpful?

