Skip to content
post/v1/alert-rules

Create a personal alert rule.

Parameters

ParametersTypeRequiredDescription
authorization(header)

Request body

  • domainanyOfOptional
  • conditionenum (3)Required
  • thresholdnumberOptional
  • channelsarrayOptional
  • argsobjectOptional
  • enabledbooleanOptional

Responses

  • 201Successful Response
    • idstringRequired
    • user_idstringRequired
    • domainanyOfRequired
    • conditionenum (3)Required
    • thresholdnumberRequired
    • channelsarrayRequired
    • enabledbooleanRequired
    • argsobjectOptional
    • created_atstring <date-time>Required
    • last_triggered_atanyOfOptional
    • workspace_idstringRequired

      Deprecated alias for :attr:`user_id`. Emitted for one release so clients pinned to the pre-removal shape keep working; drop it in the release after this one.

  • 422Validation Error
    • detailarrayOptional
POST /v1/alert-rules | AIDE