CreateProfile
Type: object additionalProperties: false
| Field | Required | Type | Description and constraints |
|---|---|---|---|
name | Yes | string | minLength: 1maxLength: 255 |
account_id | Yes | string | format: "uuid" |
description | No | string / null | maxLength: 4096 |
model | Yes | string | minLength: 1maxLength: 255 |
instructions | No | string | maxLength: 65536 |
codex | No | CodexProfile | |
active | No | 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
}
}
}