curl --request GET \
--url https://api.dataspike.io/api/v3/transmon/rules/list/{event_type} \
--header 'ds-api-token: <api-key>'{
"builtin_rules": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<unknown>",
"status": "<unknown>",
"event_type": "<unknown>",
"rank": "<unknown>",
"expression": "<unknown>",
"causes": "<unknown>",
"created_at": "2023-07-18T15:32:13Z",
"updated_at": "2023-07-18T15:32:13Z",
"organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"action": "<unknown>"
}
],
"custom_rules": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<unknown>",
"status": "<unknown>",
"event_type": "<unknown>",
"rank": "<unknown>",
"expression": "<unknown>",
"causes": "<unknown>",
"created_at": "2023-07-18T15:32:13Z",
"updated_at": "2023-07-18T15:32:13Z",
"organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"action": "<unknown>"
}
]
}List all existing rules for given
curl --request GET \
--url https://api.dataspike.io/api/v3/transmon/rules/list/{event_type} \
--header 'ds-api-token: <api-key>'{
"builtin_rules": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<unknown>",
"status": "<unknown>",
"event_type": "<unknown>",
"rank": "<unknown>",
"expression": "<unknown>",
"causes": "<unknown>",
"created_at": "2023-07-18T15:32:13Z",
"updated_at": "2023-07-18T15:32:13Z",
"organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"action": "<unknown>"
}
],
"custom_rules": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<unknown>",
"status": "<unknown>",
"event_type": "<unknown>",
"rank": "<unknown>",
"expression": "<unknown>",
"causes": "<unknown>",
"created_at": "2023-07-18T15:32:13Z",
"updated_at": "2023-07-18T15:32:13Z",
"organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"action": "<unknown>"
}
]
}List of rules
Show child attributes
The rule id
When balance has been created
"2023-07-18T15:32:13Z"
When balance has been updated
"2023-07-18T15:32:13Z"
The organization owns the rule of null for shared rule example
Show child attributes
The rule id
When balance has been created
"2023-07-18T15:32:13Z"
When balance has been updated
"2023-07-18T15:32:13Z"
The organization owns the rule of null for shared rule example