List compliance policies
curl --request GET --url "https://api.example.com/v1/policies" --header "X-API-Key: $COMP_AI_API_KEY"curl --request GET --url "https://api.example.com/v1/policies?excludeContent=true" --header "X-API-Key: $COMP_AI_API_KEY"curl --request GET --url "https://api.example.com/v1/policies?includeArchived=true" --header "X-API-Key: $COMP_AI_API_KEY"Lists active compliance policies by default. Use includeArchived=true to include archived rows and excludeContent=true when you only need policy metadata.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”Organization ID (required for session auth, optional for API key auth)
Query Parameters
Section titled “Query Parameters”When true, omits content and draftContent from each policy in the response. Use this when listing policies to find one by name/ID — fetch the full content via GET /v1/policies/{id} after.
When true, includes user-archived and framework-sync-archived policies in the response. Defaults to false.
Policy (default) lists policies, procedure lists procedures.
Responses
Section titled “Responses”Policies retrieved successfully
object
Array of policies
object
The policy ID
Name of the policy
Description of the policy
Status of the policy
Content of the policy as TipTap JSON (array of nodes)
object
Review frequency of the policy
Department this policy applies to. May be one of the built-in values (none, admin, gov, hr, it, itsm, qms) or a custom department name.
Whether this policy requires a signature
List of user IDs who have signed this policy
Review date for the policy
Whether this policy is archived
When the policy was archived by framework sync
When the policy was created
When the policy was last updated
When the policy was last archived
When the policy was last published
Organization ID this policy belongs to
ID of the user assigned to this policy
ID of the user who approved this policy
ID of the policy template this policy is based on
How the request was authenticated
Authenticated user information (only present for session auth)
object
User ID
User email
Example
{ "data": [ { "id": "pol_abc123def456", "name": "Data Privacy Policy", "description": "This policy outlines how we handle and protect personal data", "status": "draft", "content": [ { "type": "paragraph", "attrs": { "textAlign": null }, "content": [ { "type": "text", "text": "This policy outlines our commitment to protecting personal data." } ] } ], "frequency": "yearly", "department": "IT", "isRequiredToSign": true, "signedBy": [], "reviewDate": "2024-12-31T00:00:00.000Z", "isArchived": false, "archivedAt": null, "createdAt": "2024-01-01T00:00:00.000Z", "updatedAt": "2024-01-15T00:00:00.000Z", "lastArchivedAt": null, "lastPublishedAt": "2024-01-10T00:00:00.000Z", "organizationId": "org_abc123def456", "assigneeId": "usr_abc123def456", "approverId": "usr_xyz789abc123", "policyTemplateId": null } ], "authType": "session", "authenticatedUser": { "id": "usr_abc123def456", "email": "user@company.com" }}Unauthorized - Invalid authentication or insufficient permissions
object
Example
{ "message": "Unauthorized"}