Skip to content

CodePipelineApiKeyCredentials

An API key for a code pipeline engine, with where its traffic goes.

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

FieldTypeRequiredDescription
apiKeystringThe key. Leave it empty on Maitento’s own fallback entry (isOwnLicense false). Write-only: never returned.
baseUrlstring | nullThe endpoint to send this key’s requests to, for providers that give each key its own host (for example Qwen’s regional endpoints). Null: the engine’s default endpoint.
hostingModestring | nullWhere the key’s model is hosted: Direct, CustomEndpoint, AzureFoundry, Bedrock or Vertex (see CodePipelineHostingMode). Null: Direct.
modelNameOverridesmap<string, string> | nullThe model id this key needs for each model name (for example a deployment name on Azure), keyed by the model name the agent asks for. Null or empty: model names are used as they are.
boundModelstring | nullThe one model this key serves. Null: any model of its engine. Set it for your own endpoint, so an agent asking for a different model never gets this endpoint.
contextWindowTokensinteger | nullThe context window of boundModel, in tokens, for a model the coding tool doesn’t know. Null for the built-in engines’ models.
awsRegionstring | nullThe AWS region, when hostingMode is Bedrock.
gcpProjectIdstring | nullThe Google Cloud project id, when hostingMode is Vertex.
gcpRegionstring | nullThe Google Cloud region, when hostingMode is Vertex.
engineCodeEngineTypeThe engine this credential is for.
credentialIdstring | nullYour id for this credential. The run records it on the tokens the credential used (tokenUsage) and, when your own credential fails, in credentialFailures, so you can tell which key did what.
isOwnLicensebooleanTrue for your own key or sign-in, which you pay the provider for. False marks a fallback to Maitento’s own key: leave its apiKey empty. Its use counts as platform usage, and your tenant can forbid it.
priorityinteger | nullThe order to try this engine’s credentials in: lower first. Null: after the numbered ones.
billingModestring | nullThe kind of plan the credential is on with its provider (for example SubscriptionPlan or PayAsYouGoApi), recorded for reporting. Null when not given.
{
"apiKey": "...",
"baseUrl": "...",
"hostingMode": "...",
"modelNameOverrides": {
"key": "..."
},
"boundModel": "...",
"contextWindowTokens": 0,
"awsRegion": "...",
"gcpProjectId": "...",
"gcpRegion": "...",
"engine": "Claude",
"credentialId": "...",
"isOwnLicense": false,
"priority": 0,
"billingMode": "..."
}

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

FieldTypeDescription
baseUrlstring | nullThe endpoint to send this key’s requests to, for providers that give each key its own host (for example Qwen’s regional endpoints). Null: the engine’s default endpoint.
hostingModestring | nullWhere the key’s model is hosted: Direct, CustomEndpoint, AzureFoundry, Bedrock or Vertex (see CodePipelineHostingMode). Null: Direct.
parsedHostingModeCodePipelineHostingModehostingMode as an enum value: Direct when it is null or not recognised. Set by Maitento.
modelNameOverridesmap<string, string> | nullThe model id this key needs for each model name (for example a deployment name on Azure), keyed by the model name the agent asks for. Null or empty: model names are used as they are.
boundModelstring | nullThe one model this key serves. Null: any model of its engine. Set it for your own endpoint, so an agent asking for a different model never gets this endpoint.
contextWindowTokensinteger | nullThe context window of boundModel, in tokens, for a model the coding tool doesn’t know. Null for the built-in engines’ models.
awsRegionstring | nullThe AWS region, when hostingMode is Bedrock.
gcpProjectIdstring | nullThe Google Cloud project id, when hostingMode is Vertex.
gcpRegionstring | nullThe Google Cloud region, when hostingMode is Vertex.
engineCodeEngineTypeThe engine this credential is for.
credentialIdstring | nullYour id for this credential. The run records it on the tokens the credential used (tokenUsage) and, when your own credential fails, in credentialFailures, so you can tell which key did what.
isOwnLicensebooleanTrue for your own key or sign-in, which you pay the provider for. False marks a fallback to Maitento’s own key: leave its apiKey empty. Its use counts as platform usage, and your tenant can forbid it.
priorityinteger | nullThe order to try this engine’s credentials in: lower first. Null: after the numbered ones.
billingModestring | nullThe kind of plan the credential is on with its provider (for example SubscriptionPlan or PayAsYouGoApi), recorded for reporting. Null when not given.
{
"baseUrl": "...",
"hostingMode": "...",
"parsedHostingMode": "Direct",
"modelNameOverrides": {
"key": "..."
},
"boundModel": "...",
"contextWindowTokens": 0,
"awsRegion": "...",
"gcpProjectId": "...",
"gcpRegion": "...",
"engine": "Claude",
"credentialId": "...",
"isOwnLicense": false,
"priority": 0,
"billingMode": "..."
}