Skip to content

CreateProfile ​

Type: object additionalProperties: false

FieldRequiredTypeDescription and constraints
nameYesstringminLength: 1
maxLength: 255
account_idYesstringformat: "uuid"
descriptionNostring / nullmaxLength: 4096
modelYesstringminLength: 1
maxLength: 255
instructionsNostringmaxLength: 65536
codexNoCodexProfile
activeNobooleandefault: 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
    }
  }
}

All schemas · HTTP API