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

# List view telemetry



## OpenAPI

````yaml api-reference/openapi.yaml GET /engagement/views
openapi: 3.1.0
info:
  title: TrailerCast Integration API
  version: 1.0.0
  summary: >-
    Read-only access to call summaries, prospect engagement and Decision Room
    metrics, plus signed webhooks.
  description: >
    Read-only, workspace-scoped API for pulling the deal signals TrailerCast
    captures during a sale,

    and outbound webhooks for near-real-time notification. Start with the guides
    in this section (Introduction, Quickstart, Authentication, Webhooks); the
    endpoint pages below are generated from this spec.


    **Authentication.** Data endpoints take an API key: `Authorization: Bearer
    tck_live_…`.

    Management endpoints take an admin session JWT with the `integrations.crm`
    permission.


    **Pagination.** Every list is keyset-paginated and ascending: `{ data,
    nextCursor, hasMore }`.

    Pass `cursor=<nextCursor>` to continue. `limit` 1–500, default 100.


    **Rate limit.** 300 requests/minute per API key; `429` with `Retry-After`
    when exceeded.


    **Versioning.** Breaking changes ship as a new path (`/api/v2`). Additive
    changes (new fields,

    event types, parameters) may ship at any time; ignore what you do not
    recognise.
  contact:
    name: TrailerCast
    url: https://trailercast.io
servers:
  - url: https://{host}/api/v1
    variables:
      host:
        default: trailercst-backend-production.up.railway.app
        description: Your TrailerCast API host.
  - url: http://localhost:5000/api/v1
    description: Local development
security:
  - apiKey: []
tags:
  - name: Status
  - name: Calls
  - name: Engagement
  - name: Decision Rooms
  - name: Webhook deliveries
  - name: Management — API keys
  - name: Management — Webhooks
paths:
  /engagement/views:
    get:
      tags:
        - Engagement
      summary: View telemetry — watch time, completion, device
      operationId: listViews
      parameters:
        - $ref: '#/components/parameters/cursorNumeric'
        - $ref: '#/components/parameters/limit'
        - name: since
          in: query
          schema:
            type: string
            format: date-time
        - name: demo_id
          in: query
          schema:
            type: string
            format: uuid
        - name: buyer_space_id
          in: query
          schema:
            type: string
            format: uuid
        - name: distribution_id
          in: query
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: A page of views
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Page'
                  - type: object
                    properties:
                      data:
                        type: array
                        items:
                          $ref: '#/components/schemas/View'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  parameters:
    cursorNumeric:
      name: cursor
      in: query
      schema:
        type: string
        pattern: ^\d{1,18}$
      description: >-
        The last id you have (integer string). Rows with a greater id are
        returned.
    limit:
      name: limit
      in: query
      schema:
        type: integer
        minimum: 1
        maximum: 500
        default: 100
  schemas:
    Page:
      type: object
      required:
        - data
        - nextCursor
        - hasMore
      properties:
        data:
          type: array
          items: {}
        nextCursor:
          type:
            - string
            - 'null'
          description: >-
            Pass back as `cursor`. Returned even when hasMore is false so you
            can resume later. Never expires.
        hasMore:
          type: boolean
    View:
      type: object
      properties:
        id:
          type: string
          example: '5581'
        distributionId:
          type: string
          format: uuid
        distributionType:
          type:
            - string
            - 'null'
          example: full_reel
        forwardedFromDistributionId:
          type:
            - string
            - 'null'
          format: uuid
        demoId:
          type:
            - string
            - 'null'
          format: uuid
        buyerSpaceId:
          type:
            - string
            - 'null'
          format: uuid
        libraryAssetId:
          type:
            - string
            - 'null'
        event:
          type: string
          enum:
            - view
            - progress
            - complete
            - cta_click
        viewedAt:
          type: string
          format: date-time
        watchSeconds:
          type:
            - integer
            - 'null'
        completionPercent:
          type:
            - integer
            - 'null'
          minimum: 0
          maximum: 100
        viewer:
          type: object
          properties:
            name:
              type:
                - string
                - 'null'
            email:
              type:
                - string
                - 'null'
              format: email
        device:
          type: object
          properties:
            kind:
              type: string
              enum:
                - desktop
                - mobile
                - tablet
                - unknown
            userAgent:
              type:
                - string
                - 'null'
        referrer:
          type:
            - string
            - 'null'
        location:
          type: 'null'
          description: Always null; viewer IPs are not stored.
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          description: Human-readable; not stable.
        code:
          type: string
          description: Stable machine code.
  responses:
    BadRequest:
      description: Invalid input
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: cursor is not a valid cursor for this endpoint.
            code: INVALID_CURSOR
    Unauthorized:
      description: >-
        Missing, invalid or revoked API key; or a session token on a data
        endpoint
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Invalid API key.
            code: API_KEY_INVALID
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: tck_live_…
      description: Workspace API key minted via POST /api-keys. Read-only.

````