Skip to main content
GET
Read recent DNS activity, newest first. Use raw=1 to see individual queries across all recorded types. To follow new queries as they arrive, stream logs. For a full export, download a CSV.
string
required
Profile ID.

Query parameters

string
Start of the time range, inclusive. For example, -6h selects the last six hours. If you log queries without domain names, use raw=1 for exact time boundaries. See Dates and time zones for supported formats.
string
Include queries earlier than this time. Use a fixed end time to page through a historical range.
string
default:"desc"
Use desc for newest first or asc for oldest first.
integer
default:"100"
Maximum entries per page, from 10 to 1000.
string
Pass the previous response’s meta.pagination.cursor to continue with the same filters and sort order.
string
Filter by the device.id in a log entry. Use __UNIDENTIFIED__ to select queries from unidentified devices.
string
Accepts one of default, error, blocked, allowed, rewritten, or relayed.
Match a case-sensitive substring of the recorded domain. For example, example matches both api.example.com and myexample.org.
string
default:"en"
Language for the display names in reasons, such as fr. Use the reason’s id to identify it across languages.
boolean
default:"false"
Set to 1 or true to see all recorded queries. The default view includes A, AAAA, HTTPS, and entries whose type was omitted for privacy. It hides background lookups such as health checks and groups repeat lookups of the same domain within five seconds, by device ID or client IP when available.

Log entries

The data array contains one object per entry. A profile’s logging settings determine which details are available. A nonempty first page in descending order also includes meta.stream.id when you omit to. Use it to stream subsequent entries. For another page of history, use the pagination cursor. When reading raw queries oldest first, set to to a fixed time in the past for a finite export. With an open-ended range, a request can return an empty page and repeat your cursor while it waits for newer entries.