Properties
| Name | Type | Description |
|---|---|---|
| provider | string | |
| apiKey | string | This is not returned in the API. |
| authenticationPlan | object | This is the authentication plan. Currently supports OAuth2 RFC 6749. To use Bearer authentication, use apiKey |
| name | string | This is the name of credential. This is just for your reference. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/CreateCustomLLMCredentialDTO",
"title": "CreateCustomLLMCredentialDTO",
"type": "object",
"properties": {
"provider": {
"type": "string",
"enum": [
"custom-llm"
]
},
"apiKey": {
"type": "string",
"maxLength": 10000,
"description": "This is not returned in the API."
},
"authenticationPlan": {
"description": "This is the authentication plan. Currently supports OAuth2 RFC 6749. To use Bearer authentication, use apiKey",
"allOf": [
{
"$ref": "#/components/schemas/OAuth2AuthenticationPlan"
}
]
},
"name": {
"type": "string",
"description": "This is the name of credential. This is just for your reference.",
"minLength": 1,
"maxLength": 40
}
},
"required": [
"provider",
"apiKey"
]
}