The API Log Object

Each API Log object contains the following fields:

Attributes

requestMethod

(string)

The HTTP method used for the request.

requestUrl

(string)

The URL of the request.

requestBody

(object) nullable

The body of the request.

responseBody

(object) nullable

The body of the response.

responseCode

(number)

The HTTP status code of the response.

status

(string)

The status of the request (success or error).

duration

(number)

The duration of the request in milliseconds.

createdAt

(Date)

The date and time the request was created.

Example API Log Object

1 2 3 4 5 6 7 8 9 10 11 12 13 14 { "requestMethod": "GET", "requestUrl": "https://api.trade-pump.fun/api/v1", "requestBody": null, "responseBody": { "result":{ "access":"granted" } }, "responseCode": 200, "status": "success", "duration": 100, "createdAt": "2021-01-01T00:00:00.000Z" }