Policies
Get policy version by ID
Changed onGet policy version by ID in Comp AI. Create, version, publish, export, map, and improve compliance policies with AI-assisted drafting and approval workflows.
get/v1/policies/{id}/versions/{versionId}
Request
- Base URLhttps://api.trycomp.ai
- AuthAPI key in header X-API-Key
Path parameters
idstring required
Example:pol_abc123def456
Policy ID
versionIdstring required
Example:pv_abc123def456
Policy version ID
Headers
X-Organization-Idstring
Organization ID (required for session auth, optional for API key auth)
Response
Policy version retrieved successfully
Changes
- info
the endpoint scheme security
oauth2was removed from the API
- info
- info
the endpoint scheme security
oauth2was added to the API
- info