v1

latestOpenAPI 3.1.02026-07-1371926.0 KB
Request logs

Get Request Details

Get detailed information about a specific request, including headers, body, application logs, and spans.

get/v1/apps/{app_id}/request-logs/{request_uuid}

Path parameters

app_idinteger required

App ID

App ID

request_uuidstring uuid required

Request UUID

Request UUID

Response

Successful Response

timestampstring date-time required

Timestamp of the request

request_uuidstring uuid required

Unique identifier for the request

envstring required

Environment

consumerstring nullable required

Consumer identifier

methodstring required

HTTP method

pathstring nullable required

Request path

urlstring required

Request URL

status_codeinteger required

HTTP response status code

request_size_bytesinteger required

Size of the request in bytes

response_size_bytesinteger required

Size of the response in bytes

response_time_msinteger required

Response time in milliseconds

client_ipstring nullable required

Client IP address

client_country_iso_codestring nullable required

ISO code of the client's country based on the IP address

request_body_jsonstring nullable required

Request body as a JSON string, if applicable

response_body_jsonstring nullable required

Response body as a JSON string, if applicable

trace_idstring nullable required

Trace ID as a 32-character hex string

Example response

{
  "env": "prod",
  "consumer": "user-123",
  "method": "GET",
  "path": "/v1/users/{user_id}",
  "url": "https://api.example.com/v1/users/1",
  "status_code": 200,
  "client_ip": "203.45.123.67",
  "client_country_iso_code": "US",
  "exception": {
    "type": "KeyError"
  },
  "logs": [
    {
      "level": "INFO"
    }
  ],
  "spans": [
    {
      "kind": "CLIENT",
      "status": "OK"
    }
  ]
}