Get compliance policy
Changed onRetrieve a single compliance policy by its ID, including current content, draft content, review status, framework links, and audit metadata. Use this to read or inspect one policy in detail. If you only have a policy name, find its ID first by listing compliance policies.
Request
- Base URLhttps://api.trycomp.ai
- AuthAPI key in header X-API-Key
Path parameters
Policy ID
Headers
Organization ID (required for session auth, optional for API key auth)
Response
Policy retrieved successfully
Example response
{
"id": "pol_abc123def456",
"name": "Data Privacy Policy",
"description": "This policy outlines how we handle and protect personal data",
"status": "draft",
"content": [
{
"type": "heading",
"attrs": {
"level": 2,
"textAlign": null
},
"content": [
{
"type": "text",
"text": "Purpose"
}
]
},
{
"type": "paragraph",
"attrs": {
"textAlign": null
},
"content": [
{
"type": "text",
"text": "Verify workforce integrity and grant the right access at start, revoke at end."
}
]
}
],
"frequency": "yearly",
"department": "it",
"isRequiredToSign": true,
"signedBy": [
"usr_123",
"usr_456"
],
"reviewDate": "2024-12-31T00:00:00.000Z",
"archivedAt": "2024-02-01T00:00:00.000Z",
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-15T00:00:00.000Z",
"lastArchivedAt": "2024-02-01T00:00:00.000Z",
"lastPublishedAt": "2024-01-10T00:00:00.000Z",
"organizationId": "org_abc123def456",
"assigneeId": "usr_abc123def456",
"approverId": "usr_xyz789abc123",
"policyTemplateId": "plt_template123"
}Changes
- info
removed the
adminenum value from theresponse property for the response status - info
removed the
govenum value from theresponse property for the response status - info
removed the
hrenum value from theresponse property for the response status - info
removed the
itenum value from theresponse property for the response status - info
removed the
itsmenum value from theresponse property for the response status - info
removed the
noneenum value from theresponse property for the response status - info
removed the
qmsenum value from theresponse property for the response status
- info
- warning
added the new
adminenum value to theresponse property for the response status - warning
added the new
govenum value to theresponse property for the response status - warning
added the new
hrenum value to theresponse property for the response status - warning
added the new
itenum value to theresponse property for the response status - warning
added the new
itsmenum value to theresponse property for the response status - warning
added the new
noneenum value to theresponse property for the response status - warning
added the new
qmsenum value to theresponse property for the response status
- warning