Create a large language model
Creates a large language model. The large language model can have the following scopes:
- Project (
resourceLevel: 'project') - Global (
resourceLevel: 'organisation')
Depending on the scope, different fields are required or must be excluded:
- Project-level resources:
projectIdis required. - Global resources:
isDefaultandfallbackmust be excluded.
Documentation Index
Fetch the complete documentation index at: https://docs.cognigy.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Supply the API Key in the HTTP-Header
Headers
The Accept header specifies the media type that the client expects in the response. Available options: application/json, application/hal+json, application/xml, text/xml, text/csv. The default value is application/json.
application/json, application/hal+json, application/xml, text/xml, text/csv Body
- Global large language model resource
- Project level large language model resource
"Large language model for customer service"
gpt-3.5-turbo, gpt-3.5-turbo-instruct, gpt-4, gpt-4o, gpt-4o-mini, gpt-4.1, gpt-4.1-mini, gpt-4.1-nano, gpt-5, gpt-5-nano, gpt-5-mini, gpt-5.4-mini, gpt-5.4-nano, gpt-5-chat-latest, gpt-5.1, gpt-5.2, gpt-5.4, gpt-5.5, text-embedding-ada-002, luminous-extended-control, luminous-embedding-128, Pharia-1-Embedding-4608, gemini-embedding-001, claude-3-opus-20240229, claude-sonnet-4-6, custom-model, custom-embedding-model, gemini-2.0-flash, gemini-2.0-flash-lite, gemini-2.5-pro, gemini-2.5-flash, gemini-2.5-flash-lite, gemini-3.1-pro-preview, gemini-3-flash-preview, gemini-3.1-flash-lite-preview, mistral-large-2411, mistral-small-2503, pixtral-large-2411, pixtral-12b-2409 azureOpenAI, openAI, anthropic, googleVertexAI, googleGemini, googleGenAI, alephAlpha, awsBedrock, mistral The identifier for the large language model connection.
36Scope for globally scoped resources.
organisation "Large language model for customer-facing AI Agents."
chat, completion, embedding The API type for chat models. Defaults to chatCompletion when not specified. The responses API is only supported for OpenAI, Azure OpenAI, and OpenAI Compatible providers.
chatCompletion, responses true
Metadata for OpenAI large language models.
Metadata for Anthropic large language models.
Metadata for Azure OpenAI large language models.
Metadata for Google Vertex AI large language models.
Metadata for Google Gemini large language models.
Google GenAI specific meta data
Metadata for Aleph Alpha large language models.
Metadata for OpenAI-compatible large language models.
MongoDB ObjectId representing a project
[
"68edf5dd4c931f68d31111",
"690b02fc100e454245adde111",
"68e6eda61ff68d2111"
]
Response
Returns large language model metadata object.
- Option 1
- Option 2
- Option 3
The IEntityMeta defines meta information every entity within the system has. These are dates when a resource was created and modified as well as information about the user who initially created a resource and who modified it the last time.
"Large language model for customer service"
gpt-3.5-turbo, gpt-3.5-turbo-instruct, gpt-4, gpt-4o, gpt-4o-mini, gpt-4.1, gpt-4.1-mini, gpt-4.1-nano, gpt-5, gpt-5-nano, gpt-5-mini, gpt-5.4-mini, gpt-5.4-nano, gpt-5-chat-latest, gpt-5.1, gpt-5.2, gpt-5.4, gpt-5.5, text-embedding-ada-002, luminous-extended-control, luminous-embedding-128, Pharia-1-Embedding-4608, gemini-embedding-001, claude-3-opus-20240229, claude-sonnet-4-6, custom-model, custom-embedding-model, gemini-2.0-flash, gemini-2.0-flash-lite, gemini-2.5-pro, gemini-2.5-flash, gemini-2.5-flash-lite, gemini-3.1-pro-preview, gemini-3-flash-preview, gemini-3.1-flash-lite-preview, mistral-large-2411, mistral-small-2503, pixtral-large-2411, pixtral-12b-2409 azureOpenAI, openAI, anthropic, googleVertexAI, googleGemini, googleGenAI, alephAlpha, awsBedrock, mistral The identifier for the large language model connection.
36Scope for globally scoped resources.
organisation "Large language model for customer-facing AI Agents."
chat, completion, embedding The API type for chat models. Defaults to chatCompletion when not specified. The responses API is only supported for OpenAI, Azure OpenAI, and OpenAI Compatible providers.
chatCompletion, responses true
Metadata for OpenAI large language models.
Metadata for Anthropic large language models.
Metadata for Azure OpenAI large language models.
Metadata for Google Vertex AI large language models.
Metadata for Google Gemini large language models.
Google GenAI specific meta data
Metadata for Aleph Alpha large language models.
Metadata for OpenAI-compatible large language models.
MongoDB ObjectId representing a project
[
"68edf5dd4c931f68d31111",
"690b02fc100e454245adde111",
"68e6eda61ff68d2111"
]
The reference ID of the large language model.
24^[a-z0-9]{24}$Unix-timestamp
0 <= x <= 21474836471694518620
Unix-timestamp
0 <= x <= 21474836471694518620
24^[a-z0-9]{24}$24^[a-z0-9]{24}$