Skip to main content
GET
List documents for a connector

Authorizations

Authorization
string
header
default:YOUR_API_TOKEN
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

data_source_id
string
required

ID of the custom API data source.

Query Parameters

fields
enum<string>[]

Comma-separated list of fields to return. If not provided, only document IDs are returned.

Available options:
id,
title,
content,
content_type,
url,
document_created_at,
document_updated_at,
meta
Example:

"id,title,content"

cursor
string

Cursor for pagination. Required for fetching results beyond the first 100 documents.

Pattern: ^\d+$
limit
number
default:20

Number of documents to return per page. Defaults to 20, maximum 100.

Required range: 1 <= x <= 100

Response

Success

documents
object[]
required
nextCursor
string