v36

latestOpenAPI 3.1.0raw.githubusercontent.com2025-10-091882241.2 MB
sources

List Source Passages

List all passages associated with a data source.

get/v1/sources/{source_id}/passages

Path parameters

source_idstring required

Query parameters

afterstring nullable

Message after which to retrieve the returned messages.

Message after which to retrieve the returned messages.

beforestring nullable

Message before which to retrieve the returned messages.

Message before which to retrieve the returned messages.

limitinteger

Maximum number of messages to retrieve.

Maximum number of messages to retrieve.

Response

Successful Response

created_by_idstring nullable

The id of the user that made this object.

last_updated_by_idstring nullable

The id of the user that made this object.

created_atstring date-time

The creation date of the passage.

updated_atstring date-time nullable

The timestamp when the object was last updated.

is_deletedboolean

Whether this passage is deleted or not.

archive_idstring nullable

The unique identifier of the archive containing this passage.

source_idstring nullable

The data source of the passage.

file_idstring nullable

The unique identifier of the file associated with the passage.

file_namestring nullable

The name of the file (only for source passages).

metadataobject nullable

The metadata of the passage.

tagsstring[] nullable

Tags associated with this passage.

idstring

The human-friendly ID of the Passage

textstring required

The text of the passage.

embeddingnumber[] nullable required

The embedding of the passage.

Example response

[
  {
    "id": "passage-123e4567-e89b-12d3-a456-426614174000"
  }
]