Data queries
Retrieve traffic data using 'filters' parameter, explained at https://gb.docs.reblaze.com/reference-information/api/api-access-to-traffic-data
100
0
Filters for request in format selected below (JSON or query string)
{"AND":[{"field":"timestamp","op":"between","value":["2024-06-06 09:31:00","2024-06-06 09:36:00"]},{"field":"status","op":"eq","value":301}]}
if set to true the request will return rendered SQL without running it, for debug purposes
true | false
if set to true the query will be saved in the query history
true | false
Database to get data from
bigquery
Possible values: syntax of query
json
GET /api/v4.0/data/logs HTTP/1.1
Host:
Accept: */*
{
"data": {
"results": [],
"statistics": {}
},
"status": 1
}
Retrieve traffic data using 'filters' parameter, explained at https://gb.docs.reblaze.com/reference-information/api/api-access-to-traffic-data
100
0
Filters for request in format selected below (JSON or query string)
{"AND":[{"field":"timestamp","op":"between","value":["2024-06-06 09:31:00","2024-06-06 09:36:00"]},{"field":"status","op":"eq","value":301}]}
if set to true the request will return rendered SQL without running it, for debug purposes
true | false
Database to get data from
bigquery
Possible values: syntax of query
json
GET /api/v4.0/data/logs HTTP/1.1
Host:
Accept: */*
{
"data": {
"results": [],
"statistics": {}
},
"status": 1
}
Database to get data from
bigquery
Possible values: syntax of query
json
PARAMETERS /api/v4.0/data/logs HTTP/1.1
Host:
Accept: */*
Get quarantined list
Database to get data from
mongodb
Possible values: Syntax of query
string_query
Possible values: GET /api/v4.0/data/quarantined HTTP/1.1
Host:
provider: mongodb
syntax: string_query
Accept: */*
{
"data": {
"results": [],
"statistics": {}
},
"status": 1
}
Delete record(s) from quarantined list
Database to get data from
mongodb
Possible values: Syntax of query
json
Possible values: DELETE /api/v4.0/data/quarantined HTTP/1.1
Host:
provider: mongodb
syntax: json
Content-Type: application/json
Accept: */*
Content-Length: 52
{
"config": "text",
"ids": [
"text"
],
"rule_ids": [
"text"
]
}
{
"data": {
"results": [],
"statistics": {}
},
"status": 1
}
Get stats (time_period, counter, hostname, bandwidth, latency) using 'filters' parameter, explained at https://gb.docs.reblaze.com/reference-information/api/api-access-to-traffic-data
Filters for request in format selected below (JSON or query string)
{"AND":[{"field":"timestamp","op":"between","value":["2024-06-06 09:31:00","2024-06-06 09:36:00"]},{"field":"status","op":"eq","value":301}]}
if set to true the request will return rendered SQL without running it, for debug purposes
true | false
Database to get data from
bigquery
Possible values: syntax of query
json
Possible values: GET /api/v4.0/data/stats HTTP/1.1
Host:
Accept: */*
{
"data": {
"results": [],
"statistics": {}
},
"status": 1
}
Database to get data from
bigquery
Possible values: PARAMETERS /api/v4.0/data/stats HTTP/1.1
Host:
Accept: */*
Get timeline (time_period, sessions, remote_addr, all_hits, blocked, origin_blocked, challenge, is_human, statuses stats, origin statuses stats, bytes_sent) using 'filters' parameter, explained at https://gb.docs.reblaze.com/reference-information/api/api-access-to-traffic-data
Filters for request in format selected below (JSON or query string)
{"AND":[{"field":"timestamp","op":"between","value":["2024-06-06 09:31:00","2024-06-06 09:36:00"]},{"field":"status","op":"eq","value":301}]}
if set to true the request will return rendered SQL without running it, for debug purposes
true | false
Database to get data from
bigquery
Possible values: syntax of query
json
GET /api/v4.0/data/timeline HTTP/1.1
Host:
Accept: */*
{
"data": {
"results": [],
"statistics": {}
},
"status": 1
}
Database to get data from
bigquery
Possible values: syntax of query
json
PARAMETERS /api/v4.0/data/timeline HTTP/1.1
Host:
Accept: */*
Convert a query string (as used in the UI Dashboard and Events Log) into JSON format.
POST /api/v4.0/data/timeline/parse HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 16
{
"query": "text"
}
{}
Get topx stats using 'filters' parameter, explained at https://gb.docs.reblaze.com/reference-information/api/api-access-to-traffic-data
Filters for request in format selected below (JSON or query string)
{"AND":[{"field":"timestamp","op":"between","value":["2024-06-06 09:31:00","2024-06-06 09:36:00"]},{"field":"status","op":"eq","value":301}]}
if set to true the request will return rendered SQL without running it, for debug purposes
true | false
Database to get data from
bigquery
Possible values: syntax of query
json
Possible values: GET /api/v4.0/data/topx HTTP/1.1
Host:
Accept: */*
{
"data": {
"results": [],
"statistics": {}
},
"status": 1
}
Database to get data from
bigquery
Possible values: PARAMETERS /api/v4.0/data/topx HTTP/1.1
Host:
Accept: */*
Last updated
Was this helpful?