Bulk ingest events
Use when batching usage events (e.g. backfill or high-volume ingestion). More efficient than single event calls; returns 202 when accepted.
Request body
Example request
{
"events": [
{
"customer_id": "customer456",
"event_id": "event123",
"event_name": "api_request",
"external_customer_id": "customer456",
"properties": {
"\"response_status\"": "200}",
"{\"request_size\"": "100"
},
"source": "api",
"timestamp": "2024-03-20T15:04:05Z"
}
]
}Response
message:Event accepted for processing
Changes
Changed in 2 of the 12 revisions of this API.88
- ●
removed the optional property
detailsfrom the response with the400statusresponse-optional-property-removed
- ●
removed the optional property
detailsfrom the response with the500statusresponse-optional-property-removed
- ●
added the new
too_many_requestsenum value to thecoderesponse property for the response status400response-property-enum-value-added
- ●
added the new
too_many_requestsenum value to thecoderesponse property for the response status500response-property-enum-value-added
This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ●
removed the optional property
errorfrom the response with the400statusresponse-optional-property-removed
- ●
removed the optional property
errorfrom the response with the500statusresponse-optional-property-removed
- ●
removed the optional property
successfrom the response with the400statusresponse-optional-property-removed
- ●
removed the optional property
successfrom the response with the500statusresponse-optional-property-removed
- ○
added the optional property
codeto the response with the400statusresponse-optional-property-added
- ○
added the optional property
codeto the response with the500statusresponse-optional-property-added
- ○
added the optional property
detailsto the response with the400statusresponse-optional-property-added
- ○
added the optional property
detailsto the response with the500statusresponse-optional-property-added
- ○
added the optional property
http_status_codeto the response with the400statusresponse-optional-property-added
- ○
added the optional property
http_status_codeto the response with the500statusresponse-optional-property-added
- ○
added the optional property
messageto the response with the400statusresponse-optional-property-added
- ○
added the optional property
messageto the response with the500statusresponse-optional-property-added
This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●