cURL
curl --request POST \ --url https://connvo-dev.convex.cloud/api/run/embeddings/index/vectorSimilaritySearch \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "args": { "queryVector": "<string>", "limit": 123, "model": "<string>", "sourceTypes": [ "user" ], "threshold": 123 } } '
{ "status": "success", "errorMessage": "<string>", "errorData": {}, "value": [ { "embedding": { "_creationTime": 123, "_id": "<string>", "createdAt": 123, "dimensions": 123, "metadata": {}, "model": "<string>", "sourceId": "<string>", "sourceType": "user", "vector": "<string>", "version": "<string>" }, "score": 123, "sourceData": "<unknown>" } ] }
Calls a query at the path embeddings/index.js:vectorSimilaritySearch
Standard user authentication token issued via WorkOS. Provide as Authorization: Bearer <user-token>.
Authorization: Bearer <user-token>
Show child attributes
Convex executed your request and returned a result
success
error