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

# Get Report Share Analytics

> Visits to the report's share link over the last `days` days, added up: totals, views per day, time on each page, devices and countries. Each visit and what it did: the visits routes. Visitors signed in to Oviond are not counted.



## OpenAPI

````yaml https://api.oviond.com/openapi.json get /v1/reports/{id}/analytics
openapi: 3.1.0
info:
  title: Oviond Backend API
  version: 1.0.0
  description: Authentication, account management, billing, and media services for Oviond.
  x-logo:
    url: https://app.oviond.com/img/oviond-full-logo.svg
    altText: Oviond
servers:
  - url: https://api.oviond.com
    description: Production
security:
  - ApiKeyAuth: []
  - BearerAuth: []
paths:
  /v1/reports/{id}/analytics:
    get:
      tags:
        - Reports
      summary: Get Report Share Analytics
      description: >-
        Visits to the report's share link over the last `days` days, added up:
        totals, views per day, time on each page, devices and countries. Each
        visit and what it did: the visits routes. Visitors signed in to Oviond
        are not counted.
      operationId: get_report_share_analytics
      parameters:
        - schema:
            type: string
          required: true
          name: id
          in: path
        - schema:
            type: string
            enum:
              - '7'
              - '30'
              - '90'
              - '365'
            default: '30'
            description: How many days back to count.
            example: '30'
          required: false
          name: days
          in: query
      responses:
        '200':
          description: The report's share analytics
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - true
                  data:
                    $ref: '#/components/schemas/ReportAnalytics'
                required:
                  - success
                  - data
        '404':
          description: Report not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
components:
  schemas:
    ReportAnalytics:
      type: object
      properties:
        timezone:
          type: string
        totals:
          type: object
          properties:
            views:
              type: number
            visitors:
              type: number
            seconds:
              type: number
            pdf_downloads:
              type: number
            last_viewed_at:
              type:
                - string
                - 'null'
          required:
            - views
            - visitors
            - seconds
            - pdf_downloads
            - last_viewed_at
        daily:
          type: array
          items:
            type: object
            properties:
              day:
                type: string
              views:
                type: number
              visitors:
                type: number
            required:
              - day
              - views
              - visitors
        pages:
          type: array
          items:
            type: object
            properties:
              page_id:
                type: string
              name:
                type:
                  - string
                  - 'null'
              views:
                type: number
              seconds:
                type: number
            required:
              - page_id
              - name
              - views
              - seconds
        devices:
          type: array
          items:
            type: object
            properties:
              device:
                type: string
                enum:
                  - desktop
                  - mobile
                  - tablet
                  - other
              views:
                type: number
            required:
              - device
              - views
        countries:
          type: array
          items:
            type: object
            properties:
              country:
                type: string
              views:
                type: number
            required:
              - country
              - views
      required:
        - timezone
        - totals
        - daily
        - pages
        - devices
        - countries
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: >-
        Oviond API key (prefix `oviond_`) sent as a Bearer token — the
        credential for REST/programmatic and headless integrations. Manage keys
        in Settings → API Keys. API keys do NOT authenticate the MCP endpoint
        (/mcp), which uses OAuth 2.1 + PKCE.
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Supabase-issued JWT used by the Oviond web app session. External API
        consumers should authenticate with an Oviond API key (ApiKeyAuth)
        instead.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.