For the complete documentation index, see llms.txt. This page is also available as Markdown.

Batch Create Vision Events

Record up to 100 Vision Events in a single request to ingest many observations at once.

About

This endpoint records multiple Vision Events in a single request, up to 100 at a time. Use it when a deployment needs to ingest many observations at once, which is more efficient than creating events individually. To record a single event, see Create a Vision Event.

HTTP API

Create up to 100 vision events in a single request. This is more efficient than creating events individually when you need to ingest multiple events at once.

Required scope: vision-events:write or device:update

Batch Create Vision Events

post

Create up to 100 vision events in a single request.

Authorizations
AuthorizationstringRequired

Roboflow API key passed as a Bearer token.

Body
Responses
201

Events created successfully.

application/json
createdintegerOptional
eventIdsstring[]Optional
deprecationsstring[]Optional
post/vision-events/batch

Example Request

Request Body Parameters

  • events (array, required, max 100): An array of event objects. Each event follows the same schema as the Create a Vision Event endpoint.

To include images in your events, first upload each image using the Upload a Vision Event Image endpoint, then reference the returned sourceId in the image object. See Image Objects for details.

Example Response

The response may also include a warnings object containing per-event validation warnings (keyed by event index), and a deprecations array if deprecated field names were used. See Validation and Warnings for details.

Python SDK

Create multiple vision events in a single request. The server allows up to 100 events per batch.

Each event in the list follows the same schema as a single event. For full details on event schemas and validation behavior, see the REST API reference.

Last updated

Was this helpful?