К содержимому

Profile ​

Тип: object additionalProperties: false

ПолеОбязательноеТипОписание и ограничения
idДаstringformat: "uuid"
account_idДаstringformat: "uuid"
account_nameДаstring
account_activeДаboolean
activeДаboolean
availableДаboolean
nameДаstring
descriptionДаstring / null
harnessДаstringenum: ["codex"]
modelДаstringminLength: 1
codexДаCodexProfile
instructionsДаstring
is_defaultДаboolean

JSON Schema ​

json
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "id",
    "name",
    "description",
    "harness",
    "account_id",
    "account_name",
    "account_active",
    "active",
    "available",
    "model",
    "codex",
    "instructions",
    "is_default"
  ],
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "account_id": {
      "type": "string",
      "format": "uuid"
    },
    "account_name": {
      "type": "string"
    },
    "account_active": {
      "type": "boolean"
    },
    "active": {
      "type": "boolean"
    },
    "available": {
      "type": "boolean"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string",
      "nullable": true
    },
    "harness": {
      "type": "string",
      "enum": [
        "codex"
      ]
    },
    "model": {
      "type": "string",
      "minLength": 1
    },
    "codex": {
      "$ref": "#/components/schemas/CodexProfile"
    },
    "instructions": {
      "type": "string"
    },
    "is_default": {
      "type": "boolean"
    }
  }
}

Все схемы · HTTP API