API ReferenceapianalyticsPOST /v1/admin/cohorts/ml-analysis

POST /v1/admin/cohorts/ml-analysis

Service: analytics · operationId: (none)

Run weekly ML-driven cohort analysis and update prediction scores

Required scopes

(no scope declared — review service config)

Responses

200 ML analysis completed

{
  "type": "object",
  "properties": {
    "cohorts_analyzed": {
      "type": "number"
    },
    "models_updated": {
      "type": "number"
    }
  },
  "required": [
    "cohorts_analyzed",
    "models_updated"
  ]
}

Example

curl -X POST https://analytics.platform.loop.health/v1/admin/cohorts/ml-analysis \
  -H "Authorization: Bearer $ACCESS_TOKEN"