Skip to main content
VelaIngestClient sends events into your Vela app. It authenticates with your app’s API key (vela_live_...), which is scoped to a single app and can only ingest events — it cannot read or modify any data.

Constructor

Send a single event

Event fields reference

Event levels

Send a batch

Send up to 100 events in a single request. This is more efficient than sending events one by one when you have multiple events to ingest at the same time.
Batch requests follow the same validation rules as single requests. If any event fails validation, only that event is rejected — the rest are accepted normally.

Response shape

Both single and batch ingestion return the same response type:

Error handling

If validation fails, Vela returns a 400 error which the SDK throws as VelaValidationError:
See Error Handling for the full error hierarchy.

Ingesting from a queue consumer

A common pattern is to consume events from an internal queue and forward them to Vela: