POST
/
api
/
v1
/
alert-rules
curl --request POST \
  --url https://cloud.bytebeam.io/api/v1/alert-rules \
  --header 'Content-Type: application/json' \
  --header 'x-bytebeam-api-key: <api-key>' \
  --header 'x-bytebeam-tenant: <api-key>' \
  --data '{
  "criticality": "warning",
  "activation_threshold_seconds": 123,
  "metadata_filters": {},
  "name": "<string>",
  "stream": "<string>",
  "deactivation_threshold_seconds": 123,
  "group": "<string>",
  "condition": {}
}'

Authorizations

x-bytebeam-api-key
string
header
required

API key required to authenticate requests.

x-bytebeam-tenant
string
header
required

Tenant(Project) name required to identify the project.

Body

criticality
enum<string>
required
Available options:
warning,
info,
critical
activation_threshold_seconds
integer
required
metadata_filters
object
required
name
string
required
stream
string
required
deactivation_threshold_seconds
integer
required
group
string
required
condition
object
required