query_logs
Fetch matching log entries for a project, newest first, to inspect specific errors or recent activity. Filter by text, level, source, and time range to get actual log lines.
Instructions
Fetch matching log entries for this project, newest first. Use to inspect specific errors or recent activity. Call this when you need the actual log lines.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Case-insensitive substring match on the message. | |
| level | No | Filter by severity level. | |
| limit | No | Max rows to return (default 50, max 200). | |
| source | No | Filter by source, e.g. 'backend' or 'browser'. | |
| minutes | No | Only entries from the last N minutes. | |
| before_iso | No | Only entries before this ISO timestamp (cursor pagination). | |
| project_id | Yes | The project to query. Call list_projects first to see which ids you can use. |