The recent output of each of its parts, oldest first: at, level,
source (the instance), role ("primary", "replica", "read",
"pooler", "read-pooler", "sentinel", "proxy" (KV's endpoint) or "other"), message, and
raw for structured lines. events: what happened to it, newest first.
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.
id*stringThe database's id.
range?string"live" (the default: the last lines), "15m", "1h", "6h" or "24h".
logs, events and fetchedAt.
application/jsoncurl -X GET 'https://your-pyo.example.com/api/v1/databases/string/logs'{}