Vector Search
This endpoint provides a straightforward method to search for items with vector embeddings.
Body
sourcesstring[]Required
Array of source identifiers to search
vectornumber[]Optional
Vector representation for similarity search
pagenumberOptional
Page number for pagination
categoriesstring[]Optional
Array of categories to filter the search results
modelNamesstring[]Optional
Array of model names to filter the search results
Responses
200
Successful search operation
400
Invalid request parameters
500
Internal server error
post
POST /api/discovery/search HTTP/1.1
Host: dev.index.network
Content-Type: application/json
Accept: */*
Content-Length: 86
{
"sources": [
"text"
],
"vector": [
1
],
"page": 1,
"categories": [
"text"
],
"modelNames": [
"text"
]
}
No content
Last updated