Skip to content

CredentialModel

A model a credential may serve.

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

FieldTypeRequiredDescription
modelstringThe model, as runs name it (for example gpt-5 or claude-sonnet-4-5).
deploymentNamestring | nullThe name the endpoint knows it by, where that differs (an Azure or Foundry deployment).
contextWindowTokensinteger | nullThe context window the endpoint gives it, where that’s smaller than the model’s own.
{
"model": "...",
"deploymentName": "...",
"contextWindowTokens": 0
}

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

FieldTypeDescription
modelstringThe model, as runs name it (for example gpt-5 or claude-sonnet-4-5).
deploymentNamestring | nullThe name the endpoint knows it by, where that differs (an Azure or Foundry deployment).
contextWindowTokensinteger | nullThe context window the endpoint gives it, where that’s smaller than the model’s own.
{
"model": "...",
"deploymentName": "...",
"contextWindowTokens": 0
}