Query Events
Search, filter, and browse Vision Events in the dashboard, ask the Agent in natural language, or query via the API
About
Web App
Query and Filter Events
Browse Events in the Dashboard


Ask the Agent
HTTP API
Query Events via the API
Basic Query
Pagination
Filter by Event Type
Filter by Feedback Status
Filter by Custom Metadata
Query Vision Events
Query vision events with filters, time ranges, and pagination.
Authorizations
AuthorizationstringRequired
Roboflow API key passed as a Bearer token.
Body
useCaseIdstringRequired
The use case ID to query events for.
startTimestring · date-timeOptional
endTimestring · date-timeOptional
hasWarningsbooleanOptional
cursorstringOptional
limitinteger · min: 1 · max: 1000OptionalDefault:
100Responses
200
Query results.
application/json
hasMorebooleanOptional
nextCursorstringOptional
lookbackDaysintegerOptional
deprecationsstring[]Optional
400
Invalid query.
application/json
403
Insufficient permissions for this resource.
application/json
post/vision-events/query
POST /vision-events/query HTTP/1.1
Host: api.roboflow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 644
{
"useCaseId": "text",
"startTime": "2026-01-01T00:00:00.000Z",
"endTime": "2026-01-01T00:00:00.000Z",
"eventTypes": [
"quality_check"
],
"deviceId": {
"operator": "eq",
"value": "text"
},
"streamId": {
"operator": "eq",
"value": "text"
},
"workflowId": {
"operator": "eq",
"value": "text"
},
"externalId": {
"operator": "eq",
"value": "text"
},
"detection": {
"operator": "eq",
"value": "text",
"confidence": {
"operator": "gt",
"value": 1
}
},
"imageCount": {
"operator": "eq",
"value": 1
},
"hasWarnings": true,
"customMetadataFilters": [
{
"field": "text",
"operator": "eq",
"value": "text",
"type": "string"
}
],
"eventFieldFilters": [
{
"column": "result",
"operator": "eq",
"value": "text"
}
],
"cursor": "text",
"limit": 100
}{
"events": [
{
"eventId": "text",
"eventType": "quality_check",
"useCaseId": "text",
"timestamp": "2026-01-01T00:00:00.000Z",
"deviceId": "text",
"streamId": "text",
"workflowId": "text",
"workflowVersion": "text",
"images": [
{
"label": "text",
"sourceId": "text",
"inputSourceId": "text",
"objectDetections": [
{
"class": "text",
"x": 1,
"y": 1,
"width": 1,
"height": 1,
"confidence": 1
}
],
"classifications": [
{
"class": "text",
"confidence": 1
}
],
"instanceSegmentations": [
{
"class": "text",
"x": 1,
"y": 1,
"width": 1,
"height": 1,
"confidence": 1,
"points": [
[
1
]
]
}
],
"keypoints": [
{
"class": "text",
"x": 1,
"y": 1,
"width": 1,
"height": 1,
"confidence": 1,
"keypoints": [
{
"id": 1,
"x": 1,
"y": 1,
"occluded": true
}
]
}
]
}
],
"displayImagePosition": 1,
"eventData": {},
"customMetadata": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
],
"hasMore": true,
"nextCursor": "text",
"lookbackDays": 1,
"deprecations": [
"text"
]
}Example Request
Request Body Parameters
Type
Operators
Example Response
Python SDK
Single Page Query
Paginate Through All Results
Last updated
Was this helpful?