List Source Passages

List all passages associated with a data source.

Path parameters

source_idstringRequired

Headers

AuthorizationstringRequired

Header authentication of the form Bearer <token>

Query parameters

afterstringOptional

Message after which to retrieve the returned messages.

beforestringOptional

Message before which to retrieve the returned messages.

limitintegerOptionalDefaults to 100

Maximum number of messages to retrieve.

Response

Successful Response

textstring

The text of the passage.

created_by_idstringOptional

The id of the user that made this object.

last_updated_by_idstringOptional

The id of the user that made this object.

created_atstringOptionalformat: "date-time"

The creation date of the passage.

updated_atstringOptionalformat: "date-time"

The timestamp when the object was last updated.

is_deletedbooleanOptionalDefaults to false

Whether this passage is deleted or not.

agent_idstringOptional

The unique identifier of the agent associated with the passage.

source_idstringOptional

The data source of the passage.

file_idstringOptional

The unique identifier of the file associated with the passage.

metadataobjectOptional

The metadata of the passage.

idstringOptionalformat: "^passage-[a-fA-F0-9]{8}"

The human-friendly ID of the Passage

embeddinglist of integersOptional

The embedding of the passage.

embedding_configobjectOptional

The embedding configuration used by the passage.