Launch Week 02 wrapped — explore all five launches

Retrieve Project

GEThttps://api.confident-ai.com/v2/projects/{projectId}

Retrieves a single project by id, including the governance policy it is enrolled in. The project must belong to the organization your API key is scoped to; one belonging to another organization is reported as not found rather than as forbidden.

GET/v2/projects/{projectId}
curl -X GET "https://api.confident-ai.com/v2/projects/{projectId}" \
  -H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>"
200
{
  "success": true,
  "data": {
    "id": "<PROJECT-ID>",
    "name": "Customer Support Agent",
    "description": "The support chatbot serving acme.com.",
    "organizationId": "<ORGANIZATION-ID>",
    "created_at": "2025-01-14T09:30:00.000Z",
    "governancePolicy": {
      "id": "<GOVERNANCE-POLICY-ID>",
      "name": "EU AI Act"
    }
  },
  "deprecated": false
}

Headers

  • CONFIDENT_API_KEYstringRequired

    The organization API key for your Confident AI organization.

Path parameters

  • projectIdstringRequired

    The id of the project. It must belong to the organization your API key is scoped to.

Response

Retrieve Project succeeded.

  • successboolean

    Indicates if the request was successful.

  • dataobject

    A workspace inside your organization. A project owns its own API keys, members, datasets, prompts, metrics and traces, and every project-scoped endpoint reads and writes within exactly one of them.

    Show 6 propertiesHide 6 properties
    • idstring

      The id of the project, generated by Confident AI.

    • namestring

      The name of the project, unique within the organization.

    • descriptionstring | null

      What the project covers, or null when it has no description.

    • organizationIdstring

      The id of the organization the project belongs to.

    • created_atstring

      When the project was created.

    • governancePolicyobject | null

      The governance policy a project is enrolled in, named rather than resolved. Retrieve the policy itself to see the controls it enforces.

      Show 2 propertiesHide 2 properties
      • idstring

        The id of the governance policy, generated by Confident AI.

      • namestring

        The name of the governance policy.

  • deprecatedboolean

    Indicates if this endpoint is deprecated.

Built byConfident AI