Interface ListSourceContentsOptions

interface ListSourceContentsOptions {
    contentVersionIds?: string[];
    limit?: number;
    order?: "asc" | "desc";
    page?: number;
    sort?: string;
    status?: string;
}

Hierarchy (View Summary)

Properties

contentVersionIds?: string[]

Keep only these items — the content_version_id values the upload methods return. Keep it to about 100: the ids travel in the query string, and a URL over 8,192 bytes is rejected with a 414. The API itself accepts at most 500.

limit?: number

Items per page.

order?: "asc" | "desc"

Sort order.

page?: number

Page number (1-indexed).

sort?: string

Field to sort by (e.g. "created_at").

status?: string

Keep only one status: pending, fetching, transcribing, scanning, indexing, completed or failed.