CreateProfile
Тип: object additionalProperties: false
| Поле | Обязательное | Тип | Описание и ограничения |
|---|---|---|---|
name | Да | string | minLength: 1maxLength: 255 |
account_id | Да | string | format: "uuid" |
description | Нет | string / null | maxLength: 4096 |
model | Да | string | minLength: 1maxLength: 255 |
instructions | Нет | string | maxLength: 65536 |
codex | Нет | CodexProfile | |
active | Нет | boolean | default: true |
JSON Schema
json
{
"type": "object",
"additionalProperties": false,
"required": [
"name",
"account_id",
"model"
],
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"account_id": {
"type": "string",
"format": "uuid"
},
"description": {
"type": [
"string",
"null"
],
"maxLength": 4096
},
"model": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"instructions": {
"type": "string",
"maxLength": 65536
},
"codex": {
"$ref": "#/components/schemas/CodexProfile"
},
"active": {
"type": "boolean",
"default": true
}
}
}