Event Ingestion
Ingest events to Togai
This API let’s you to ingest events to your Togai account. Events ingested using this API will be processed via associated usage meters and further via associated price plans to generate final billable value to invoice the customer Read more about Event Ingestion
POST
Documentation Index
Fetch the complete documentation index at: https://docs.togai.com/llms.txt
Use this file to discover all available pages before exploring further.
Pre-Defined event types other than raw events
- Named License Event: For ingesting named license related events.
- Schema Name: togai-named-license
- Required dimensions:
- license_id: ID of the license
- name: Unique name of the license
- Required attributes:
- action: Action performed on the license, supported values are
1or-1for add and remove respectively
- action: Action performed on the license, supported values are
- Usage Event: For ingesting usage directly to usage meters.
- Schema Name: togai-usage
- Required dimensions:
- usage_meter_id: ID of the usage meter
- Required attributes:
- usage: Usage Value
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Request body to ingest events to Togai usage and billing management service.
Payload for ingesting events
Contents of the event
