Get Organization Model
GEThttps://api.confident-ai.com/v1/organization/models
Returns one of the organization's default models, selected by the required type query parameter. 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.
Each default applies to every project that has no override of its own for that type; read a single project's effective model with the project models endpoint. Reading never creates configuration: model is null until the organization sets one.
curl -X GET "https://api.confident-ai.com/v1/organization/models" \
-H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>"{
"success": true,
"data": {
"model": {
"id": "cm4xqd2rp0002abcdef987654",
"type": "SIMULATION",
"provider": "GEMINI",
"name": "gemini-2.0-flash",
"maxConcurrency": 5,
"maxInputTokens": null,
"projectId": null,
"organizationId": "c290fdd8-6a02-4056-b4d9-3459a4dcbd9e"
}
}
}Headers
CONFIDENT_API_KEYstringRequiredThe organization API key for your Confident AI organization.
Query parameters
typeenumRequiredWhich of the organization's models to read.
Response
successbooleanIndicates if the request was successful
dataobjectShow 2 propertiesHide 2 properties
modelobjectShow 8 propertiesHide 8 properties
idstringUnique identifier of the model configuration
typeenumWhat the model is used for
Show 4 enum valuesHide 4 enum values
EVALUATIONPLATFORMGENERATIONSIMULATION
providerenumThe model provider to run the model on.
CONFIDENT_AIrequires no credential; every other provider requires its credential to be configured first via the model credentials endpoints. TheCUSTOMprovider cannot be configured through the public API.Show 16 enum valuesHide 16 enum values
CONFIDENT_AIOPEN_AIANTHROPICGEMINIX_AIDEEPSEEKMISTRALPERPLEXITYBEDROCKVERTEX_AIAZUREPORTKEYOPEN_ROUTERTRUE_FOUNDRYLITE_LLMHUGGING_FACE
namestringThe configured model name;
nullwhen the provider's default is usedmaxConcurrencyintegerMaximum number of concurrent calls made to the model
maxInputTokensintegerMaximum number of input tokens sent to the model per call
projectIdstringSet when the model is configured on a project
organizationIdstringSet when the model is configured on the organization
sourceenumReturned 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
projectorganization