Get Request Logs
get_request_logsGet request logs from the mock server showing recent incoming requests and matched rules. Supports filtering by HTTP method, path, status code, and time range. Pass logId to get ONE log with its full request and response bodies and headers instead of the list — that is where you look when a request matched the wrong rule. Requires project context (call set_context first).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | Number of logs to skip (for pagination, default 0) | |
| take | No | Number of logs to return (default 50, max 100) | |
| logId | No | Public Id (Guid) of a single log. When given, returns that one log in full (bodies and headers) and every filter and pagination parameter is ignored. | |
| method | No | Filter by HTTP method (e.g., 'GET', 'POST') | |
| statusCode | No | Filter by response status code | |
| mockServerId | Yes | The public Id (Guid) of the mock server | |
| pathContains | No | Filter by path containing this text |