Lucius API
Metric catalog

Apply metric catalog

Appends missing catalog metrics to existing contracts. Does not rename live slugs.

POST
/v1/billing/metric-catalog/apply

Authorization

AuthorizationBearer <token>

API key as Bearer token: Authorization: Bearer luc_live_.... Create keys in the dashboard under Settings > API Keys.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/billing/metric-catalog/apply" \  -H "Content-Type: application/json" \  -d '{}'
{  "object": "metric_catalog_apply",  "contracts": 0,  "updated": 0,  "added": 0}

{  "error": "Missing API key"}