v1
latestOpenAPI 3.1.02026-07-1324323188.8 KBRetrieves the collection of currently published Rule resources.
Retrieves the collection of currently published Rule resources.
💡 Please note that draft rules are not included in this list. If you have deleted a rule, it will still be listed here until you publish your ruleset.
💡 Also, please note that there is pagination on this endpoint. Each page contain 100 items. Traversing the rules collection can be done using the searchAfterId query string parameter.
Query parameters
The id of the project.
The id of the last rule returned in the previous page. Used for pagination.
The name of one or more tags. Every Rule that is attached to at least one of those tags will be returned. Tags can also be passed as a comma separated list.
The enabled status of the rule.
The trigger source URL. This allows to filter rules that are triggered by a specific URL.
Response
Rule collection
Example response
[
{
"actions": [
{
"mode": "default"
}
],
"markers": [
{
"description": "My enum marker that only allow \"dog\" or \"cat\"",
"name": "MyEnum",
"transformers": [
{
"something": "foo",
"with": "bar"
}
]
}
],
"trigger": {
"date": [
{
"operator": "equals"
}
],
"datetime": [
{
"operator": "after"
}
],
"ipAddress": {
"ip": "1.2.3.4"
},
"methods": [
"GET",
"POST"
],
"requestHeaders": [
{
"name": "Accept",
"operator": "isNotEqualTo",
"value": "application/json"
}
],
"responseStatusCodes": [
500,
503
],
"sampling": 47,
"source": "/old-url",
"time": [
{
"operator": "after"
}
]
},
"variables": [
{
"marker": "markerName",
"name": "myVariable",
"transformers": [
{
"something": "foo",
"with": "bar"
}
]
}
]
}
]