Node.js
Core
Track Usage
Record usage for a feature.
POST
Node.js
Documentation Index
Fetch the complete documentation index at: https://docs.priceos.com/llms.txt
Use this file to discover all available pages before exploring further.
Headers
API key from your PriceOS dashboard.
Body
application/json
Internal customer ID. If the customer ID does not exist yet, it will be created.
Feature key to track usage for.
Usage amount to record. Defaults to 1. Supports positive or negative values.
Stable unique identifier for this event. Reuse it on retries and for deduplication.
Unix timestamp (ms) when the event occurred.
Optional metadata for the event (string key/value pairs).