---
title: "Get render log"
method: GET
path: "/v2/organizations/{organizationId}/logs/{logId}"
tags: ["Render logs"]
---

# Get render log

`GET /v2/organizations/{organizationId}/logs/{logId}`

## Request

- Base URL: `https://api.pdfs.build`
- URL: `https://api.pdfs.build/v2/organizations/{organizationId}/logs/{logId}`
- Auth: HTTP bearer

One render event, including the `requestPayload` that was rendered.

## Response `200`

The log entry.

- RenderLogDetail
  - `id` string, required
  - `templateInternalId` string, required
  - `templateExternalId` string, nullable, required: The external id at render time; renames do not rewrite it.
  - `templateName` string, nullable
  - `source` string, required: `api`, `ui`, `mcp`, or another in-app source.
  - `status` 'pending' | 'success' | 'error', required
  - `errorMessage` string, nullable
  - `durationMs` integer, nullable
  - `apiKeyId` string, nullable
  - `userId` string, nullable
  - `templateUpdatedAt` string: UTC, ISO 8601 without a timezone suffix.
  - `createdAt` string, required: UTC, ISO 8601 without a timezone suffix.
  - `apiKeyName` string, nullable, required
  - `apiKeyPrefix` string, nullable, required
  - `organizationId` string, required
  - `requestPayload` object, nullable: The `data` that was rendered.

## Other responses

- `401`: Missing, invalid or expired API key.
- `403`: The organization in the URL does not match the API key's organization.
- `404`: Unknown log id.

---

[API](https://skmtc.dev/pdfs/apis/pdfs-build-api.md) · [All operations](https://skmtc.dev/pdfs/apis/pdfs-build-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pdfs/apis/pdfs-build-api/revisions/1c7340b9521d?raw)
