---
title: "Get Request Details"
method: GET
path: "/v1/apps/{app_id}/request-logs/{request_uuid}"
tags: ["Request logs"]
---

# Get Request Details

`GET /v1/apps/{app_id}/request-logs/{request_uuid}`

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

## Path parameters

- `app_id` integer, required — App ID
- `request_uuid` string, uuid, required — Request UUID

## Response `200`

Successful Response

- GetRequestDetailsResponse
  - `timestamp` string, date-time, required — Timestamp of the request
  - `request_uuid` string, uuid, required — Unique identifier for the request
  - `env` string, required — Environment
  - `consumer` string, nullable, required — Consumer identifier
  - `method` string, required — HTTP method
  - `path` string, nullable, required — Request path
  - `url` string, required — Request URL
  - `status_code` integer, required — HTTP response status code
  - `request_size_bytes` integer, required — Size of the request in bytes
  - `response_size_bytes` integer, required — Size of the response in bytes
  - `response_time_ms` integer, required — Response time in milliseconds
  - `client_ip` string, nullable, required — Client IP address
  - `client_country_iso_code` string, nullable, required — ISO code of the client's country based on the IP address
  - `request_headers` array[], required — Request headers as name-value pairs
    - unknown[]
      - unknown
  - `response_headers` array[], required — Response headers as name-value pairs
    - unknown[]
      - unknown
  - `request_body_json` string, nullable, required — Request body as a JSON string, if applicable
  - `response_body_json` string, nullable, required — Response body as a JSON string, if applicable
  - `trace_id` string, nullable, required — Trace ID as a 32-character hex string
  - `exception` ExceptionItem, required
    - `type` string, nullable, required — Exception type
    - `message` string, nullable, required — Exception message
    - `stacktrace` string, nullable, required — Exception stacktrace
    - `sentry_event_id` string, nullable, required — Sentry event ID, if captured
  - `logs` ApplicationLogItem[], required — Application log entries associated with this request
    - `timestamp` string, date-time, required — Timestamp of the log entry
    - `message` string, required — Log message
    - `level` string, nullable, required — Log level
    - `logger` string, nullable, required — Logger name
    - `file` string, nullable, required — Source file name
    - `line` integer, nullable, required — Source file line number
  - `spans` SpanItem[], required — Spans associated with this request
    - `span_id` string, required — Span ID as a hex string
    - `parent_span_id` string, nullable, required — Parent span ID as a hex string
    - `name` string, required — Span name
    - `kind` string, required — Span kind
    - `start_time_ns` integer, required — Start time as Unix timestamp in nanoseconds
    - `end_time_ns` integer, required — End time as Unix timestamp in nanoseconds
    - `duration_ns` integer, required — Duration in nanoseconds
    - `status` string, required — Span status
    - `attributes` object, required — Span attributes

## Other responses

- `404` — App or request log not found
- `422` — Validation Error

---

[API](https://skmtc.dev/apitally/apis/apitally-api.md) · [All operations](https://skmtc.dev/apitally/apis/apitally-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/apitally/apitally-api/revisions/a0f67af14cc3/schema)
