Skip to main content
GET
The API sends log entries over a text/event-stream connection. Each event has a resume position in id and one JSON object in data. Multiple entries recorded in the same millisecond can share an ID. Lines beginning with : are keepalives.
string
required
Profile ID.
string
Resume after this position. The Last-Event-ID header takes precedence over the query parameter. With neither, the stream starts from the time you connect.
string
A device ID, or __UNIDENTIFIED__ for queries from unidentified devices.
string
One of default, error, blocked, allowed, rewritten, or relayed.
Match a case-sensitive substring of the recorded domain.
string
default:"en"
Language for the display names in reasons, such as fr.
boolean
default:"false"
Use 1 or true to include individual queries across all recorded types.

Continue from recent history

  1. List logs in descending order, leaving to and cursor unset.
  2. If the list contains entries, open the stream with id set to meta.stream.id. Use the same device, status, search, and raw filters.
  3. Save the last event ID you process. Public streams close after about 55 minutes and can close earlier. Reconnect with the saved ID to receive newer entries.