Get a mock server's call logs
GET https://api.getpostman.com/mocks/{{mockUid}}/call-logs
Gets a mock server's call logs. You can get a maximum of 6.5MB of call logs or a total of 100 call logs, whichever limit is met first in one API call. Call logs contain exchanged request and response data made to mock servers. The logs provide visibility into how the mock servers are being used. You can log data to debug, test, analyze, and more, depending upon the use case.
Body
PARAM
Key | Datatype | Required | Description |
limit
|
string | Optional. The maximum number of rows to return in the response. This value defaults to 100. | |
cursor
|
string | Optional. A pointer to the first record of the set of paginated results. To view the next response, use the "nextCursor" value for this parameter. | |
until
|
string | Optional. Return only the call logs created at and after this time, in ISO 8601 UTC format. | |
since
|
string | Optional. Return only the call logs created at and before this time, in ISO 8601 UTC format. | |
responseStatusCode
|
string | Optional. Return only the call logs that match the given HTTP response status code. | |
responseType
|
string | Optional. Return only the call logs with a matching response type. For example, "success" or "error". Matching is not case-sensitive. | |
requestMethod
|
string | Optional. Return only the call logs with a matching HTTP method. Matching is not case-sensitive. | |
|