curl --request GET \
--url https://api.trycomp.ai/v1/vendors/{id} \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/vendors/{id}', 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}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "vnd_abc123def456",
"name": "CloudTech Solutions Inc.",
"description": "Cloud infrastructure provider offering AWS-like services including compute, storage, and networking solutions for enterprise customers.",
"category": "cloud",
"status": "not_assessed",
"inherentProbability": "possible",
"inherentImpact": "moderate",
"residualProbability": "unlikely",
"residualImpact": "minor",
"website": "https://www.cloudtechsolutions.com",
"organizationId": "org_abc123def456",
"assigneeId": "mem_abc123def456",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"authType": "api-key",
"authenticatedUser": {
"id": "usr_def456ghi789",
"email": "user@example.com"
}
}{
"message": "Invalid or expired API key"
}{
"message": "Vendor with ID vnd_abc123def456 not found in organization org_abc123def456"
}{
"message": "Internal server error"
}Get vendor details | Comp AI API
Retrieve one vendor record with ownership, review status, risk context, and third-party compliance metadata.
curl --request GET \
--url https://api.trycomp.ai/v1/vendors/{id} \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/vendors/{id}', 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}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "vnd_abc123def456",
"name": "CloudTech Solutions Inc.",
"description": "Cloud infrastructure provider offering AWS-like services including compute, storage, and networking solutions for enterprise customers.",
"category": "cloud",
"status": "not_assessed",
"inherentProbability": "possible",
"inherentImpact": "moderate",
"residualProbability": "unlikely",
"residualImpact": "minor",
"website": "https://www.cloudtechsolutions.com",
"organizationId": "org_abc123def456",
"assigneeId": "mem_abc123def456",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"authType": "api-key",
"authenticatedUser": {
"id": "usr_def456ghi789",
"email": "user@example.com"
}
}{
"message": "Invalid or expired API key"
}{
"message": "Vendor with ID vnd_abc123def456 not found in organization org_abc123def456"
}{
"message": "Internal server error"
}Authorizations
API key for authentication
Path Parameters
Vendor ID
"vnd_abc123def456"
Response
Vendor retrieved successfully
Vendor ID
"vnd_abc123def456"
Vendor name
"CloudTech Solutions Inc."
Vendor description
"Cloud infrastructure provider offering AWS-like services including compute, storage, and networking solutions for enterprise customers."
cloud, infrastructure, software_as_a_service, finance, marketing, sales, hr, other "cloud"
not_assessed, in_progress, assessed "not_assessed"
very_unlikely, unlikely, possible, likely, very_likely "possible"
insignificant, minor, moderate, major, severe "moderate"
very_unlikely, unlikely, possible, likely, very_likely "unlikely"
insignificant, minor, moderate, major, severe "minor"
"https://www.cloudtechsolutions.com"
"org_abc123def456"
ID of the user assigned to manage this vendor
"mem_abc123def456"
When the vendor was created
When the vendor was last updated
How the request was authenticated
api-key, session User information (only for session auth)
Show child attributes
Show child attributes
Was this page helpful?

