Alerts
Create Alert
Create a new alert
Authorization
x-maxim-api-key
<token>API key for authentication
In: header
Request Body
application/json
OptionalworkspaceId
RequiredstringUnique identifier for the workspace
entityId
RequiredstringID of the entity to create alert for
type
RequiredstringType of entity for the alert
Value in:
"WORKFLOW" | "WORKFLOW_SIMULATION" | "PROMPT_CHAIN" | "DATASET" | "DATASET_SPLIT" | "PROMPT" | "DATASOURCE" | "PROMPT_EXPERIMENT" | "LOG_REPOSITORY" | "PROMPT_TOOL" | "EVALUATOR" | "SDK" | "TEST_RUN" | "RUN_REPORT"
enabled
booleanWhether the alert is enabled
Default:
true
config
RequiredobjectnotificationChannelIds
array<string>List of notification channel IDs eg: ["channel_123", "channel_456"]
Alert created successfully