List template catalogue entries.
Returns the template catalogue, optionally filtered by tracker, author, or category, with limit/offset pagination. Human principals only: a browser session or a WorkOS user-token bearer is accepted; rsk_* API keys and BYOA OAuth-agent tokens authenticate but are rejected 403.
Rensei API key presented as Authorization: Bearer rsk_live_. Required API-key scopes are recorded per operation in x-rensei-required-scopes.
In: header
Query Parameters
Filter to templates supporting this tracker.
Filter by author (org slug).
Filter by category.
Page size (max 200, default 50).
Page offset (default 0).
Response Body
application/json
curl -X GET "https://example.com/api/templates"{
"templates": [
{
"id": "string",
"slug": "string",
"name": "string",
"description": "string",
"author": "string",
"latestVersion": "string",
"category": "string",
"createdAt": "string",
"updatedAt": "string"
}
],
"pagination": {
"limit": 0,
"offset": 0,
"returned": 0
}
}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.
Get one template catalogue entry with its version list.
Returns a single template (by slug) plus its version list (newest first). Human principals only: a browser session or a WorkOS user-token bearer is accepted; rsk_* API keys and BYOA OAuth-agent tokens authenticate but are rejected 403. Templates are tenant-private: only the authoring org or a first-party `rensei` system template is visible; any other slug returns 404 so existence is not leaked across the tenant boundary. For shared `rensei` templates, per-version publisher identity and validation reports are stripped.