Docs

Type a word or a question. Esc closes the search.

Sign in Start free

Apply an advisor fix

Applies the supported one-click fix for a finding to its target monitor.

POST https://app.upfour.io/v1/advisor/apply
POST https://app.upfour.io/v1/advisor/apply

A real request. Sending it changes data in your up4 account.

Authorization
AuthorizationA pls_ key. It stays in this browser tab. Needs report.write.
Body
rule_idrequired The rule of the finding to fix. Only the rules listed have a one-click fix; findings without a fix_action link to a page instead.
More fields1

1 more field is only available in JSON.

Headers

Sent directly from your browser to https://app.upfour.io/v1. Mutating calls get an automatic Idempotency-Key when the field is empty.

Request
Responsenot sent yet
Fill in a key and press Send request (⌘↵).
The answer appears here.
scope report.write stable Idempotency-Key supported returns 200

Body

application/json required 4 fields

rule_idstringrequired

The rule of the finding to fix. Only the rules listed have a one-click fix; findings without a fix_action link to a page instead.

monitor_without_recipientinterval_below_plan_minimum
target_iduuidrequired

The monitor to fix.

All other fields2 fields
paramsobjectfree-form keys

monitor_without_recipient: optional channel_id (UUID of the alert channel to attach; without it the caller's own email channel is used or created). interval_below_plan_minimum: optional interval_seconds (a positive number; without it the default check interval is set).

target_typestring

Recorded in the audit log only; both fixes act on the monitor in target_id.

Returns

A successful request returns 200 with application/json.

Response fields 1 top-level fields
FieldTypeDescription
data AdvisorApplyResponse
AdvisorApplyResponse · 1 fields
FieldTypeDescription
applied string

Errors

Only the errors this operation can return. Every error uses the same envelope.

Status Code Meaning
400 bad_request The request is malformed or fails validation.
403 permission_denied The credentials do not permit this action.

Every call can also return unauthorized (401), rate_limit_exceeded (429) or internal_error (500 / 502). See Responses and errors.