CreateSchedule
Тип: object additionalProperties: false
| Поле | Обязательное | Тип | Описание и ограничения |
|---|---|---|---|
profile | Нет | string | Точное имя профиля Orpheus. При создании без значения используется настроенный дефолт. Любое сохранение, кроме чистой паузы, требует активного профиля и аккаунта. minLength: 1 |
template | Нет | string | Точное имя шаблона Orpheus. При пропуске создание использует настроенное значение по умолчанию. minLength: 1 |
name | Да | string | minLength: 1maxLength: 200 |
prompt | Да | string | minLength: 1 |
cron | Да | string | minLength: 1 |
timezone | Да | string | minLength: 1 |
status | Нет | Status | |
model | Нет | string / null | minLength: 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"
}
}
}