Ingest
Ingest events
post/v1/ingest
Send usage events to Metronome. The body of this request is expected to be a JSON array of between 1 and 100 usage events. Compressed request bodies are supported with a Content-Encoding: gzip header. See Getting usage into Metronome to learn more about usage events.
Body Parameters
usagearray of object
optional
curl https://api.metronome.com/v1/ingest \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $METRONOME_BEARER_TOKEN"