> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cloudglue.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# List Collection Moments

> Moments across current collection members, with exact total. Default sort is positional (file_id, then start_time); criterion_score and rank_score sorts require a single-criterion filter. Removing a file from the collection drops its moments from this enumeration; the underlying runs persist.



## OpenAPI

````yaml GET /collections/{collection_id}/moments
openapi: 3.0.0
info:
  title: Cloudglue API
  description: API for Cloudglue
  license:
    name: Apache License 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
  version: 0.7.23
servers:
  - url: https://api.cloudglue.dev/v1
security:
  - bearerAuth: []
paths:
  /collections/{collection_id}/moments:
    get:
      tags:
        - Collections
      summary: List moments in a moments collection
      description: >-
        Moments across current collection members, with exact total. Default
        sort is positional (file_id, then start_time); criterion_score and
        rank_score sorts require a single-criterion filter. Removing a file from
        the collection drops its moments from this enumeration; the underlying
        runs persist.
      operationId: listCollectionMoments
      parameters:
        - name: collection_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: criterion_name
          in: query
          schema:
            type: string
        - name: attachment_id
          in: query
          schema:
            type: string
            format: uuid
        - name: file_id
          in: query
          description: Restrict to one video.
          schema:
            type: string
            format: uuid
        - name: min_score
          in: query
          schema:
            type: number
        - name: sort
          in: query
          description: criterion_score and rank_score require a single-criterion filter.
          schema:
            type: string
            enum:
              - position
              - criterion_score
              - rank_score
            default: position
        - name: limit
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 50
        - name: cursor
          in: query
          schema:
            type: string
      responses:
        '200':
          description: Moments across current collection members, with exact total.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CollectionMomentsList'
        '400':
          description: >-
            Not a moments collection, or a score sort without a single-criterion
            filter
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Collection not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    CollectionMomentsList:
      type: object
      properties:
        moments:
          type: array
          items:
            allOf:
              - $ref: '#/components/schemas/Moment'
              - type: object
                properties:
                  file_id:
                    type: string
                    format: uuid
                  job_id:
                    type: string
                    format: uuid
                  criterion_name:
                    type: string
        total:
          type: integer
          description: Exact total across current members.
        next_cursor:
          type: string
      required:
        - moments
        - total
    Error:
      required:
        - error
      type: object
      properties:
        error:
          type: string
    Moment:
      type: object
      properties:
        moment_id:
          type: string
          format: uuid
        start_time:
          type: number
          description: Seconds from source start.
        end_time:
          type: number
        anchors:
          type: object
          additionalProperties:
            type: number
          description: >-
            Declared anchors only; an anchor that was not found is absent, never
            null.
        title:
          type: string
        reason:
          type: string
        speakers:
          type: array
          items:
            type: string
        criterion_score:
          $ref: '#/components/schemas/CriterionScore'
        rank_score:
          type: number
          minimum: 0
          maximum: 1
          description: Normalized ordering within the run; what the default sort uses.
        properties:
          type: object
          description: Validates against the criterion's moment_schema.
        evidence:
          type: object
          properties:
            signals:
              type: array
              items:
                type: string
      required:
        - moment_id
        - start_time
        - end_time
        - title
        - reason
        - rank_score
    CriterionScore:
      type: object
      description: The rubric's judgment on its own declared scale.
      properties:
        key:
          type: string
        value:
          type: number
        min:
          type: number
        max:
          type: number
      required:
        - key
        - value
        - min
        - max
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````