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

CreateSchedule ​

Тип: object additionalProperties: false

ПолеОбязательноеТипОписание и ограничения
profileНетstringТочное имя профиля Orpheus. При создании без значения используется настроенный дефолт. Любое сохранение, кроме чистой паузы, требует активного профиля и аккаунта. minLength: 1
templateНетstringТочное имя шаблона Orpheus. При пропуске создание использует настроенное значение по умолчанию. minLength: 1
nameДаstringminLength: 1
maxLength: 200
promptДаstringminLength: 1
cronДаstringminLength: 1
timezoneДаstringminLength: 1
statusНетStatus
modelНетstring / nullminLength: 1
session_modeНетSessionMode
owner_emailНетstring / nullПользователь SAML без прав администратора использует email своей сессии. Пропуск поля подставляет его, явный null запрещён. При полном доступе допустим любой владелец или null. minLength: 1
servicesНетServiceCodes

JSON Schema ​

json
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "name",
    "prompt",
    "cron",
    "timezone"
  ],
  "properties": {
    "profile": {
      "type": "string",
      "minLength": 1,
      "description": "Exact Orpheus profile name; creation uses the configured default when omitted. Every save except a pure pause requires an active profile and account."
    },
    "template": {
      "type": "string",
      "minLength": 1,
      "description": "Exact Orpheus template name; creation uses the configured default when omitted."
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "prompt": {
      "type": "string",
      "minLength": 1
    },
    "cron": {
      "type": "string",
      "minLength": 1
    },
    "timezone": {
      "type": "string",
      "minLength": 1
    },
    "status": {
      "$ref": "#/components/schemas/Status"
    },
    "model": {
      "type": "string",
      "nullable": true,
      "minLength": 1
    },
    "session_mode": {
      "$ref": "#/components/schemas/SessionMode"
    },
    "owner_email": {
      "type": "string",
      "nullable": true,
      "minLength": 1,
      "description": "SAML non-admins must use their session email; omission fills it, explicit null is forbidden. Full-access callers may use any owner or null."
    },
    "services": {
      "$ref": "#/components/schemas/ServiceCodes"
    }
  }
}

Все схемы · HTTP API