curl --request GET \
--url https://api.trycomp.ai/v1/evidence-forms/{formType} \
--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}', 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}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"form": {
"type": "board-meeting",
"title": "Management Meeting Minutes",
"description": "<string>",
"category": "Governance",
"submissionDateMode": "custom",
"portalAccessible": true,
"fields": [
{
"key": "meeting_date",
"label": "<string>",
"type": "text",
"required": true,
"placeholder": "<string>",
"description": "<string>",
"options": [
{
"label": "<string>",
"value": "<string>"
}
],
"accept": "<string>",
"columns": [
{
"key": "<string>",
"label": "<string>",
"required": true,
"placeholder": "<string>",
"description": "<string>",
"type": "text",
"options": [
{
"label": "<string>",
"value": "<string>"
}
]
}
],
"addRowLabel": "<string>",
"defaultRows": [
{}
]
}
],
"optional": true,
"hidden": true,
"anonymous": true
},
"submissions": [
{
"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"
}
],
"total": 12
}Get form definition and submissions | Comp AI API
Get form definition and submissions in Comp AI. Collect, review, upload, and export structured evidence submissions for compliance tasks and document.
curl --request GET \
--url https://api.trycomp.ai/v1/evidence-forms/{formType} \
--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}', 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}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"form": {
"type": "board-meeting",
"title": "Management Meeting Minutes",
"description": "<string>",
"category": "Governance",
"submissionDateMode": "custom",
"portalAccessible": true,
"fields": [
{
"key": "meeting_date",
"label": "<string>",
"type": "text",
"required": true,
"placeholder": "<string>",
"description": "<string>",
"options": [
{
"label": "<string>",
"value": "<string>"
}
],
"accept": "<string>",
"columns": [
{
"key": "<string>",
"label": "<string>",
"required": true,
"placeholder": "<string>",
"description": "<string>",
"type": "text",
"options": [
{
"label": "<string>",
"value": "<string>"
}
]
}
],
"addRowLabel": "<string>",
"defaultRows": [
{}
]
}
],
"optional": true,
"hidden": true,
"anonymous": true
},
"submissions": [
{
"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"
}
],
"total": 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.
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.
Response
Form definition and its submissions retrieved successfully. Note the envelope: { form, submissions, total }, not { data, count }.
Static definition of the form: its metadata and its fields
Show child attributes
Show child attributes
The page of submissions selected by search/limit/offset, newest first
Show child attributes
Show child attributes
Total submissions matching the search, before limit/offset
12
Was this page helpful?

