Launch Week 02 wrapped — explore all five launches

List Organization Policies

GEThttps://api.confident-ai.com/v1/organization/policies

Lists the custom policies defined by your organization. Each policy is a named collection of permissions.

GET/v1/organization/policies
curl -X GET "https://api.confident-ai.com/v1/organization/policies" \
  -H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>"
200
{
  "success": true,
  "data": {
    "policies": [
      {
        "id": "policy-uuid-2",
        "name": "Manage billing",
        "description": "Grants access to billing settings",
        "permissions": [
          {
            "id": "perm-uuid-1",
            "name": "billing:read"
          },
          {
            "id": "perm-uuid-2",
            "name": "billing:write"
          }
        ]
      }
    ]
  }
}

Headers

  • CONFIDENT_API_KEYstringRequired

    The organization API key for your Confident AI organization.

Response

  • successboolean

    Indicates if the request was successful

  • dataobject

    Show 1 propertyHide 1 property
    • policieslist of objects

      List of the organization's custom policies

      Show 4 propertiesHide 4 properties
      • idstring

        Unique identifier for the policy

      • namestring

        Name of the policy

      • descriptionstring

        Optional description of the policy

      • permissionslist of objects

        The permissions granted by this policy

        Show 2 propertiesHide 2 properties
        • idstring

          Unique identifier

        • namestring

          Name

Built byConfident AI