Scheduling Rules
API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
100Successful Response
Missing or invalid API key.
Insufficient permissions.
Validation Error
Rate limited.
API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
Per-rule-kind typed parameters. The rule_kind discriminator field selects the params shape; one row per (agent_kind, rule_kind) per workspace.
trueSuccessful Response
Missing or invalid API key.
Insufficient permissions.
Rule set already exists for this (agent_kind, rule_kind).
Invalid request body or rule_kind discriminator.
Rate limited.
API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
Successful Response
Wire shape for a single rule set. params stays as dict
here (not the discriminated union) so add-a-new-kind doesn't break
older clients still on the previous SDK version — the SDK's typed
helpers can re-validate into RuleParams when needed.
Missing or invalid API key.
Insufficient permissions.
Rule set not found in this workspace.
Validation Error
Rate limited.
API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
Successful Response
Missing or invalid API key.
Insufficient permissions.
Rule set not found in this workspace.
Validation Error
Rate limited.
No content
API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
Partial update — fields not provided are unchanged. params
must be the full per-kind shape (no patch within params); send the
whole RuleParams or omit.
Successful Response
Wire shape for a single rule set. params stays as dict
here (not the discriminated union) so add-a-new-kind doesn't break
older clients still on the previous SDK version — the SDK's typed
helpers can re-validate into RuleParams when needed.
Missing or invalid API key.
Insufficient permissions.
Rule set not found in this workspace.
Submitted params discriminator does not match the existing rule's rule_kind.
Rate limited.
Last updated
Was this helpful?

