CreateLLMAccount
Тип: object additionalProperties: false
| Поле | Обязательное | Тип | Описание и ограничения |
|---|---|---|---|
name | Да | string | minLength: 1maxLength: 255 |
harness | Да | string | enum: ["codex"] |
auth_mode | Да | string | enum: ["account","api_key"] |
active | Нет | boolean | default: true |
credential_store | Нет | string | minLength: 1 |
auth_file | Нет | AuthFile | |
api_key | Нет | string | minLength: 1 |
JSON Schema
json
{
"type": "object",
"additionalProperties": false,
"required": [
"name",
"harness",
"auth_mode"
],
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"harness": {
"type": "string",
"enum": [
"codex"
]
},
"auth_mode": {
"type": "string",
"enum": [
"account",
"api_key"
]
},
"active": {
"type": "boolean",
"default": true
},
"credential_store": {
"type": "string",
"minLength": 1
},
"auth_file": {
"$ref": "#/components/schemas/AuthFile"
},
"api_key": {
"type": "string",
"minLength": 1,
"writeOnly": true
}
},
"x-go-type": "json.RawMessage"
}