Skip to main content
GET
Python

Authorizations

x-api-key
string
header
required

API key for authentication

Path Parameters

source_id
string
required

Source ID

Response

Successful retrieval of 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)

url
string

Original URL of the crawled file. Omitted when unavailable, such as for uploaded local files.

file_type
enum<string>

The type of the source file

Available options:
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
file_size
integer<int64>

File size in bytes

metadata
object