Contextual Pub/Sub

This endpoint allows subscribers to listen for data that matches specific criteria defined semantically (using natural language queries) across various indexes. It supports complex queries, including filtering and sorting, to fine-tune the data stream received.

Request Body Schema

To use this endpoint, send a POST request with a JSON payload containing the following fields:

PropertyTypeDescription

indexIds

array[indexId]

Array of indexes to be queried.

query

string

The query string or question to be answered.

filters

object

Filter object to add additional filters using metadata.

sort

string

Sorting column

page

number

Page number

skip

number

Skip offset

Endpoints

This section provides details about the available API endpoints.

Last updated