---
title: "Search for video events."
url: "https://developers.vzconnect.com/apis/video-event-api-1/versions/ca29ffe3-f50c-46b4-b1d1-213c2a218c4c/operations/searchVideoEvents"
---

> Full API specification: https://developers.vzconnect.com/apis/video-event-api-1/versions/ca29ffe3-f50c-46b4-b1d1-213c2a218c4c.md

# Search for video events.

`POST` `/video/video-events/search`

Operation ID: `searchVideoEvents`

Search for video events based on query parameters. The Event Schema for video event queries excludes the "tracking" property, empty "activities", and videos within "media".

## Request body

Content types: `application/json`

## Responses

- `200` - Ok
- `400` - Bad Request
- `401` - Unauthorized
- `403` - Forbidden
- `404` - Not Found
- `415` - Unsupported Media Type
- `429` - Too Many Requests
- `default` - Internal Server Error

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Video Event API
  version: "1.0"
servers:
  - url: https://api.us.vzconnect.com
paths:
  /video/video-events/search:
    post:
      tags:
        - Video Event API
      description: Search for video events based on query parameters. The Event Schema
        for video event queries excludes the "tracking" property, empty
        "activities", and videos within "media".
      operationId: searchVideoEvents
      x-kong-route-defaults:
        strip_path: false
        paths:
          - ~/video/video-events/search/?$
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/EventQuery"
      responses:
        "200":
          description: Ok
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/EventList"
        "400":
          $ref: "#/components/responses/BadRequest"
          description: Bad request. The request is not valid.
        "401":
          $ref: "#/components/responses/Unauthorized"
          description: Unauthorized. The authorization token is missing or not valid.
        "403":
          $ref: "#/components/responses/Forbidden"
          description: Forbidden. The caller is not allowed to access this resource.
        "404":
          $ref: "#/components/responses/NotFound"
          description: Not found.
        "415":
          $ref: "#/components/responses/UnsupportedMediaType"
          description: Unsupported media type. The content type of the request is not
            supported.
        "429":
          $ref: "#/components/responses/TooManyRequests"
          description: Too many requests. The rate limit has been exceeded.
        default:
          $ref: "#/components/responses/InternalServerError"
          description: An unexpected error occurred.
      deprecated: false
      summary: Search for video events.
components:
  schemas:
    EventQuery:
      type: object
      properties:
        pagination:
          required:
            - limit
          type: object
          properties:
            pageToken:
              maxLength: 36
              minLength: 10
              pattern: ^[a-zA-Z0-9_]+$
              type: string
              description: An optional pagination token from a previous API response. Provide
                this token to retrieve the next page of results. If omitted or
                null, the search will return the first page.
              nullable: true
            limit:
              maximum: 100
              minimum: 1
              type: integer
              description: It defines the number of entries on the selected page. The default
                value is 20.
              format: int32
              default: 20
            totalRequired:
              type: boolean
              description: It is used to return the total number of items.
              default: false
          additionalProperties: false
          description: It defines parameters for controlling the pagination of results,
            allowing users to navigate through large datasets.
          example:
            limit: 20
            totalRequired: true
        orderBy:
          maxItems: 1
          minItems: 1
          type: array
          description: Group of sorting requests of the resource representation based on
            one or more properties of the entity.
          example:
            - field: occurredAt
              sortOrder: DESC
          items:
            required:
              - field
              - sortOrder
            type: object
            properties:
              field:
                maxLength: 255
                minLength: 1
                pattern: ^occurredAt$
                type: string
                description: Name of the property to be sorted by.
              sortOrder:
                type: string
                description: Sort order
                enum:
                  - DESC
                default: DESC
            additionalProperties: false
        conditions:
          $ref: "#/components/schemas/Conditions"
        fields:
          maxItems: 100
          minItems: 0
          uniqueItems: true
          type: array
          description: Resource properties to return. If not provided, the response will
            include the default properties.
          example:
            - videoEventId
            - occurredAt
            - driverId
            - vehicleId
            - address
            - classification
            - tags
            - triggers
            - coachingStatus
            - media
            - activities
          items:
            maxLength: 255
            minLength: 1
            pattern: ^(videoEventId|occurredAt|driverId|vehicleId|fleetItemId|address|classification|tags|triggers|coachingStatus|media|activities)$
            type: string
            description: Field or property name
      additionalProperties: false
      description: criteria to search for events
      writeOnly: true
    EventList:
      type: object
      properties:
        pageToken:
          maxLength: 35
          minLength: 0
          pattern: ^[0-9_]+$
          type: string
          description: A pagination token corresponding to the videoEventId of the last
            item in this result set. Include this token in your next request to
            fetch the subsequent page of results.
          example: "2025010121000012345"
        events:
          maxItems: 100
          minItems: 0
          type: array
          description: List of video events.
          items:
            $ref: "#/components/schemas/Event"
        totalItems:
          maximum: 2147483647
          minimum: 0
          type: integer
          description: It identifies the total number of items in the collection.
          format: int32
      additionalProperties: false
      description: Event list response schema
      readOnly: true
    Conditions:
      maxItems: 15
      minItems: 1
      type: array
      description: Group of conditions to filter by the resource representation.
      example:
        - field: occurredAt
          values:
            - 2024-12-08 05:43:32
            - 2024-12-08 21:27:44.333
          operator: BETWEEN
        - field: classification
          values:
            - MINOR
            - MODERATE
            - MAJOR
            - CRITICAL
          operator: CONTAINS_ANY
        - field: coachingStatus
          values:
            - REVIEW_PENDING
          operator: CONTAINS_ANY
        - field: activities
          values:
            - VIDEO_WATCHED
            - VIDEO_STARRED
          operator: CONTAINS_ALL
        - field: tagCategory
          values:
            - HDE
            - REQUESTED
            - ADAS
            - DMS
          operator: CONTAINS_ANY
      items:
        required:
          - field
          - operator
          - values
        type: object
        properties:
          field:
            maxLength: 100
            minLength: 1
            pattern: ^(occurredAt|driverId|vehicleId|fleetItemId|address|classification|tags|coachingStatus|activities|videoEventId|createdAt|tagCategory)$
            type: string
            description: Name of the property to be evaluated.
          values:
            maxItems: 8000
            minItems: 1
            type: array
            description: Value to evaluate.
            items:
              maxLength: 500
              minLength: 1
              pattern: ^[a-zA-Z0-9\s_\W]+$
              type: string
          operator:
            type: string
            description: Operator to use to compare between property values and a defined
              set of values. The available operators include 'BETWEEN',
              'CONTAINS_ANY', 'CONTAINS_NONE', 'CONTAINS_ALL', "EQUALS".
            enum:
              - BETWEEN
              - CONTAINS_ANY
              - CONTAINS_NONE
              - CONTAINS_ALL
              - EQUALS
            default: BETWEEN
        additionalProperties: false
    Event:
      required:
        - address
        - classification
        - coachingStatus
        - driverId
        - fleetItemId
        - media
        - occurredAt
        - tags
        - triggers
        - vehicleId
        - videoEventId
      type: object
      properties:
        vehicleId:
          maxLength: 100
          minLength: 1
          pattern: ^[a-zA-Z0-9]+$
          type: string
          description: The unique identifier of the vehicle the camera is installed in.
          readOnly: true
          example: "154471"
        fleetItemId:
          type: string
          format: uuid
          description: The unique identifier of the fleet item (vehicle) where the camera
            is installed. This is the preferred identifier moving forward and
            will eventually replace vehicleId.
          readOnly: true
          example: 1036cff3-7457-4939-9914-d0d8195a4e6e
        tracking:
          maxItems: 100
          minItems: 0
          type: array
          description: Video Event tracking details.
          items:
            $ref: "#/components/schemas/Tracking"
        isDismissed:
          type: boolean
          description: Flag to indicate whether or not the event has been excluded from
            safety metrics.
          example: false
        activities:
          maxItems: 100
          minItems: 0
          type: array
          description: List of event activities
          items:
            $ref: "#/components/schemas/EventActivity"
        address:
          $ref: "#/components/schemas/EventAddress"
        tags:
          maxItems: 15
          minItems: 1
          type: array
          description: List of tags characterizing the driving behavior or the external
            context when the event occurred.
          items:
            $ref: "#/components/schemas/Tag"
        videoEventId:
          maxLength: 35
          minLength: 1
          pattern: ^[0-9_]+$
          type: string
          description: Video Event unique identifier.
          example: "2025010121000012345"
        requestId:
          maxLength: 50
          minLength: 1
          type: string
          description: Request ID
          readOnly: true
          example: 43e4ca6a-ad84-4d73-9cbc-cc454e0fda3a
        occurredAt:
          maxLength: 100
          minLength: 1
          type: string
          description: Date and time video event occurred at (UTC timestamp).
          format: date-time
        driverId:
          maxLength: 100
          minLength: 1
          pattern: ^[a-zA-Z0-9]+$
          type: string
          description: The unique identifier of the driver who was assigned to the vehicle
            when the event occurred.
          readOnly: true
          example: "22234"
        triggers:
          maxItems: 15
          minItems: 0
          type: array
          description: Video Event triggers details.
          items:
            maxLength: 100
            minLength: 1
            type: string
            description: Trigger name
            readOnly: true
            example: HARD_BRAKING
            enum:
              - HARD_BRAKING
              - HARSH_CORNERING
              - HARD_ACCELERATION
              - SUDDEN_FORCE
              - PEDESTRIAN_COLLISION_WARNING
              - TAILGATING
              - TIREDNESS
              - DISTRACTION
              - PHONE_CALL_DETECTION
              - SMOKING
              - DRIVER_REQUESTED_VIDEO
              - LANE_DEPARTURE
              - USER_REQUESTED_VOD
        classification:
          maxLength: 100
          minLength: 1
          type: string
          description: Classification
          example: MINOR
          enum:
            - MINOR
            - MODERATE
            - MAJOR
            - CRITICAL
        media:
          $ref: "#/components/schemas/EventMedia"
        coachingStatus:
          maxLength: 100
          minLength: 1
          type: string
          description: Coaching Status
          readOnly: false
          example: COACHING_NEEDED
          enum:
            - REVIEW_PENDING
            - COACHING_NEEDED
            - COACHING_NOT_NEEDED
            - COACHING_COMPLETE
      additionalProperties: false
      readOnly: false
    ProblemJson:
      title: An RFC 9457 problem object
      type: object
      properties:
        debugId:
          maxLength: 120
          minLength: 8
          pattern: ^[^\n]*$
          type: string
          description: A unique error identifier string generated on the service-side and
            logged for correlation purposes. Verizon extension to RFC 9457.
        instance:
          maxLength: 2000
          minLength: 0
          pattern: ^[^\n]*$
          type: string
          description: A URI reference that identifies the specific occurrence of the
            problem. It may or may not yield further information if
            dereferenced.
          format: uri-reference
        errors:
          maxItems: 50
          minItems: 0
          type: array
          description: List of errors. Verizon extension to RFC 9457.
          items:
            $ref: "#/components/schemas/ProblemError"
        detail:
          maxLength: 2048
          minLength: 8
          pattern: ^[^\n]*$
          type: string
          description: A human-readable explanation specific to this occurrence of the
            problem.
        title:
          maxLength: 1024
          minLength: 8
          pattern: ^[^\n]*$
          type: string
          description: A short, human-readable summary of the problem type.
        status:
          maximum: 599
          minimum: 300
          type: integer
          description: The HTTP status code generated by the origin server for this
            occurrence of the problem.
          format: int32
        pointer:
          maxLength: 120
          minLength: 1
          pattern: ^(\/[^\n]+)*$
          type: string
          description: A pointer to locate the problem within the request's content using
            a JSON Pointer. Verizon extension to RFC 9457.
        type:
          maxLength: 2000
          minLength: 0
          pattern: ^[^\n]*$
          type: string
          description: A URI reference that identifies the problem type.
          format: uri-reference
      additionalProperties: false
      description: Schema for Problem Details (RFC 9457). Additional properties
        specific to the problem type may be present.
    Tracking:
      type: object
      properties:
        speedLimitUnit:
          type: string
          description: Speed limit unit type
          enum:
            - KMH
            - MPH
        heading:
          pattern: ^-?\d+(\.\d{1,2})?$
          type: number
          additionalProperties: false
          description: Heading direction in degrees
          format: double
        longitude:
          maximum: 180
          minimum: -180
          type: number
          description: Longitude of the event
          format: double
          example: -6.26031
        latitude:
          maximum: 90
          minimum: -90
          type: number
          description: Latitude of the event
          format: double
          example: 53.349804
        gpsUpdatedAt:
          maxLength: 100
          type: string
          description: GPS Update (UTC timestamp)
          format: date-time
        speed:
          maximum: 300
          minimum: 0
          type: number
          description: Speed of the vehicle
          format: double
        speedLimit:
          maximum: 300
          minimum: 0
          type: integer
          description: Speed limit of the road
          format: int32
          nullable: true
      additionalProperties: false
      readOnly: true
    EventActivity:
      type: object
      properties:
        activityType:
          $ref: "#/components/schemas/ActivityType"
        activityData:
          $ref: "#/components/schemas/ActivityData"
        activityId:
          maxLength: 100
          minLength: 1
          pattern: ^[1-9]\d*$
          type: string
          description: Activity ID
          example: "123456"
        userKey:
          maxLength: 100
          minLength: 1
          pattern: ^[1-9]\d*$
          type: string
          description: The unique identifier of the User associated with the activity
          example: "123456"
        createdAt:
          maxLength: 100
          type: string
          description: Activity created date (UTC timestamp)
          format: date-time
      additionalProperties: false
      readOnly: true
    EventAddress:
      type: object
      properties:
        country:
          maxLength: 1000
          minLength: 0
          pattern: ^[a-zA-Z0-9\s\W]+$
          type: string
          description: Country of the address
          example: Ireland
        postalCode:
          maxLength: 1000
          minLength: 0
          pattern: ^[a-zA-Z0-9\s\W]+$
          type: string
          description: Postal Code of the address
          nullable: true
          example: "94568"
        city:
          maxLength: 1000
          minLength: 0
          pattern: ^[a-zA-Z0-9\s\W]+$
          type: string
          description: City of the address
          example: Dublin
        longitude:
          maximum: 180
          minimum: -180
          type: number
          description: Longitude of the address
          format: double
          example: -6.26031
        addressLine1:
          maxLength: 1000
          minLength: 0
          pattern: ^[a-zA-Z0-9\s\W]+$
          type: string
          description: Address Line 1
          example: 123 Main St
        latitude:
          maximum: 90
          minimum: -90
          type: number
          description: Latitude of the address
          format: double
          example: 53.349804
        state:
          maxLength: 1000
          minLength: 0
          pattern: ^[a-zA-Z0-9\s\W]+$
          type: string
          description: State of the address
          example: CA
      additionalProperties: false
      description: Address of the event
      readOnly: false
    Tag:
      type: object
      properties:
        name:
          maxLength: 100
          minLength: 1
          type: string
          description: Tag name
          example: SPEEDING
          enum:
            - HARD_BRAKING
            - HARSH_CORNERING
            - HARD_ACCELERATION
            - SUDDEN_FORCE
            - PEDESTRIAN_COLLISION_WARNING
            - TAILGATING
            - TIREDNESS
            - DISTRACTION
            - PHONE_CALL_DETECTION
            - SMOKING
            - DRIVER_REQUESTED_VIDEO
            - LANE_DEPARTURE
            - ROLLING_STOP
            - SPEEDING
            - PHONE_DISTRACTION
            - SEATBELT
            - COLLISION
            - NEAR_MISS
            - TRAFFIC_LIGHT_VIOLATION
            - FOOD_IN_HAND
            - ROAD_CAMERA_COVERED
            - DRIVER_CAMERA_COVERED
            - USER_REQUESTED_VOD
        metadata:
          type: object
          additionalProperties: true
          description: MetaData for the tag
          example: "{StartSecond, EndSecond}"
      additionalProperties: false
      description: Driving behavior or external context when the event occurred
      readOnly: true
    EventMedia:
      required:
        - animatedThumbmailUrl
        - thumbnailUrl
      type: object
      properties:
        thumbnailUrl:
          maxLength: 250
          minLength: 5
          pattern: ^https?:\/\/[^\s/$.?#].[^\s]*$
          type: string
          description: Event Thumbnail static URL
          example: https://www.example.com/thumbnail.jpg
        animatedThumbmailUrl:
          maxLength: 250
          minLength: 10
          pattern: ^https?:\/\/[^\s/$.?#].[^\s]*$
          type: string
          description: Event Thumbnail animated URL
          example: https://www.example.com/animatedthumbnail.gif
        video:
          maxItems: 6
          minItems: 1
          type: array
          description: "A list of videos associated with each function: road, driver,
            passenger side, driver side, cargo and rear."
          items:
            $ref: "#/components/schemas/Video"
      additionalProperties: false
      description: Event Related media URLs
      readOnly: true
    ProblemError:
      title: Verizon's extension to RFC 9457 Problem Details
      required:
        - debugId
        - detail
      type: object
      properties:
        pointer:
          maxLength: 120
          minLength: 1
          pattern: ^(\/[^\n]+)*$
          type: string
          description: A pointer to locate the problem within the request's content using
            a JSON Pointer
        detail:
          maxLength: 2048
          minLength: 8
          pattern: ^[^\n]*$
          type: string
          description: A human-readable explanation specific to this occurrence of the
            problem
        debugId:
          maxLength: 120
          minLength: 8
          pattern: ^[^\n]*$
          type: string
          description: A unique error identifier string generated on the service-side and
            logged for correlation purposes
      additionalProperties: false
      description: Schema for a Verizon extension of Problem Details (RFC 9457).
        Additional properties specific to the problem type may be present.
    ActivityType:
      type: string
      description: Activity Type ID used to determine the type of activity.
      enum:
        - UNKNOWN
        - NOTE
        - COACHING_STATUS
        - VIDEO_WATCHED
        - VIDEO_STARRED
        - VIDEO_DOWNLOADED
        - CLASSIFICATION_UPDATED
        - EVENT_DISMISSED
        - USER_FEEDBACK
    ActivityData:
      type: object
      properties:
        name:
          maxLength: 100
          minLength: 1
          pattern: ^[A-Z0-9_]+$
          type: string
          description: Activity name
        value:
          maxLength: 400
          minLength: 1
          pattern: ^[a-zA-Z0-9\s\W]+$
          type: string
          description: Activity metadata value, for Note activity type this is the note
            entered by the user
      additionalProperties: false
      description: Activity related data
    Video:
      type: object
      properties:
        recordingDevice:
          type: object
          properties:
            assignedFunction:
              type: string
              description: Device function
              example: ROAD
              enum:
                - ROAD
                - DRIVER
                - DRIVER_SIDE
                - PASSENGER_SIDE
                - REAR
                - CARGO
                - OTHER
          additionalProperties: false
          description: Recording device details
        channel:
          maximum: 6
          minimum: 1
          type: integer
          description: Video channel
          format: int32
          example: 1
        videoUrl:
          maxLength: 1000
          minLength: 0
          pattern: ^https?:\/\/[^\s/$.?#].[^\s]*$
          type: string
          description: Main video URL
          example: https://www.example.mp4
        videoId:
          maxLength: 100
          minLength: 1
          pattern: ^[1-9]\d*$
          type: string
          description: Unique identifier of the footage
          example: "123456"
        overlayUrl:
          maxLength: 1000
          minLength: 0
          pattern: ^https?:\/\/[^\s/$.?#].[^\s]*$
          type: string
          description: Overlay file URL (gzipped json) with bounding boxes and metadata
          example: https://www.example.com/overlay.json.gz
        endedAt:
          maxLength: 100
          type: string
          description: Video end time (UTC timestamp)
          format: date-time
        thumbnailUrl:
          maxLength: 1000
          minLength: 0
          pattern: ^https?:\/\/[^\s/$.?#].[^\s]*$
          type: string
          description: Main video thumbnail URL
          example: https://www.example.com/thumbnail.jpg
        expiresAt:
          maxLength: 100
          type: string
          description: Video expiration date
          format: date-time
        startedAt:
          maxLength: 100
          type: string
          description: Video start time (UTC timestamp)
          format: date-time
      additionalProperties: false
      readOnly: true
  responses:
    BadRequest:
      description: Bad Request
      content:
        application/problem+json:
          schema:
            $ref: "#/components/schemas/ProblemJson"
    Unauthorized:
      description: Unauthorized
      content:
        application/problem+json:
          schema:
            $ref: "#/components/schemas/ProblemJson"
    Forbidden:
      description: Forbidden
      content:
        application/problem+json:
          schema:
            $ref: "#/components/schemas/ProblemJson"
    NotFound:
      description: Not Found
      content:
        application/problem+json:
          schema:
            $ref: "#/components/schemas/ProblemJson"
    UnsupportedMediaType:
      description: Unsupported Media Type
      content:
        application/problem+json:
          schema:
            $ref: "#/components/schemas/ProblemJson"
    TooManyRequests:
      description: Too Many Requests
      content:
        application/problem+json:
          schema:
            $ref: "#/components/schemas/ProblemJson"
    InternalServerError:
      description: Internal Server Error
      content:
        application/problem+json:
          schema:
            $ref: "#/components/schemas/ProblemJson"
```
