Create Passage In Archive
Create a new passage in an archive.
This adds a passage to the archive and creates embeddings for vector storage.
Authentication
AuthorizationBearer
Header authentication of the form Bearer <token>
Path Parameters
archive_id
The ID of the archive in the format ‘archive-<uuid4>’
Request
This endpoint expects an object.
text
The text content of the passage
metadata
Optional metadata for the passage
Response
Successful Response
text
The text of the passage.
embedding
The embedding of the passage.
embedding_config
The embedding configuration used by the passage.
created_by_id
The id of the user that made this object.
last_updated_by_id
The id of the user that made this object.
created_at
The creation date of the passage.
updated_at
The timestamp when the object was last updated.
is_deleted
Whether this passage is deleted or not.
archive_id
The unique identifier of the archive containing this passage.
source_id
The data source of the passage.
file_id
The unique identifier of the file associated with the passage.
file_name
The name of the file (only for source passages).
metadata
The metadata of the passage.
id
The human-friendly ID of the Passage