> ## 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.

# Get skills analytics report

> Get a skills analytics report.

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

The organization bot token must have the following scopes:

* `skills-analytics:read`

Returns the report's status and, once it's `completed`, a download link. Pass the report `id` as `job_id`. The file's columns are listed in [Create a skills analytics report](https://developers.notion.com/reference/admin/create-skills-analytics-report.md#columns).

Completed reports include `download_url` and `link_expires_at` when the file is available. Follow that URL directly; it contains a derived organization bot file token and needs no additional Authorization header. Downloads use the configured secure file host (`file.notion.com` or `file.notion.so`; local environments use their configured file host).

Links expire after seven days or at the saved file expiry, whichever comes first. Files retain their original 30-day lifetime. Fetch the report again to renew a link while its file remains available. Permissions, credential revocation, and file expiry are checked again when downloading.

Completed reports also include `row_count`, `file_size_bytes`, and `data_as_of`, the ISO 8601 time of the source data. `data_as_of` can be earlier than `completed_time` because generation takes time.

Expired or definitively missing files return HTTP 200 with `status: "expired"` and no download URL. Queued, running, and failed reports also omit download URLs. Failed reports include `failed_time`, `error_code`, and a plain-English `error_message`. An `error_code` of `report_too_large` means the report is too large to generate. Create a smaller report instead of retrying, for example with a shorter date range or, for content pages, a teamspace or page filter. Other failures use `report_generation_failed`.

A file that fails integrity verification returns HTTP 500 with `additional_data.tool_error_code` set to `analytics_report_integrity_failed` and `additional_data.tool_error_retryable` set to `false`. Create a new report instead of retrying. Other storage failures return HTTP 500 with `tool_error_retryable` set to `true`.

CSV and JSONL files contain the same values, with two CSV-only rules. A text value that starts with `=`, `+`, `-`, `@`, `*`, `/`, or a full-width equals sign, optionally after tabs or line breaks, gets a leading `'` so spreadsheets show it as text instead of running it as a formula. List values are JSON arrays, such as `["Engineering","Product"]`; an empty list is `[]` and a missing value is an empty cell. JSONL keeps exact values.

Treat the full download URL as a credential. Do not log or share it, and avoid sending it in referrers. Report responses and downloaded files use `Cache-Control: private, no-store`.


## OpenAPI

````yaml openapi-adminApi.json GET /v1/analytics/skills/reports/{job_id}
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/{job_id}:
    get:
      tags:
        - Admin API
      summary: Get skills analytics report
      operationId: get-skills-analytics-report
      parameters:
        - $ref: '#/components/parameters/notionVersion'
        - name: job_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: workspace_id
          in: query
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Report status and an available download link
          headers:
            cache-control:
              schema:
                type: string
          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
                  row_count:
                    type: integer
                  file_size_bytes:
                    type: integer
                  data_as_of:
                    type: string
                    format: date-time
                  download_url:
                    type: string
                    format: uri
                  link_expires_at:
                    type: string
                    format: date-time
                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

````