---
title: "Get log by request ID"
method: GET
path: "/logs/{request_id}"
---

# Get log by request ID

`GET /logs/{request_id}`

## Path parameters

- `request_id` string, required

## Response `200`

Returns a specific log entry by its request ID

- Log
  - `success` boolean
  - `log` LogObject
    - `id` integer
    - `duration` integer
    - `executed` integer
    - `credits` integer
    - `sandbox` boolean
    - `filesize` integer
    - `error` string
    - `code` integer
    - `user_agent` string
    - `request_id` string
    - `query` string

## Other responses

- `401` — Unauthorized. Invalid auth key, missing, or disabled.
- `429` — Too Many Requests. You have been rate limited.
- `500` — Internal Server Error.

---

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