postman-mcp-server

get_mock_call_logs

Retrieve mock call logs based on filters like mock server ID, request method, path, and response status. Supports pagination, sorting, and timestamp filtering for efficient log management.

Instructions

Get mock call logs. Maximum 6.5MB or 100 call logs per API call. Retention period based on Postman plan.

Input Schema

NameRequiredDescriptionDefault
cursorNoPagination cursor
directionNoSort direction
includeNoInclude additional data (request.headers, request.body, response.headers, response.body)
limitNoMaximum number of logs to return (default: 100)
mockIdYesThe mock server ID
requestMethodNoFilter by request method
requestPathNoFilter by request path
responseStatusCodeNoFilter by response status code
responseTypeNoFilter by response type
sinceNoReturn logs since this timestamp
sortNoSort field
untilNoReturn logs until this timestamp

Input Schema (JSON Schema)

{ "properties": { "cursor": { "description": "Pagination cursor", "type": "string" }, "direction": { "description": "Sort direction", "enum": [ "asc", "desc" ], "type": "string" }, "include": { "description": "Include additional data (request.headers, request.body, response.headers, response.body)", "type": "string" }, "limit": { "description": "Maximum number of logs to return (default: 100)", "type": "number" }, "mockId": { "description": "The mock server ID", "type": "string" }, "requestMethod": { "description": "Filter by request method", "type": "string" }, "requestPath": { "description": "Filter by request path", "type": "string" }, "responseStatusCode": { "description": "Filter by response status code", "type": "number" }, "responseType": { "description": "Filter by response type", "type": "string" }, "since": { "description": "Return logs since this timestamp", "type": "string" }, "sort": { "description": "Sort field", "enum": [ "servedAt" ], "type": "string" }, "until": { "description": "Return logs until this timestamp", "type": "string" } }, "required": [ "mockId" ], "type": "object" }

You must be authenticated.

Other Tools from postman-mcp-server

Related Tools

ID: zoig549xfd