GET
/
api-logs
curl --request GET \
  --url https://api.{gr4vy_id}.gr4vy.app/api-logs \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "8d3fe99b-1422-42e6-bbb3-932d95ae5f79",
      "request_method": "POST",
      "request_received_at": "2022-01-01T00:00:00+00:00",
      "request_url": "http://api.wpay.gr4vy.app/transactions",
      "response_body": {
        "code": "bad_request",
        "details": {
          "location": "body",
          "message": "ensure this value has at least 13 characters",
          "pointer": "/payment_method/number",
          "type": "value_error.any_str.min_length"
        },
        "message": "Request failed validation",
        "status": 400,
        "type": "error"
      },
      "response_sent_at": "2022-01-01T00:00:10+00:00",
      "response_status_code": 400,
      "type": "api-log"
    }
  ]
}

This endpoint requires the api-logs.read scope.

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json
items
object[]

A list of API log entries.