Launch Week 3: Five days of launches

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.

GET/v2/organization/governance-policies/{policyId}/skill
curl -X GET "https://api.confident-ai.com/v2/organization/governance-policies/{policyId}/skill" \
  -H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>"
200
{
  "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_KEYstringRequired

    The organization API key for your Confident AI organization.

Path parameters

  • policyIdstringRequired

    The id of the governance policy.

Response

Get Governance Policy Skill succeeded.

  • successboolean

    Indicates if the request was successful.

  • dataobject | null

    An 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, with description in the YAML frontmatter and body as the Markdown beneath it. Nothing about the skill is assessed — it instructs the agent, it is not a control.

    Show 2 propertiesHide 2 properties
    • descriptionstring

      One line on what the skill covers, which is how a coding agent decides whether it is relevant to the task in front of it.

    • bodystring

      The instructions themselves, in Markdown. This becomes the body of the SKILL.md file, so write it for a coding agent rather than a person and be as explicit as the policy requires.

  • linkstring

    This is the URL of the resource on the Confident AI platform.

  • deprecatedboolean

    Indicates if this endpoint is deprecated.

Built byConfident AI