Skip to main content
PUT
Create or revision-conditionally update one resident schedule

Authorizations

Authorization
string
header
required

Exactly one Authorization: Bearer value from the token file

Headers

If-None-Match
string
Allowed value: "*"
If-Match
string
Maximum string length: 96

Path Parameters

id
string
required
Required string length: 1 - 255

Body

application/json
maxCostUsd
number
required
missed
enum<string>
required
Available options:
catch-up,
catch-up-once,
skip
when
object
required
workflow
string
required
Maximum string length: 1024
Pattern: ^[^/].*\.nika\.yaml$
active
boolean
afterSkip
enum<string>
Available options:
next_slot,
on_completion
jitter
enum<string>
Available options:
hash
maxLatenessSeconds
integer
Required range: x >= 0
overlap
enum<string>
Available options:
skip,
queue,
replace
pauseReason
string
Maximum string length: 1024
pauseUntil
string<date>
tolerance
string

Response

Applied or unchanged

applied
boolean
required
changed
boolean
required
status
object
required

Normalized definition, origin, distinct schedule revision, active/pause state, due verdict, bounded next slots with shift evidence, earliest wake hint, and last durable decision.