> ## 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 Moment

> Get a time-slice aggregate view

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

Aggregate any time-slice of a video. `ref` is `vid_xxx@42.0-47.5` (omit `@` for the whole video). Choose what to include with `expand`. Equivalent route: `GET /videos/{id}/moments/{start}-{end}`.

<Note>
  **Pricing:** $0.008 / call (+ $0.005 clip slice, + \$0.01/GB egress) · See [Pricing](/datalake/pricing) for the full model.
</Note>

## Response Fields

<ResponseField name="caption" type="array">`[{start,end,text}]` when expanded.</ResponseField>
<ResponseField name="frames" type="array">`[{t,url}]` sampled frames (signed).</ResponseField>
<ResponseField name="clip_url" type="string">Signed clip for the slice when `clip` expanded.</ResponseField>
<ResponseField name="events" type="array">Detection events overlapping the slice when `events` expanded.</ResponseField>

## Notes

Prerequisite: the video must be `ready` (else `409 video_not_ready`; retry per `Retry-After`).


## OpenAPI

````yaml GET /datalake/v1/moments/{ref}
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/moments/{ref}:
    get:
      tags:
        - Moments & Derived Content
      summary: Get a time-slice aggregate view
      description: >-
        Aggregate any time-slice of a video. `ref` is `vid_xxx@42.0-47.5` (omit
        `@` for the whole video). Choose what to include with `expand`.
        Equivalent route: `GET /videos/{id}/moments/{start}-{end}`.
      operationId: get_moment
      parameters:
        - name: ref
          in: path
          required: true
          schema:
            type: string
          description: '`vid_xxx@42.0-47.5`, or `vid_xxx` for the whole video.'
        - name: expand
          in: query
          required: false
          schema:
            type: string
          description: >-
            Comma list: `caption, transcription, frame, clip, embedding,
            speakers, entities, events`.
      responses:
        '200':
          description: Success
          content:
            application/json:
              example:
                ref: vid_xxx@42.0-47.5
                caption:
                  - start: 42
                    end: 47.5
                    text: …
                frames:
                  - t: 43
                    url: …signed…
                clip_url: …signed…
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: 'Send `Authorization: sk-mai-...`'

````