List controls with trust portal visibility
curl --request GET \
--url https://api.trycomp.ai/v1/trust-portal/controls \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/trust-portal/controls', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/trust-portal/controls"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)[
{
"id": "ctl_abc123",
"name": "Access Control Policy",
"showOnTrustPortal": true,
"isOverridden": false,
"templateDefault": true
}
]Trust Portal
List controls with trust portal visibility | Comp AI API
Returns the organization’s non-archived controls with their trust portal visibility: the effective value, whether it overrides the template default.
GET
/
v1
/
trust-portal
/
controls
List controls with trust portal visibility
curl --request GET \
--url https://api.trycomp.ai/v1/trust-portal/controls \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/trust-portal/controls', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/trust-portal/controls"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)[
{
"id": "ctl_abc123",
"name": "Access Control Policy",
"showOnTrustPortal": true,
"isOverridden": false,
"templateDefault": true
}
]Authorizations
API key for authentication
Response
200 - application/json
Example:
"ctl_abc123"
Example:
"Access Control Policy"
Effective visibility: the organization override when set, otherwise the control template default.
Example:
true
True when the organization has made its own choice instead of inheriting the template default.
Example:
false
The control template default this control inherits while not overridden.
Example:
true
Was this page helpful?

