List request logs
Your recent /v1 calls, newest first, kept 30 days: method, route template, status, duration, error code, idempotency key and the Myela-Request-Id we returned. Never bodies, headers or query values. status takes 2xx, 4xx, 5xx or an exact code. Cursor-paginated. Keys issued before this route existed need requestLogs.list granted, so it is kept out of the downloadable collection.
Response contract
The successful wire shape and errors an integration should branch on.
List of request log objects
application/jsonidstringrequired- Unique log entry identifier.
object"request_log"required- Stable resource discriminator.
apiKeyIdstring | nullrequired- The key that made the call; null once that key is deleted.
methodstringrequired- HTTP method.
routeTemplatestringrequired- The route pattern the call matched, never the URL as sent.
statusintegerrequired- HTTP status we answered.
durationMsintegerrequired- Time to answer, in milliseconds.
requestIdstringrequired- The Myela-Request-Id header we returned. Quote it to support.
idempotencyKeystring | nullrequired- The Idempotency-Key you sent, if any.
errorCodestring | nullrequired- The error.code we returned on a 4xx or 5xx.
createdAtstringrequired- ISO 8601 time of the call.
Example response
{
"object": "list",
"data": [
{
"id": "cm4log01jexample",
"object": "request_log",
"apiKeyId": "cm4key01jexample",
"method": "POST",
"routeTemplate": "/v1/payments/:id/refund",
"status": 422,
"durationMs": 41,
"requestId": "req_0123456789abcdef01234567",
"idempotencyKey": "order-77",
"errorCode": "invalid_request",
"createdAt": "2026-08-10T20:49:51.653Z"
}
],
"hasMore": false
}Error responses
authentication_failedThe key is missing, malformed, revoked, or invalid for this environment.
permission_deniedThe key does not have requestLogs.list.
invalid_requestOne or more request fields are invalid.