For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Trust CenterStatusSupportGet a demoPlatform
DocumentationEvals API ReferenceIntegrations & OTELPlatform SettingsSelf-HostingGuidesChangelog
DocumentationEvals API ReferenceIntegrations & OTELPlatform SettingsSelf-HostingGuidesChangelog
  • Get Started
    • Introduction
    • Quickstart
    • Authentication
    • Data Models
    • API Conventions
  • Data Models
      • GETList Projects
      • POSTCreate Project
      • GETRetrieve Project
      • PUTUpdate Project
      • DELDelete Project
        • GETList Project Policies
        • POSTCreate Project Policy
        • PUTUpdate Project Policy
        • DELDelete Project Policy
  • Evals
  • Legacy
LogoLogo
Trust CenterStatusSupportGet a demoPlatform
Data ModelsProjectsPolicies

List Project Policies

GET
https://api.confident-ai.com/v1/projects/:projectId/policies
GET
/v1/projects/:projectId/policies
$curl https://api.confident-ai.com/v1/projects/projectId/policies \
> -H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>"
200Retrieved
1{
2 "success": true,
3 "data": {
4 "policies": [
5 {
6 "id": "policy-uuid-1",
7 "name": "View traces",
8 "description": "Grants read access to traces",
9 "permissions": [
10 {
11 "id": "perm-uuid-1",
12 "name": "trace:read"
13 }
14 ]
15 }
16 ]
17 }
18}
Lists the custom policies defined for a project. Each policy is a named collection of permissions.
Was this page helpful?
Previous

Create Project Policy

Next
Built with

Path parameters

projectIdstringRequired
The unique identifier of the project.

Headers

CONFIDENT_API_KEYstringRequired
The organization API key for your Confident AI organization.

Response

successboolean
Indicates if the request was successful
dataobject