The web server's log of requests to a team's websites, newest first, filtered like the traffic figures.
API key access: read.
apiKeyAuthorizationBearer <pyo_…>An API key from the dashboard's API keys page: Authorization: Bearer pyo_…. Keys can expire, and an expired one gets a 401.
team*stringThe team's id.
project?stringOnly this project's sites: its id, or "all".
site?stringOnly this domain: its id, or "all".
service?stringOnly this service's domains: its id.
range?string"1h", "24h" (the default), "7d" or "30d".
before?integerOnly requests before this time, in milliseconds: for the next page.
int64limit?integerAt most this many, 1 to 500 (100 by default).
int320 <= valuestatus?stringOnly one class of status: "1xx" to "5xx".
method?stringOnly this method, such as "POST".
q?stringOnly requests whose URL or host contains this (any case).
logs (newest first: time, method, host, path, status, duration, size, country, device and address as the IP setting allows), next (the before for the next page, or null), ipMode, and on the first page a summary of the filtered requests.
application/jsoncurl -X GET 'https://your-pyo.example.com/api/v1/access-logs?team=string'{}