Event Ingestion
Ingest events to Togai in batch
Changed onThis 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
- Base URLhttps://api.togai.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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.
Example response
{
"success": true
}Changes
- info
the
///request property's maxLength was increased from50to200
- info
- warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
the request property
//became optional - info
the response property
became required for the status
- warning