Skip to main content
Glama

get_request_logs

Retrieve and filter captured request/response logs to verify expected API calls were made to the mock server.

Instructions

Retrieve captured request/response logs. Filter by method, path, mock ID, or protocol. Use this to verify that expected API calls were made to the mock server.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum logs to return
methodNoFilter by HTTP method
mockIdNoFilter by mock ID that handled the request
offsetNoLogs to skip
pathPrefixNoFilter by path prefix
protocolNoFilter by protocol type
unmatchedOnlyNoIf true, only return unmatched requests with near-miss analysis showing which mocks almost matched and why they didn't

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/getmockd/mockd'

If you have feedback or need assistance with the MCP directory API, please join our Discord server