Skip to Content
ReferenceAPI referenceGeo Events

List the values the geo event filters accept

GET
/api/v1/geo-events/facets

Returns every country, city, server and ASN in the stored data, to fill filter dropdowns. It takes no time range, and the values outlast the raw retention.

Authorization

cookiesession<token>

Session cookie authentication.

Response Body

Request fulfilled, document follows

application/json
  1. response

The values the geo event filters accept, as found in the stored data.

asns*array<>

Sorted by organization, with the ones that have none last.

cities*array<string>

Sorted by name.

countries*array<>

Sorted by name.

servers*array<string>

Sorted by name.

Example Request
curl -X GET 'https://geometrikks.example.com/api/v1/geo-events/facets'
Example Response200
{  "asns": [    {      "asn": 0,      "organization": "string"    }  ],  "cities": [    "string"  ],  "countries": [    {      "code": "string",      "name": "string"    }  ],  "servers": [    "string"  ]}