Skip to content

CreateLLMAccount ​

Type: object additionalProperties: false

FieldRequiredTypeDescription and constraints
nameYesstringminLength: 1
maxLength: 255
harnessYesstringenum: ["codex"]
auth_modeYesstringenum: ["account","api_key"]
activeNobooleandefault: true
credential_storeNostringminLength: 1
auth_fileNoAuthFile
api_keyNostringminLength: 1

JSON Schema ​

json
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "name",
    "harness",
    "auth_mode"
  ],
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255
    },
    "harness": {
      "type": "string",
      "enum": [
        "codex"
      ]
    },
    "auth_mode": {
      "type": "string",
      "enum": [
        "account",
        "api_key"
      ]
    },
    "active": {
      "type": "boolean",
      "default": true
    },
    "credential_store": {
      "type": "string",
      "minLength": 1
    },
    "auth_file": {
      "$ref": "#/components/schemas/AuthFile"
    },
    "api_key": {
      "type": "string",
      "minLength": 1,
      "writeOnly": true
    }
  },
  "x-go-type": "json.RawMessage"
}

All schemas · HTTP API