TOOL API
query_ logs
Returns logs for a branch. Pass `limit` to cap how many. There is no `cursor` argument. Filters combine with AND. Pass `logql` instead of structured filters, not with them. Give the window as `since` or `start_time`, not both; default is the previous hour, max seven days; `end_time` is exclusive. Private beta; a branch without logs access returns HTTP 404 with reason "telemetry_not_enabled". branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
devOAuth1 credits
Call information
- Tool slug
- mcp-server-neon.query_logs
- Provider
- Neon
- Average response
- 0 ms
- Calls in 7 days
- 0
Input parameters
project_idRequired for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
branch_idrequiredstring
sincestring
start_timestring
end_timestring
limitinteger
sort_orderstring
sourcestring
service_namestring
scope_namestring
minimum_severitystring
severity_textstring
body_containsstring
trace_idstring
logqlstring