---
title: "GET /fragments"
method: GET
path: "/fragments"
---

# GET /fragments

`GET /fragments`

## Query parameters

- `documentId` number, required

## Response `200`

Successful response

- object[]
  - `id` number
  - `content` string
  - `metadata` unknown
  - `documentId` number

## Other responses

- `401` — Invalid authentication credentials.
- `408` — The server timed out waiting for the request.
- `412` — Usage has exceeded the monthly limit.
- `500` — An unspecified error occurred.

---

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