Rensei docs
API ReferenceTelemetry

Ingest a batch of iOS MetricKit telemetry payloads for the authenticated user.

Stores 1-8 raw MXMetricPayload/MXDiagnosticPayload jsonRepresentation() objects, attributed to the authenticated user. Delivery is at-least-once: redelivered payloads are deduped server-side by sha256(payload), so clients should treat a 200 as safe to clear their local spool. A credential with no user identity is rejected with 403. Crashes remain Sentry-authoritative; MXCrashDiagnostic payloads are stored as redundancy only. Rows are retained for 90 days.

POST
/api/telemetry/ios

Authorization

headerAuthorizationBearer <rsk_live_*>

Rensei API key presented as Authorization: Bearer rsk_live_. Required API-key scopes are recorded per operation in x-rensei-required-scopes.

Request Body

application/json
  1. body
payloads*array<>
Items1 <= items <= 8

Response Body

Batch ingested.

application/json
  1. response
accepted*number
duplicates*number
Example Request
curl -X POST 'https://app.rensei.ai/api/telemetry/ios' \  -H 'Content-Type: application/json' \  -d '{  "payloads": [    {      "kind": "metric",      "payload": {        "property1": null,        "property2": null      },      "appVersion": "string",      "osVersion": "string",      "bundleId": "string"    }  ]}'
Example Response
{  "accepted": 0,  "duplicates": 0}