---
title: "Retrieve a raw entry part"
method: GET
path: "/search/raw/part"
tags: ["Raw Search"]
---

# Retrieve a raw entry part

`GET /search/raw/part`

Fetch the textual content for a specific raw entry block. If the block is not unlocked, the content is censored unless `auto_unlock=true` succeeds.

**Query parameters**
- `container_id`: Required container identifier.
- `entry_path`: Path of the entry inside the container.
- `seq`: Block sequence number (0-based).
- `trim_overlap`: When true, drop the overlapping prefix shared with the previous block.
- `overlap_chars`: Number of characters to trim when `trim_overlap=true` (default from configuration).
- `auto_unlock`: Attempt to unlock the block using points when necessary.

**Response**
Returns `PartResponse` describing the block and its (possibly censored) content.

## Query parameters

- `container_id` integer, required — Container identifier.
- `entry_path` string, required — Path of the entry inside the container.
- `seq` integer, required — Block sequence number (0-based).
- `trim_overlap` boolean — Drop the overlapping prefix shared with the previous block.
- `overlap_chars` integer — Characters to trim when trim_overlap=true.
- `auto_unlock` boolean — Attempt to unlock the block using points when necessary.

## Response `200`

Block returned successfully (content censored unless unlocked).

- PartResponse
  - `container_id` string, required — Identifier of the container that owns the part.
  - `entry_path` string, required — Entry path that contains the part.
  - `seq` integer, required — Sequential part number requested.
  - `offset` integer, required — Byte offset of the part inside the entry.
  - `size_bytes` integer, nullable — Size of the returned block in bytes, if available.
  - `ingested_at` string, nullable — ISO timestamp of the ingestion time for the block.
  - `trim_overlap` boolean, required — True if the overlapping prefix was trimmed from the returned content.
  - `overlap_chars` integer, required — Number of characters trimmed from the start when `trim_overlap=true`.
  - `text` string, required — Text content of the block. May be censored.
  - `censored` boolean, required — True if the user has not unlocked the content and it was redacted.

## Other responses

- `400` — Insufficient points during auto-unlock.
- `401` — Authentication required, or invalid/expired API key.
- `403` — auto_unlock requires an active raw plan, account banned, or pending email verification.
- `404` — Block not found or unavailable.
- `422` — Validation Error
- `429` — Rate limit exceeded. See Retry-After / X-RateLimit-* headers.
- `500` — Search query failed.
- `503` — Raw search under maintenance, or public API temporarily disabled.

---

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