Set the manual risk assessment of a vendor
curl --request PUT \
--url https://api.trycomp.ai/v1/vendors/{id}/manual-assessment \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"enabled": true
}
'const options = {
method: 'PUT',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({enabled: true})
};
fetch('https://api.trycomp.ai/v1/vendors/{id}/manual-assessment', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/vendors/{id}/manual-assessment"
payload = { "enabled": True }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)Vendors
Set the manual risk assessment of a vendor | Comp AI API
Mark a vendor as assessed by your team and save your written assessment. While set, the AI risk assessment and its monthly refresh do not change the vendor.
PUT
/
v1
/
vendors
/
{id}
/
manual-assessment
Set the manual risk assessment of a vendor
curl --request PUT \
--url https://api.trycomp.ai/v1/vendors/{id}/manual-assessment \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"enabled": true
}
'const options = {
method: 'PUT',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({enabled: true})
};
fetch('https://api.trycomp.ai/v1/vendors/{id}/manual-assessment', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/vendors/{id}/manual-assessment"
payload = { "enabled": True }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)Authorizations
API key for authentication
Path Parameters
Vendor ID
Example:
"vnd_abc123def456"
Body
application/json
True when your team assessed this vendor itself. The AI risk assessment, including the monthly refresh and Regenerate, then leaves the vendor status and risk ratings alone.
Example:
true
Your written risk assessment of the vendor. Omit to keep the current statement; send null or an empty string to clear it.
Maximum string length:
20000Example:
"Reviewed the SOC 2 Type II report (period ending 2026-06-30) received by email. No exceptions relevant to our use."
Response
The updated vendor
Was this page helpful?

