---
title: "Get source details"
method: GET
path: "/sources/{source_id}"
tags: ["sources"]
---

# Get source details

`GET /sources/{source_id}`

Gets detailed information about a specific source. This endpoint currently supports local\_file source IDs. Crawl source IDs returned by /search or GET /contents/{id} are separate IDs and are not accepted here; use GET /sources/{source\_id}/raw to download the stored crawl file content.

Required scope: \`knowledge:read\`

## Path parameters

- `source_id` string, required

## Response `200`

Successful retrieval of source

- Source
  - `id` string, required — Source ID (file ID)
  - `source_group_id` string, required — Parent source group ID
  - `name` string, required — Name of the source (file name)
  - `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' — The type of the source file
  - `file_size` integer — File size in bytes
  - `metadata` Metadata
    - `records` MetadataRecord[] — List of metadata records. A patch may contain up to 40 items; the merged result is capped at 20.
      - `key` string, required — Metadata key (max 20 characters)
      - `val` unknown, required
      - `type` 'string' | 'integer' | 'float' | 'date' | 'datetime' — Data type of the metadata value

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `500` — Internal Server Error

## Changes

> 71 revisions in range; 18 not diffed.

- **2026-03-31** `756b9db55259` — 1 warning
  - added the new `datetime` enum value to the `metadata/records/items/type` response property for the response status `200`
- **2026-03-11** `0aac262d758d` — 2 breaking
  - the response property `metadata/records/items/val` became nullable for the status `200`
  - the response property `metadata/records/items/type` became optional for the status `200`
- **2026-03-10** `e65327bc7016` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/qlonolink/apis/qaip-apis/changes/sources/:source_id/get.md)

---

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