Search sources
GET
/api/v1/sources/searchCase-insensitive substring match. Newest first, paginated.
Authorizations
Section titled “Authorizations”Query Parameters
Section titled “Query Parameters”NameType
query
required
string
The search term
page
integer
Page number; 20 records per page
Responses
Section titled “Responses”200
Matching sources
Matching sources
Response body
Media typeapplication/json
object
sources
Array<object>
object
id
string
title
string
description
string | null
state
string
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
400
A required parameter is missing
A required parameter is missing
Response body
Media typeapplication/json
object
error
object
code
string
A stable machine-readable code
message
string
details
Array<string>
Present on validation errors; one entry per failed validation