---
title: "Get a single proxy log by ID"
method: GET
path: "/proxy-logs/{id}"
tags: ["Proxy Logs"]
---

# Get a single proxy log by ID

`GET /proxy-logs/{id}`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/proxy-logs/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` integer, required

## Query parameters

- `project_id` integer, nullable
- `timestamp` string, date-time, nullable

## Response `200`

Proxy log found

- ProxyLogResponse: Response model for proxy logs
  - `bot_name` string, nullable
  - `browser` string, nullable
  - `browser_version` string, nullable
  - `cache_status` string, nullable
  - `client_ip` string, nullable
  - `container_id` string, nullable
  - `deployment_id` integer, nullable
  - `device_type` string, nullable
  - `environment_id` integer, nullable
  - `error_message` string, nullable
  - `host` string, required
  - `id` integer, required
  - `ip_geolocation_id` integer, nullable
  - `is_bot` boolean, nullable
  - `is_system_request` boolean, required
  - `ja4` string, nullable: The client's JA4 TLS fingerprint, when its source gives one.
  - `ja4_source` string, nullable: Where the JA4 came from: `direct`, `cloudflare`, `bunny`, `local` or `edge`.
  - `method` string, required
  - `operating_system` string, nullable
  - `path` string, required
  - `project_id` integer, nullable
  - `query_string` string, nullable
  - `referrer` string, nullable
  - `request_headers` object, nullable: Inbound request headers, credential values already replaced with `[REDACTED]` at ingest (see [`crate::redaction`]). `None` when the entry predates header capture or was written by a path that doesn't record them; an empty map means "captured, but no headers", which is different and worth being able to tell apart. A `BTreeMap` rather than a raw `serde_json::Value` so the schema stays typed and the UI gets a stable alphabetical ordering for free.
  - `request_id` string, required
  - `request_size_bytes` integer, nullable
  - `request_source` string, required
  - `response_headers` object, nullable: Upstream response headers, redacted on the same terms as [`Self::request_headers`].
  - `response_size_bytes` integer, nullable
  - `response_time_ms` integer, nullable
  - `routing_status` string, required
  - `session_id` integer, nullable
  - `shield_reasons` string[], required: The lists that hold the client, and the range on each.
  - `shield_verdict` string, nullable: What Shield would have done with the request: `log`, `challenge` or `block`. `None` when no reputation list holds the client.
  - `status_code` integer, required
  - `timestamp` string, required
  - `upstream_host` string, nullable
  - `user_agent` string, nullable
  - `visitor_id` integer, nullable

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `404`: Proxy log not found
- `500`: Internal server error

## Changes

- **2026-11-09** `12896146b193`: 4 breaking
  - removed the required property `extensions` from the response with the `401` status
  - removed the required property `extensions` from the response with the `403` status
  - removed the required property `extensions` from the response with the `404` status
  - removed the required property `extensions` from the response with the `500` status
- **2026-10-26** `cddadf038293`: 4 info
  - added the optional property `ja4` to the response with the `200` status
  - added the optional property `ja4_source` to the response with the `200` status
  - added the optional property `shield_verdict` to the response with the `200` status
  - added the required property `shield_reasons` to the response with the `200` status
- **2026-10-26** `198448ae2ca3`: 1 breaking, 1 warning
  - removed the required property `shield_reasons` from the response with the `200` status
  - removed the optional property `shield_verdict` from the response with the `200` status
- **2026-10-26** `c62ae50cd5db`: 2 info
  - added the optional property `shield_verdict` to the response with the `200` status
  - added the required property `shield_reasons` to the response with the `200` status
- …earlier changes not shown

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/proxy-logs/:id/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
