Skip to content

List sources

GET
/api/v1/sources

Newest first. Discarded sources are never returned.

NameType
page
integer
default: 1 >= 1

Page number; 20 records per page

200

Sources

Response body
Media typeapplication/json
object
sources
Array<object>
object
id
string
title
string
description
string | null
state
string
Allowed values: new ocr_job_started ocr_job_completed ocr_job_failed ocr_data_processed embedding_complete embedding_failed

Processing state. Passages are searchable once embedding_complete.

file
object
filename
string
content_type
string
byte_size
integer
download_url
string | null format: uri

The download endpoint for this source

created_at
string format: date-time
updated_at
string format: date-time
pagination
object
current_page
integer
total_pages
integer
total_count
integer
items_per_page
integer
from
integer | null

1-based index of the first record on this page

to
integer | null

1-based index of the last record on this page