curl --request POST \
--url https://platform.kodexa.ai/api/embeddings/query \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"limit": 123,
"projectId": "<string>",
"query": "<string>"
}
'{}Performs a vector similarity search against the embeddings index, returning the nearest neighbors for the provided query.
curl --request POST \
--url https://platform.kodexa.ai/api/embeddings/query \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"limit": 123,
"projectId": "<string>",
"query": "<string>"
}
'{}API key for authentication. Create one from the Kodexa platform UI under Settings > Access Tokens.
Nearest neighbor results
The response is of type object.