Launch Week 02 wrapped — explore all five launches

Get Project Model

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

Returns the model in effect for the project, selected by the required type query parameter. EVALUATION is the LLM judge that scores metrics for this project. PLATFORM is the model that powers Confident AI's own AI features, like classification, summaries, and report generation. SIMULATION is the model that simulates user turns in conversation simulations, including multi-turn test runs and red teaming.

source tells you where the returned model comes from: project when the project has an override of its own, organization when the project follows the organization's default. The evaluation model is always project scoped, so it always reports project.

Reading never creates configuration: model is null when nothing has been set for that type, which for PLATFORM and SIMULATION means neither the project nor the organization has configured one.

GET/v1/projects/{projectId}/models
curl -X GET "https://api.confident-ai.com/v1/projects/{projectId}/models" \
  -H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>"
200
{
  "success": true,
  "data": {
    "model": {
      "id": "cm4xqd2rp0002abcdef987654",
      "type": "PLATFORM",
      "provider": "GEMINI",
      "name": "gemini-2.0-flash",
      "maxConcurrency": 5,
      "maxInputTokens": null,
      "projectId": null,
      "organizationId": "c290fdd8-6a02-4056-b4d9-3459a4dcbd9e"
    },
    "source": "organization"
  }
}

Headers

  • CONFIDENT_API_KEYstringRequired

    The organization API key for your Confident AI organization.

Path parameters

  • projectIdstringRequired

    The unique identifier of the project.

Query parameters

  • typeenumRequired

    Which of the project's models to read.

Response

  • successboolean

    Indicates if the request was successful

  • dataobject

    Show 2 propertiesHide 2 properties
    • modelobject

      Show 8 propertiesHide 8 properties
      • idstring

        Unique identifier of the model configuration

      • typeenum

        What the model is used for

        Show 4 enum valuesHide 4 enum values
        • EVALUATION
        • PLATFORM
        • GENERATION
        • SIMULATION
      • providerenum

        The model provider to run the model on. CONFIDENT_AI requires no credential; every other provider requires its credential to be configured first via the model credentials endpoints. The CUSTOM provider cannot be configured through the public API.

        Show 16 enum valuesHide 16 enum values
        • CONFIDENT_AI
        • OPEN_AI
        • ANTHROPIC
        • GEMINI
        • X_AI
        • DEEPSEEK
        • MISTRAL
        • PERPLEXITY
        • BEDROCK
        • VERTEX_AI
        • AZURE
        • PORTKEY
        • OPEN_ROUTER
        • TRUE_FOUNDRY
        • LITE_LLM
        • HUGGING_FACE
      • namestring

        The configured model name; null when the provider's default is used

      • maxConcurrencyinteger

        Maximum number of concurrent calls made to the model

      • maxInputTokensinteger

        Maximum number of input tokens sent to the model per call

      • projectIdstring

        Set when the model is configured on a project

      • organizationIdstring

        Set when the model is configured on the organization

    • sourceenum

      Returned for project reads and for platform and simulation model updates; whether the model in effect comes from a project override or the organization default

      Show 2 enum valuesHide 2 enum values
      • project
      • organization
Built byConfident AI