v52

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-0393116227.2 KB
sources

Get source details

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 roles: All, App

get/sources/{source_id}

Path parameters

source_idstring required

Source ID

Response

Successful retrieval of source

idstring required

Source ID (file ID)

source_group_idstring required

Parent source group ID

namestring 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_sizeinteger

File size in bytes