metrics

Log metric records for a run. Retrying the same body is safe.

202 once the upload is validated and queued; its points are readable once the worker has stored them, usually within seconds.

post/api/v1/metrics

Request

  • Base URL
    https://api.primeintellect.ai
  • Auth
    HTTP bearer

Request body

run_idstring required
producerstring
recordsobject[] required

Example request

{
  "records": [
    {
      "_timestamp": 1760300000.1,
      "loss": 0.41,
      "step": 120
    }
  ]
}

Response

Successful Response

accepted_pointsinteger required
dropped_non_numericinteger

Changes