GET
/
v1
/
logs
curl --request GET \
  --url https://api.goproxy.com/go-api/v1/logs \
  --header 'apiKey: <apikey>'
{
  "logs": [
    {
      "id": "log_id_1",
      "customerId": "customer_id",
      "url": "/v1/resource",
      "method": "GET",
      "success": true,
      "requestBody": "[]",
      "response": "[]",
      "createTime": "2024-12-01 14:30:00 UTC+8"
    }
  ]
}

Headers

apiKey
string
required

API key used for authentication.

Query Parameters

startTime
string

Start time for the logs in yyyy-MM-dd HH:mm:ss format. Please ensure that this time is converted to the UTC+8 timezone. If omitted or left blank, the earliest logs will be returned.

endTime
string

End time for the logs in yyyy-MM-dd HH:mm:ss format. Please ensure that this time is converted to the UTC+8 timezone. If omitted or left blank, the latest available logs will be returned.

Response

200 - application/json
Successful Response
logs
object[]
required