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

# List tags

> Your contact tags, by name. Use the ids or names to set a contact's tags.

<Note>
  **The Hive Inspect API is a work in progress.** It is available to a small group of accounts today, and the release for everyone is coming very soon.
</Note>


## OpenAPI

````yaml /api/openapi.json get /v1/tags
openapi: 3.1.0
info:
  title: Hive Inspect API
  version: 1.0.0
  description: Connect other tools to your Hive Inspect contacts, inspections and events.
servers:
  - url: https://api.hiveinspect.com
security:
  - bearerAuth: []
tags:
  - name: Contacts
    description: Agents, clients and every other contact in your organization.
  - name: Agencies
    description: The brokerages your agents belong to. Read-only.
  - name: Inspections
    description: Read-only access to your inspections.
  - name: Attachments
    description: Additional reports and additional documents on an inspection.
  - name: Events
    description: Extra appointments on an inspection, such as a radon drop-off or pick-up.
paths:
  /v1/tags:
    get:
      tags:
        - Contacts
      summary: List tags
      description: >-
        Your contact tags, by name. Use the ids or names to set a contact's
        tags.
      operationId: listTags
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TagList'
        '400':
          description: Invalid parameter
        '401':
          description: Missing, invalid or inactive API key
        '429':
          description: Rate limit exceeded (120 requests/minute per key owner)
components:
  schemas:
    TagList:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
        next_cursor:
          type:
            - string
            - 'null'
        total:
          type: integer
          description: Every record matching the filters, across all pages
      example:
        data:
          - id: 5a1d9c3e-2b7f-4f0a-8c6d-1e2f3a4b5c6d
            name: Top agent
            contact_count: 18
        next_cursor: null
        total: 1
    Tag:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        contact_count:
          type: integer
          description: Contacts holding this tag
      example:
        id: 5a1d9c3e-2b7f-4f0a-8c6d-1e2f3a4b5c6d
        name: Top agent
        contact_count: 18
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Your API key from Business Tools → API Access.

````

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