Skip to content

PartitionEmbeddingCredential

One of your own provider API keys that a partition’s embeddings may authenticate with, in the partition’s ordered list of keys. API keys only. Every key in the list must be for the provider of the partition’s embedding profile.

Kind: an object, used in requests and responses. In a request it is called PartitionEmbeddingCredentialInput.

FieldTypeRequiredDescription
providerEmbeddingProvider| nullThe provider this key authenticates with. Null means OpenAi.
apiKeystringThe API key. Write-only: it is never returned. Write-only: never returned.
baseUrlstring | nullThe endpoint to call with this key, such as your own Azure OpenAI resource. Null or blank: the provider’s default endpoint. Required for Qwen, which has none: give your region’s workspace host as an absolute https …/compatible-mode/v1 URL. The endpoint must serve the partition’s model at the partition’s width, or the embedding is rejected.
modelIdentifierstring | nullThe model or deployment id to send instead of the model’s name, typically an Azure OpenAI deployment name. Null or blank: the model’s name.
credentialIdstringYour own id for this key, so a failure recorded against it (embeddingCredentialFailures) can be matched back to the key you hold.
priorityintegerFailover order; lower is tried first.
{
"provider": "OpenAi",
"apiKey": "...",
"baseUrl": "...",
"modelIdentifier": "...",
"credentialId": "...",
"priority": 0
}

Every field is present in a response; empty ones are null.

FieldTypeDescription
providerEmbeddingProvider| nullThe provider this key authenticates with. Null means OpenAi.
baseUrlstring | nullThe endpoint to call with this key, such as your own Azure OpenAI resource. Null or blank: the provider’s default endpoint. Required for Qwen, which has none: give your region’s workspace host as an absolute https …/compatible-mode/v1 URL. The endpoint must serve the partition’s model at the partition’s width, or the embedding is rejected.
modelIdentifierstring | nullThe model or deployment id to send instead of the model’s name, typically an Azure OpenAI deployment name. Null or blank: the model’s name.
credentialIdstringYour own id for this key, so a failure recorded against it (embeddingCredentialFailures) can be matched back to the key you hold.
priorityintegerFailover order; lower is tried first.
{
"provider": "OpenAi",
"baseUrl": "...",
"modelIdentifier": "...",
"credentialId": "...",
"priority": 0
}