v1

latestOpenAPI 3.0.3Apache 2.02026-07-13121230447.8 KB
Event Ingestion

Ingest events to Togai in batch

This API let’s you to ingest events in batch upto 500 events. Ingest large amounts of events up to 500 in batches in an array using this API.

post/ingestBatch

Request body

Example request

{
  "events": [
    {
      "id": "c0b1306d-f506-43a6-856b-69221efaee6b",
      "timestamp": "2022-06-15T07:30:35.123",
      "attributes": [
        {
          "name": "message",
          "unit": "characters"
        }
      ]
    }
  ]
}

Response

Successfully accepted to process all the events from payload.

successboolean
statusCodeinteger
namestring
messagestring
codestring
detailsobject

Example response

{
  "success": true
}