Get Governance Policy Skill
(v2)GET
Retrieves the Agent Skill attached to a governance policy — not a control, and nothing about it is assessed: it is the instructions Confident AI serves to coding agents working on the projects this policy governs. A project enrolled in this policy finds it in its Agent Skills git repository as skills/governance/SKILL.md. Answers with null when the policy has none, in which case agents receive no governance skill.
curl -X GET "https://api.confident-ai.com/v2/organization/governance-policies/{policyId}/skill" \
-H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>"{
"success": true,
"data": {
"description": "Rules for shipping changes to an AI system governed for EU AI Act readiness.",
"body": "## Before opening a pull request\n\n- Run the project's evals and attach the test run link.\n- Never disable a governance control to make a build pass.\n"
},
"link": "https://app.confident-ai.com/organization/<ORGANIZATION-ID>/governance/policies/<GOVERNANCE-POLICY-ID>",
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe organization API key for your Confident AI organization.
Path parameters
policyIdstringRequiredThe id of the governance policy.
Response
Get Governance Policy Skill succeeded.
successbooleanIndicates if the request was successful.
dataobject | nullAn Agent Skill attached to a governance policy: the instructions Confident AI serves to coding agents working on the projects the policy governs. Confident AI publishes a per-project Agent Skills git repository, and a project enrolled in this policy finds the skill there as
skills/governance/SKILL.md, withdescriptionin the YAML frontmatter andbodyas the Markdown beneath it. Nothing about the skill is assessed — it instructs the agent, it is not a control.Show 2 propertiesHide 2 properties
descriptionstringOne line on what the skill covers, which is how a coding agent decides whether it is relevant to the task in front of it.
bodystringThe instructions themselves, in Markdown. This becomes the body of the
SKILL.mdfile, so write it for a coding agent rather than a person and be as explicit as the policy requires.
linkstringThis is the URL of the resource on the Confident AI platform.
deprecatedbooleanIndicates if this endpoint is deprecated.