> ## Documentation Index
> Fetch the complete documentation index at: https://api-tools.memories.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Video Events

> Get safety events for one video

<Info>
  **Product**: Video Datalake
  **Host**: `https://api.memories.ai/datalake/v1`
  **Auth**: `Authorization: sk-mai-...`
</Info>

List safety-detection events for one video. Requires `safety_detector` in the collection. **No hit means no data** (safe video = silent). Supports incremental `since`.

<Note>
  **Pricing:** \$0.001 / call · See [Pricing](/datalake/pricing) for the full model.
</Note>

## Response Fields

<ResponseField name="events" type="array">Event items.</ResponseField>
<ResponseField name="events[].score" type="number">Confidence \[0,1].</ResponseField>
<ResponseField name="events[].start" type="number">Event start seconds.</ResponseField>
<ResponseField name="live" type="boolean">`true` while still indexing.</ResponseField>


## OpenAPI

````yaml GET /datalake/v1/videos/{id}/events
openapi: 3.1.0
info:
  title: Memories.ai DataLake API 2.0
  version: 2026-08
  description: OpenAPI mapping used by Mintlify Try it for the DataLake API 2.0 docs.
servers:
  - url: https://api.memories.ai
security:
  - ApiKeyAuth: []
paths:
  /datalake/v1/videos/{id}/events:
    get:
      tags:
        - Events (Safety)
      summary: Get safety events for one video
      description: >-
        List safety-detection events for one video. Requires `safety_detector`
        in the collection. **No hit means no data** (safe video = silent).
        Supports incremental `since`.
      operationId: get_video_events
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Video ID.
        - name: since
          in: query
          required: false
          schema:
            type: string
          description: Incremental cursor (empty for first page).
        - name: event_type
          in: query
          required: false
          schema:
            type: string
          description: e.g. `safety`.
      responses:
        '200':
          description: Success
          content:
            application/json:
              example:
                events:
                  - event_id: evt_xxx
                    event_type: safety
                    start: 812
                    end: 816
                    score: 0.86
                    description: Fire detected with heavy smoke in the scene.
                    detector_id: safety-detector
                    detector_version: 1.0.0
                next_cursor: null
                live: false
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: 'Send `Authorization: sk-mai-...`'

````