---
title: "Get content"
method: GET
path: "/contents/{id}"
tags: ["content"]
---

# Get content

`GET /contents/{id}`

Get through indexed content.

Required roles: All, App

## Path parameters

- `id` string, uuid, required

## Query parameters

- `authz_policy` string
- `principal_id` string

## Response `200`

Successful get content

- Content
  - `id` string, required — Content ID
  - `text` string, required — Content chunk from the source
  - `url` string, required — Source URL of the content
  - `title` string, required — Title of the content or document
  - `timestamp` integer, required — Unix timestamp when the content was indexed
  - `file_type` 'html' | 'pdf' | 'ppt' | 'pptx' | 'pptm' | 'doc' | 'docx' | 'docm' | 'xls' | 'xlsx' | 'xlsm' | 'md' | 'txt' | 'jsonl' | 'png' | 'jpg' | 'webp' | 'heic' | 'heif' | 'wav' | 'mp3' | 'aiff' | 'aac' | 'm4a' | 'ogg' | 'flac' | 'mp4' | 'mpg' | 'mov' | 'avi' | 'flv' | 'webm' | 'wmv' | '3gp' | 'notion_page', required — The type of the source file
  - `page_number` integer, required — Page number for paginated documents like PDFs. Set to 0 for sources without page numbers
  - `source_type` 'crawl' | 'local_file' | 'google_drive' | 'github' | 'notion', required — The type of the source
  - `source_id` string — Optional source ID for the original source. For crawl content, use this value with GET /sources/{source_id}/raw to download the stored crawl file content. For local_file content, use GET /sources/{source_id} for source details.
  - `keywords` string[]

## Other responses

- `400` — Bad Request - The request was malformed or invalid
- `401` — Unauthorized - Authentication failed
- `403` — Forbidden - Insufficient permissions
- `404` — Not Found - The requested content does not exist
- `429` — Too Many Requests - Rate limit exceeded
- `500` — Internal Server Error

---

[API](https://skmtc.net/qlonolink/apis/qaip-apis.md) · [All operations](https://skmtc.net/qlonolink/apis/qaip-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/qlonolink/qaip-apis/revisions/f5f5994dfe05/schema)
