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

# Get view analytics for a recording

> Retrieves the total view count for a recording, broken down by day. For workspace wide numbers, use the [Analytics](/api-reference/analytics/get) API.

<Info>Replace `{your-subdomain}` with your workspace's subdomain. <br /> Learn how to find your subdomain in [Workspace subdomain](/getting-started/workspace-subdomain).</Info>


## OpenAPI

````yaml bundled/recordings.yaml GET /recordings/{id}/analytics
openapi: 3.0.3
info:
  title: NeetoRecord Recordings APIs
  version: 2.0.0
servers:
  - description: NeetoRecord APIs
    url: https://{your-subdomain}.neetorecord.com/api/external/v2
    variables:
      your-subdomain:
        default: spinkart
        description: >-
          Replace **spinkart** with your [workspace's
          subdomain](/getting-started/workspace-subdomain).
security: []
tags:
  - name: Recordings
    description: APIs to retrieve and manage recordings in your workspace.
paths:
  /recordings/{id}/analytics:
    get:
      tags:
        - Recordings
      summary: Get view analytics for a recording
      description: >-
        Retrieves the total view count for a recording, broken down by day. For
        workspace wide numbers, use the
        [Analytics](/api-reference/analytics/get) API.
      parameters:
        - $ref: '#/components/parameters/api_key_header'
        - $ref: '#/components/parameters/accept_header'
        - $ref: '#/components/parameters/recording_id_param'
      responses:
        '200':
          description: Successfully retrieved the analytics.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/recording_analytics_response'
              example:
                recording_id: x9y8z7w6v5u4t3s2
                total_views: 42
                views_by_day:
                  - date: '2026-02-15'
                    count: 27
                  - date: '2026-02-16'
                    count: 15
        '404':
          $ref: '#/components/responses/recording_not_found'
components:
  parameters:
    api_key_header:
      in: header
      name: X-Api-Key
      description: >-
        API key. Refer to [Authentication](/getting-started/authentication) for
        more information.
      required: true
      schema:
        type: string
    accept_header:
      in: header
      name: Accept
      description: Must be `application/json`.
      required: true
      schema:
        type: string
        enum:
          - application/json
        default: application/json
    recording_id_param:
      in: path
      name: id
      required: true
      description: >-
        The recording's `id` (UUID) or its `public_link_id` (the short code in
        the watch URL). Both are accepted.
      schema:
        type: string
  schemas:
    recording_analytics_response:
      type: object
      properties:
        recording_id:
          type: string
          description: Public link identifier of the recording.
        total_views:
          type: integer
          description: Total number of views for the recording.
        views_by_day:
          type: array
          items:
            $ref: '#/components/schemas/views_by_day_entry'
          description: View counts grouped by day, oldest first.
    views_by_day_entry:
      type: object
      properties:
        date:
          type: string
          format: date
          description: Day the views were recorded on.
        count:
          type: integer
          description: Number of views on that day.
    error:
      type: object
      properties:
        error:
          type: string
          description: A human readable error message.
  responses:
    recording_not_found:
      description: The recording does not exist in this workspace.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/error'
          example:
            error: Recording does not exist.

````