Get Project Model
(v2)GET
Returns which model the project uses for the type you ask for. PLATFORM and SIMULATION fall back to the organization's default when the project has no override of its own; EVALUATION is always project scoped. Reading never creates configuration.
curl -X GET "https://api.confident-ai.com/v2/projects/{projectId}/models" \
-H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>"{
"success": true,
"data": {
"model": {
"id": "<MODEL-ID>",
"type": "EVALUATION",
"provider": "GEMINI",
"name": "gemini-2.0-flash",
"maxConcurrency": 5,
"maxInputTokens": 128000,
"modelCredentialId": null,
"projectId": null,
"organizationId": "<ORGANIZATION-ID>"
},
"source": "project"
},
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe organization API key for your Confident AI organization.
Path parameters
projectIdstringRequiredThe id of the project, which must belong to the organization your API key is scoped to.
Query parameters
typeenumRequiredWhich of the project's models to read.
Response
Get Project Model succeeded.
successbooleanIndicates if the request was successful.
dataobjectThe model the project actually runs for one type, whether that is its own override or the organization's default.
Show 2 propertiesHide 2 properties
modelobject | nullOne model configuration: the provider and model Confident AI calls for a given purpose, with the limits it calls them under. A configuration belongs either to the organization (
organizationIdset) or to a single project (projectIdset), never to both.Show 9 propertiesHide 9 properties
idstringThe id of the model configuration, generated by Confident AI.
typeenumWhat a configured model is used for.
EVALUATIONis the LLM judge that scores a project's metrics,PLATFORMis the model behind Confident AI's own AI features such as classification, summaries and report generation, andSIMULATIONis the model that simulates user turns in conversation simulations. Those three are the only types the public API reads or writes.Show 8 enum valuesHide 8 enum values
EVALUATIONPLATFORMGENERATIONSIMULATIONTEXT_TO_SPEECHSPEECH_TO_TEXTDECISIONSPEECH_TO_SPEECH
providerenum | nullThis is the provider of the model.
Show 20 enum valuesHide 20 enum values
OPEN_AICUSTOMCONFIDENT_AIBEDROCKANTHROPICGEMINIX_AIDEEPSEEKMOONSHOT_AIVERTEX_AIAZUREMISTRALPERPLEXITYOPEN_ROUTERPORTKEYLITE_LLMTRUE_FOUNDRYHUGGING_FACETYPE_SAFEFAL
namestring | nullThe model to call at that provider, or
nullwhen the provider's default is used. AlwaysnullforCONFIDENT_AI.maxConcurrencyinteger | nullHow many calls Confident AI makes to this model at once, or
nullfor no limit of its own.maxInputTokensinteger | nullHow many input tokens Confident AI sends to this model per call, or
nullfor no limit of its own.modelCredentialIdstring | nullFor
BEDROCKandAZURE, the id of the stored credential the model is called with, or null when it uses the provider's default credential.projectIdstring | nullThe id of the project this configuration overrides the organization default for, or
nullwhen it is the organization default itself.organizationIdstring | nullThe id of the organization this configuration is the default for, or
nullwhen it is a project override.
sourceenumWhere the model in effect for a project comes from:
projectwhen the model is project scoped or has a project override, andorganizationwhen it follows the organization's default.Show 2 enum valuesHide 2 enum values
projectorganization
deprecatedbooleanIndicates if this endpoint is deprecated.