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

# Create skills analytics report

> Create a skills analytics report.

> [!NOTE]
>
> The analytics reports API is in beta.

The organization bot token must have the following scopes:

* `skills-analytics:read`

Starts a report of daily use for each skill over a date range. See [Analytics reports](https://developers.notion.com/reference/admin/analytics-reports.md) for the full flow, [date ranges](https://developers.notion.com/reference/admin/analytics-reports.md#date-ranges), and limits.

Skills reports don't take `time_zone`. Dates are UTC days, and `end_date` must be yesterday or earlier in UTC.

## Columns

The report has one row for each live skill on each UTC day in the range, including days with no use. Trashed skills are left out.

| Column | Type | Description |
| :- | :- | :- |
| `workspace_id` | UUID | The workspace. |
| `skill_id` | UUID | The skill's page. |
| `skill_name` | Text | The skill's name. |
| `created_by` | UUID | The user who created the skill. Empty if unknown. |
| `date` | Date | The UTC day. |
| `usage_count` | Integer | Times the skill was used that day. |

In JSONL files, empty values are `null`.


## OpenAPI

````yaml openapi-adminApi.json POST /v1/analytics/skills/reports
openapi: 3.1.0
info:
  title: Notion Admin API
  version: 1.0.0
  termsOfService: >-
    https://notion.notion.site/Terms-and-Privacy-28ffdd083dc3473e9c2da6ec011b58ac
servers:
  - url: https://api.notion.com/admin
security:
  - bearerAuth: []
tags:
  - name: Exports
    description: Workspace export endpoints
  - name: Legal holds
    description: Legal hold endpoints
  - name: Managed users
    description: Managed user endpoints
paths:
  /v1/analytics/skills/reports:
    post:
      tags:
        - Admin API
      summary: Create skills analytics report
      operationId: create-skills-analytics-report
      parameters:
        - $ref: '#/components/parameters/notionVersion'
        - name: Idempotency-Key
          in: header
          schema:
            type: string
            minLength: 1
            maxLength: 255
          description: >-
            Retrying with the same key and parameters within 24 hours returns
            the original report instead of creating another one.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                start_date:
                  type: string
                  format: date
                end_date:
                  type: string
                  format: date
                file_format:
                  type: string
                  enum:
                    - csv
                    - jsonl
                  description: 'One of: `csv`, `jsonl`'
                workspace_id:
                  type: string
                  format: uuid
              required:
                - start_date
                - end_date
                - file_format
                - workspace_id
              additionalProperties: false
      responses:
        '202':
          description: The report was accepted and is queued
          content:
            application/json:
              schema:
                type: object
                properties:
                  object:
                    type: string
                    const: analytics_report
                    description: Always `analytics_report`
                  id:
                    type: string
                  report_type:
                    type: string
                    enum:
                      - user_activity
                      - content_pages
                      - ai_usage
                      - skills
                    description: >-
                      One of: `user_activity`, `content_pages`, `ai_usage`,
                      `skills`
                  report_version:
                    type: integer
                  workspace_id:
                    type: string
                    format: uuid
                  file_format:
                    type: string
                    enum:
                      - csv
                      - jsonl
                    description: 'One of: `csv`, `jsonl`'
                  status:
                    type: string
                    enum:
                      - queued
                      - running
                      - completed
                      - failed
                      - expired
                    description: >-
                      One of: `queued`, `running`, `completed`, `failed`,
                      `expired`
                  created_time:
                    type: string
                    format: date-time
                  start_date:
                    type: string
                    format: date
                  end_date:
                    type: string
                    format: date
                  time_zone:
                    type: string
                  period:
                    type: string
                    enum:
                      - last_7_days
                      - last_28_days
                      - last_60_days
                      - last_90_days
                      - last_180_days
                      - last_365_days
                    description: >-
                      One of: `last_7_days`, `last_28_days`, `last_60_days`,
                      `last_90_days`, `last_180_days`, `last_365_days`
                  completed_time:
                    type: string
                    format: date-time
                  file_expires_at:
                    type: string
                    format: date-time
                  failed_time:
                    type: string
                    format: date-time
                  error_code:
                    type: string
                    enum:
                      - report_generation_failed
                      - report_too_large
                    description: 'One of: `report_generation_failed`, `report_too_large`'
                  error_message:
                    type: string
                additionalProperties: false
                required:
                  - object
                  - id
                  - report_type
                  - report_version
                  - workspace_id
                  - file_format
                  - status
                  - created_time
        '400':
          $ref: '#/components/responses/adminApiPublicError400'
        '401':
          $ref: '#/components/responses/adminApiPublicError401'
        '403':
          $ref: '#/components/responses/adminApiPublicError403'
        '404':
          $ref: '#/components/responses/adminApiPublicError404'
        '409':
          $ref: '#/components/responses/adminApiPublicError409'
        '429':
          $ref: '#/components/responses/adminApiPublicError429'
        '500':
          $ref: '#/components/responses/adminApiPublicError500'
        '503':
          $ref: '#/components/responses/adminApiPublicError503'
components:
  parameters:
    notionVersion:
      name: Notion-Version
      in: header
      required: true
      schema:
        enum:
          - '2026-06-01'
      description: The Admin API version to use for this request.
  responses:
    adminApiPublicError400:
      description: The request body, path parameters, or query parameters are invalid.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/adminApiPublicError400'
          example:
            object: error
            code: validation_error
            status: 400
            message: The request body is invalid.
    adminApiPublicError401:
      description: The request is missing a valid bearer token.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/adminApiPublicError401'
          example:
            object: error
            code: unauthorized
            status: 401
            message: Unauthorized.
    adminApiPublicError403:
      description: >-
        The authenticated bot does not have access to the requested resource or
        scope.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/adminApiPublicError403'
          example:
            object: error
            code: restricted_resource
            status: 403
            message: Forbidden.
    adminApiPublicError404:
      description: The requested resource could not be found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/adminApiPublicError404'
          example:
            object: error
            code: object_not_found
            status: 404
            message: Not found.
    adminApiPublicError409:
      description: The request conflicts with the current state of the resource.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/adminApiPublicError409'
          example:
            object: error
            code: conflict_error
            status: 409
            message: The request conflicts with the current resource state.
    adminApiPublicError429:
      description: The request was rate limited.
      headers:
        retry-after:
          description: Seconds to wait before retrying the request.
          schema:
            type: string
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/adminApiPublicError429'
          example:
            object: error
            code: rate_limited
            status: 429
            message: Rate limited.
    adminApiPublicError500:
      description: An unexpected server error occurred.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/adminApiPublicError500'
          example:
            object: error
            code: internal_server_error
            status: 500
            message: An unexpected error occurred.
    adminApiPublicError503:
      description: A required service is temporarily unavailable.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/adminApiPublicError503'
          example:
            object: error
            code: service_unavailable
            status: 503
            message: Service temporarily unavailable.
  schemas:
    adminApiPublicError400:
      type: object
      properties:
        object:
          enum:
            - error
        code:
          enum:
            - validation_error
        status:
          enum:
            - 400
        message:
          type: string
        additional_data:
          type: object
          additionalProperties:
            oneOf:
              - type: string
              - type: array
                items:
                  type: string
      required:
        - object
        - code
        - status
        - message
      additionalProperties: false
    adminApiPublicError401:
      type: object
      properties:
        object:
          enum:
            - error
        code:
          enum:
            - unauthorized
        status:
          enum:
            - 401
        message:
          type: string
        additional_data:
          type: object
          additionalProperties:
            oneOf:
              - type: string
              - type: array
                items:
                  type: string
      required:
        - object
        - code
        - status
        - message
      additionalProperties: false
    adminApiPublicError403:
      type: object
      properties:
        object:
          enum:
            - error
        code:
          enum:
            - restricted_resource
        status:
          enum:
            - 403
        message:
          type: string
        additional_data:
          type: object
          additionalProperties:
            oneOf:
              - type: string
              - type: array
                items:
                  type: string
      required:
        - object
        - code
        - status
        - message
      additionalProperties: false
    adminApiPublicError404:
      type: object
      properties:
        object:
          enum:
            - error
        code:
          enum:
            - object_not_found
        status:
          enum:
            - 404
        message:
          type: string
        additional_data:
          type: object
          additionalProperties:
            oneOf:
              - type: string
              - type: array
                items:
                  type: string
      required:
        - object
        - code
        - status
        - message
      additionalProperties: false
    adminApiPublicError409:
      type: object
      properties:
        object:
          enum:
            - error
        code:
          enum:
            - conflict_error
        status:
          enum:
            - 409
        message:
          type: string
        additional_data:
          type: object
          additionalProperties:
            oneOf:
              - type: string
              - type: array
                items:
                  type: string
      required:
        - object
        - code
        - status
        - message
      additionalProperties: false
    adminApiPublicError429:
      type: object
      properties:
        object:
          enum:
            - error
        code:
          enum:
            - rate_limited
        status:
          enum:
            - 429
        message:
          type: string
        additional_data:
          type: object
          additionalProperties:
            oneOf:
              - type: string
              - type: array
                items:
                  type: string
      required:
        - object
        - code
        - status
        - message
      additionalProperties: false
    adminApiPublicError500:
      type: object
      properties:
        object:
          enum:
            - error
        code:
          enum:
            - internal_server_error
        status:
          enum:
            - 500
        message:
          type: string
        additional_data:
          type: object
          additionalProperties:
            oneOf:
              - type: string
              - type: array
                items:
                  type: string
      required:
        - object
        - code
        - status
        - message
      additionalProperties: false
    adminApiPublicError503:
      type: object
      properties:
        object:
          enum:
            - error
        code:
          enum:
            - service_unavailable
        status:
          enum:
            - 503
        message:
          type: string
        additional_data:
          type: object
          additionalProperties:
            oneOf:
              - type: string
              - type: array
                items:
                  type: string
      required:
        - object
        - code
        - status
        - message
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````