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