API referenceSections

SiteTune

SiteTune object

A site's automatic tuning (ADR 0116)

  • policy string required
    Allowed values: "inherit" "off"
  • plan_policy string required
    Allowed values: "auto" "suggest" "off"
  • effective string required
    Allowed values: "auto" "suggest" "off"
  • plan_warm boolean required
  • state string required

    '' (never), applied, rolled_back, failed, reverted

  • profile TuneProfile required
  • up_to_date boolean required
  • applied_at string (date-time) | null optional
  • probed_at string (date-time) | null optional
  • last_error string optional
  • blocked_until string (date-time) | null optional
  • overridden array<string> | null optional
  • drifted array<string> | null optional
  • events array<TuneEvent> required

Used by

GET/api/v1/tenants/{tid}/sites/{id}/tuneThe site's automatic tuning, its profile and history (ADR 0116)
POST/api/v1/tenants/{tid}/sites/{id}/tune/applyProbe the site and apply its profile now, checked and rolled back if the site answers differently
POST/api/v1/tenants/{tid}/sites/{id}/tune/revertTake back what the tuner applied
PUT/api/v1/tenants/{tid}/sites/{id}/tune/policyFollow the plan's tuning policy, or opt this site out (off reverts)