Skip to main content
POST
/
api
/
run
/
matching
/
index
/
getGlobalMatchingAnalytics
getGlobalMatchingAnalytics
curl --request POST \
  --url https://connvo-dev.convex.cloud/api/run/matching/index/getGlobalMatchingAnalytics \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "args": {
    "timeRange": 123
  }
}'
{
  "status": "success",
  "errorMessage": "<string>",
  "errorData": {},
  "value": {
    "averageScore": 123,
    "featureImportance": [
      {
        "averageScore": 123,
        "correlation": 123,
        "feature": "<string>"
      }
    ],
    "matchingTrends": [
      {
        "averageScore": 123,
        "date": "<string>",
        "matchCount": 123
      }
    ],
    "outcomeDistribution": {
      "accepted": 123,
      "completed": 123,
      "declined": 123
    },
    "totalMatches": 123
  }
}

Authorizations

Authorization
string
header
required

Standard user authentication token issued via WorkOS. Provide as Authorization: Bearer <user-token>.

Body

application/json
args
object
required

Response

Convex executed your request and returned a result

status
enum<string>
required
Available options:
success,
error
errorMessage
string
errorData
object
value
object