Projects

Report project metrics

Creates or updates metric definitions and sets their points. Idempotent: series and breakdown points are keyed by bucket (and category), scatter points by id, so a retried report never double-counts. The whole report is validated before anything is written. Curation made in Khotan — name, order, hidden, headline — is never overwritten.

post/api/v1/projects/{projectId}/metrics

Request

  • Base URL
    https://app.khotan.com
  • URL
    https://app.khotan.com/api/v1/projects/{projectId}/metrics
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

Path parameters

projectIdstring required

Request body

Response

The metrics and point counts written.

metricsWritteninteger required
pointsWritteninteger required

Changes

No recorded changes to this operation across all 1 revision of this API.