cURL
curl --request POST \ --url https://connvo-dev.convex.cloud/api/run/matching/index/optimizeMatchingWeights \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "args": { "minSamples": 123 } } '
{ "status": "success", "errorMessage": "<string>", "errorData": {}, "value": { "improvement": 123, "optimizedWeights": { "experienceGap": 123, "industryMatch": 123, "interestOverlap": 123, "languageOverlap": 123, "orgConstraintMatch": 123, "roleComplementarity": 123, "timezoneCompatibility": 123, "vectorSimilarity": 123 }, "sampleSize": 123 } }
Calls a action at the path matching/index.js:optimizeMatchingWeights
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