## Ingest `v1.usage.ingest(**kwargs) -> void` **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](https://docs.metronome.com/connect-metronome/) to learn more about usage events. ### Parameters - **usage:** `Array[{ customer_id, event_type, timestamp, 2 more}]` - **customer\_id:** `String` - **event\_type:** `String` - **timestamp:** `String` RFC 3339 formatted - **transaction\_id:** `String` - **properties:** `Hash[Symbol, untyped]` ### Example ```ruby require "metronome_sdk" metronome = MetronomeSDK::Client.new(bearer_token: "My Bearer Token") result = metronome.v1.usage.ingest puts(result) ```