Documents
Store, retrieve, search, and manage the structured data used by your agents and workflows.
This reference covers a selected set of supported Document operations. Additional platform capabilities may not be available through the public API.
Create Document
Create a new document and configure metadata and properties.
Authorizations
API key authentication
Request Body
Unique identifier for the document
The main data of the document, can be any type (string, object, array, etc.)
Additional metadata for the document
Current status of the document
"active""draft""archived""active"Whether to create a vector embedding for the document
Responses
Document created successfully
Success message
Operation status
/documentPlayground
Base URL
Authorization
Request body
Send a request to see the response here.
Get Document by ID
Retrieve a document by its unique ID.
Authorizations
API key authentication
Parameters
Path Parameters
Unique ID of the document
Responses
Document details
Operation status
/document/{id}Playground
Base URL
Authorization
Variables
Send a request to see the response here.
Update Document
Modify an existing document's data and properties by its unique ID.
Authorizations
API key authentication
Parameters
Path Parameters
Unique ID of the document to update
Request Body
The main data of the document, can be any type (string, object, array, etc.)
Additional metadata for the document
Updated status of the document
"active""draft""archived"Responses
Document updated successfully
Success message
Operation status
/document/{id}Playground
Base URL
Authorization
Variables
Request body
Send a request to see the response here.
Delete Document
Remove an existing document by its unique ID.
Authorizations
API key authentication
Parameters
Path Parameters
Unique ID of the document to delete
Responses
Document deleted successfully
Success message
Operation status
/document/{id}Playground
Base URL
Authorization
Variables
Send a request to see the response here.
Search Documents
Search for documents using sort, filter and pagination.
Authorizations
API key authentication
Request Body
Filter criteria for the search
{}Sorting instructions (field name and direction)
"_id"-1Page number for pagination
1Number of results per page
10Responses
Search results
Array of matching documents
Total number of matching documents
Operation status
/document/searchPlayground
Base URL
Authorization
Request body
Send a request to see the response here.

