Skip to main content
PATCH
Update Prompt Schedule

Authorizations

X-Lightsage-Api-Key
string
header
required

Body

application/json
enabled
boolean

Turn scheduled prompt runs on or off for the organization.

frequency
enum<string>

The organization's default frequency, for every answer engine and harness not set differently. daily is recommended. every_other_day and weekly are not recommended: they leave less data to analyze and work out how to improve.

Available options:
daily,
every_other_day,
weekly
frequencies
V2PromptRunFrequencyInput · object[] | null

Answer engines and harnesses to set differently from the default, or back to it with default. Those you leave out keep theirs.

Required array length: 1 - 100 elements

Response

Successful Response

enabled
boolean
required

Whether scheduled prompt runs are on.

time
string
required

Time of day the daily run starts, as HH:MM.

timezone
string
required

Time zone of time.

frequency
enum<string>
required

The organization's default frequency, for every answer engine and harness not set differently. daily is recommended. every_other_day and weekly are not recommended: they leave less data to analyze and work out how to improve.

Available options:
daily,
every_other_day,
weekly
last_run_at
string | null
next_run_at
string | null
frequencies
V2PromptRunFrequency · object[]

Every answer engine and harness the organization can run prompts on, with how often each runs. overridden marks the ones set differently from the default, and in_use the ones its prompts use now.