v5

latestOpenAPI 3.1.02026-08-081,0211,3082.1 MB
AI_STUDIO
SCHEDULES

Toggle Schedule

Enable or disable a schedule.

post/studio/schedules/{schedule_id}/toggle

Path parameters

schedule_idstring uuid required

Response

Successful Response

idstring uuid required
namestring required
session_idstring required
content_scope'first_query' | 'last_answer' | 'full_chat' required

What content to include in the scheduled report.

cron_exprstring required
destination_type'email' | 'slack' | 'multi' required

How to deliver the scheduled report.

Derived from destination_config at save time — MULTI means both emails and a Slack webhook are configured on the same schedule.

emailsstring[] required
slack_webhook_idinteger nullable
enabledboolean required
last_runstring date-time nullable required
next_runstring date-time nullable required
created_byinteger required
created_atstring date-time required
updated_atstring date-time required
day_of_weekinteger nullable

Cron weekday (0=Sunday … 6=Saturday) when frequency is weekly

day_of_monthinteger nullable

Cron day-of-month (1-31) when frequency is monthly