CreateSchedule
Type: object additionalProperties: false
| Field | Required | Type | Description and constraints |
|---|---|---|---|
profile | No | string | Exact Orpheus profile name; creation uses the configured default when omitted. Every save except a pure pause requires an active profile and account. minLength: 1 |
template | No | string | Exact Orpheus template name; creation uses the configured default when omitted. minLength: 1 |
name | Yes | string | minLength: 1maxLength: 200 |
prompt | Yes | string | minLength: 1 |
cron | Yes | string | minLength: 1 |
timezone | Yes | string | minLength: 1 |
status | No | Status | |
model | No | string / null | minLength: 1 |
session_mode | No | SessionMode | |
owner_email | No | string / null | SAML non-admins must use their session email; omission fills it, explicit null is forbidden. Full-access callers may use any owner or null. minLength: 1 |
services | No | 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"
}
}
}