Create Meter and Ingest Event
A 2-step recipe with Amberflo. We can help you get access.
Recipe · 2 steps
Create Meter and Ingest Event
with Amberflo
Define a meter then ingest a usage event for a customer.
- Create the meter definition so events can be aggregated against it.
- Ingest a single meter event for the customer against the new meter.
What you'll need to have ready
- apiKey: Amberflo API key supplied in the X-API-KEY header.
- meterApiName: Unique API name for the meter (e.g. "api-calls").
- displayName: Human-readable display name for the meter.
- type: Aggregation type (SUM_OF_ALL_USAGE, MAX_IN_PERIOD, UNIQUE_CUSTOMERS_COUNT).
- customerId: Customer the usage event is attributed to.
- meterValue: The usage amount for the ingested event.
- meterTimeInMillis: Event timestamp in Unix milliseconds.
- uniqueId: Optional idempotency identifier for the event.
For your developer
Arazzo workflow amberflo:create-meter-and-ingest-event, 2 operations: createMeterDefinition → ingestMeterEvents. Specs on APIs.io.