List evidence form submissions
curl --request GET \
--url https://api.trycomp.ai/v1/evidence-forms/{formType}/submissions \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/evidence-forms/{formType}/submissions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/evidence-forms/{formType}/submissions"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "evs_abc123def456",
"organizationId": "org_abc123def456",
"formType": "board-meeting",
"status": "pending",
"submittedAt": "2023-11-07T05:31:56Z",
"data": {},
"submittedById": "<string>",
"submittedBy": {
"id": "<string>",
"name": "<string>",
"email": "<string>"
},
"reviewedById": "<string>",
"reviewedAt": "2023-11-07T05:31:56Z",
"reviewReason": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"count": 12
}Evidence Forms
List evidence form submissions | Comp AI API
Returns the organization’s submissions for one evidence form type in the standard envelope, newest first. Use to audit evidence completeness.
GET
/
v1
/
evidence-forms
/
{formType}
/
submissions
List evidence form submissions
curl --request GET \
--url https://api.trycomp.ai/v1/evidence-forms/{formType}/submissions \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/evidence-forms/{formType}/submissions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/evidence-forms/{formType}/submissions"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "evs_abc123def456",
"organizationId": "org_abc123def456",
"formType": "board-meeting",
"status": "pending",
"submittedAt": "2023-11-07T05:31:56Z",
"data": {},
"submittedById": "<string>",
"submittedBy": {
"id": "<string>",
"name": "<string>",
"email": "<string>"
},
"reviewedById": "<string>",
"reviewedAt": "2023-11-07T05:31:56Z",
"reviewReason": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"count": 12
}Authorizations
API key for authentication
Headers
Organization ID (required for session auth, optional for API key auth)
Path Parameters
Slug of the evidence form. Call GET /v1/evidence-forms to see every form with its title.
Available options:
board-meeting, it-leadership-meeting, risk-committee-meeting, meeting, access-request, whistleblower-report, penetration-test, rbac-matrix, infrastructure-inventory, employee-performance-evaluation, network-diagram, tabletop-exercise, account-types Query Parameters
Case-insensitive substring match over the submission answers
Page size, 1-200. Defaults to 50.
Submissions to skip. Defaults to 0.
Was this page helpful?

