Skip to main content
POST
Get monitor folder health

Restrictions

Usage

  • items has one entry per folder in the requested scope, the same set /monit/folder/list returns for that scope, sorted by id.
  • has_issue is true when a rule in the folder or in any of its descendants has an active alert or a runtime problem. The issue then also shows on every visible ancestor folder. Only rules in folders of the requested scope are counted.
  • scope comes from an optional JSON body; an empty body is the same as omitting scope.
  • This operation scans folder rules and runtime state. Avoid frequent polling.

Authorizations

app_key
string
query
required

APP Key created in the Flashduty console under My → APP Key. Send it as the app_key query parameter or in the Fd-App-Key request header. Its effective access is the intersection of the key's permission scope and the creator's current role permissions. Keep it secret.

Body

application/json

Optional read scope for folder-based listings. An empty request body is the same as omitting scope.

scope
enum<string>

Which folders the response covers. mine covers the folders of the caller's teams and the folders the caller created, plus their descendants; all covers every folder of the account. When omitted, it is all for account owners, admins and roles with the all-teams view scope, and mine for other members. Any other value fails with InvalidParameter.

Available options:
mine,
all

Response

Success

Success response envelope. On every 2xx response, request_id identifies the call (also mirrored in the Flashcat-Request-Id header) and data holds the endpoint-specific payload. Failure responses use a different shape — see ErrorResponse.

request_id
string
required

Unique ID for this request. Mirrored in the Flashcat-Request-Id response header. Include it when reporting issues.

Example:

"01HK8XQE3Z7JM2NTFQ5YJ8P9R4"

data
object

Health summaries for visible folders.