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

# Get top 10 tags with the most assets in a workspace

> Retrieves the top 10 tags with the most assets in a workspace.



## OpenAPI

````yaml /api-reference/openapi.json get /api/statistic/top-tags-assets
openapi: 3.0.0
info:
  title: Open Attack Surface Management
  description: Open-source platform for cybersecurity Attack Surface Management (ASM)
  version: '1.0'
  contact: {}
servers:
  - url: https://{baseUrl}/api/v1
    variables:
      baseUrl:
        default: localhost:3000
        description: API server hostname with port (e.g. localhost:3000, api.example.com)
security: []
tags: []
externalDocs:
  description: Authentication Docs
  url: auth/docs
paths:
  /api/statistic/top-tags-assets:
    get:
      tags:
        - Statistic
      summary: Get top 10 tags with the most assets in a workspace
      description: Retrieves the top 10 tags with the most assets in a workspace.
      operationId: StatisticController_getTopTagsAssets
      parameters:
        - name: X-Workspace-Id
          in: header
          description: Workspace ID
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/AppResponseSerialization'
                type: array
                items:
                  $ref: '#/components/schemas/TopTagAsset'
components:
  schemas:
    AppResponseSerialization:
      type: object
      properties: {}
    TopTagAsset:
      type: object
      properties:
        tag:
          type: string
          example: example-tag
          description: The name of the tag
        count:
          type: number
          example: 10
          description: The number of assets associated with the tag
      required:
        - tag
        - count

````