Data queries
Retrieve traffic data using 'filters' parameter, explained at https://gb.docs.reblaze.com/reference-information/api/api-access-to-traffic-data
1000Filters 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 | falseif set to true the query will be saved in the query history
true | falseDatabase to get data from
bigqueryPossible values: syntax of query
jsonLogs has been received successfully
Misconfigured request
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
1000Filters 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 | falseDatabase to get data from
bigqueryPossible values: syntax of query
jsonLogs has been received successfully
Misconfigured request
GET /api/v4.0/data/logs HTTP/1.1
Host: 
Accept: */*
{
  "data": {
    "results": [],
    "statistics": {}
  },
  "status": 1
}Database to get data from
bigqueryPossible values: syntax of query
jsonPARAMETERS /api/v4.0/data/logs HTTP/1.1
Host: 
Accept: */*
Get quarantined list
Database to get data from
mongodbPossible values: Syntax of query
string_queryPossible values: Query for quarantined has been run successfully
Misconfigured request
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
mongodbPossible values: Syntax of query
jsonPossible values: Record(s) was/were successfully deleted
Misconfigured request
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 | falseDatabase to get data from
bigqueryPossible values: syntax of query
jsonPossible values: Stats has been received successfully
Misconfigured request
GET /api/v4.0/data/stats HTTP/1.1
Host: 
Accept: */*
{
  "data": {
    "results": [],
    "statistics": {}
  },
  "status": 1
}Database to get data from
bigqueryPossible 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 | falseDatabase to get data from
bigqueryPossible values: syntax of query
jsonTimeline has been received successfully
Misconfigured request
GET /api/v4.0/data/timeline HTTP/1.1
Host: 
Accept: */*
{
  "data": {
    "results": [],
    "statistics": {}
  },
  "status": 1
}Database to get data from
bigqueryPossible values: syntax of query
jsonPARAMETERS /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.
Filter string has been converted successfully
Misconfigured request
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 | falseDatabase to get data from
bigqueryPossible values: syntax of query
jsonPossible values: Topx has been received successfully
Misconfigured request
GET /api/v4.0/data/topx HTTP/1.1
Host: 
Accept: */*
{
  "data": {
    "results": [],
    "statistics": {}
  },
  "status": 1
}Database to get data from
bigqueryPossible values: PARAMETERS /api/v4.0/data/topx HTTP/1.1
Host: 
Accept: */*
Last updated
Was this helpful?
