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

# DataHub tag / glossary-term / domain catalog

> Returns the DataHub catalog the user can pick from when adding tags, glossary terms, or changing the domain of an already-enriched document. Each entry carries ``name`` and ``urn``. The portal flags existing values and attaches them by URN. For new values, the confirm endpoint creates the entity before attaching.



## OpenAPI

````yaml get /api/documents/catalog/vocabularies
openapi: 3.1.0
info:
  title: Nx1 AI API
  description: |

    AI API for Nx1 Data Platform Management and Automated Data Tasks.

    Authentication is required via PSK in Authorization header.

    Default PSK is | [ask a friend] |
  version: 0.10.2
servers: []
security: []
paths:
  /api/documents/catalog/vocabularies:
    get:
      tags:
        - Documents
      summary: DataHub tag / glossary-term / domain catalog
      description: >-
        Returns the DataHub catalog the user can pick from when adding tags,
        glossary terms, or changing the domain of an already-enriched document.
        Each entry carries ``name`` and ``urn``. The portal flags existing
        values and attaches them by URN. For new values, the confirm endpoint
        creates the entity before attaching.
      operationId: get_vocabularies_api_documents_catalog_vocabularies_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentVocabulariesResponse'
      security:
        - OAuth2AuthorizationCodeBearer: []
        - APIKeyHeader: []
components:
  schemas:
    DocumentVocabulariesResponse:
      properties:
        tags:
          items:
            $ref: '#/components/schemas/VocabularyEntry'
          type: array
          title: Tags
        glossary_terms:
          items:
            $ref: '#/components/schemas/VocabularyEntry'
          type: array
          title: Glossary Terms
        domains:
          items:
            $ref: '#/components/schemas/VocabularyEntry'
          type: array
          title: Domains
      type: object
      title: DocumentVocabulariesResponse
      description: |-
        DataHub vocabularies the user can pick from when adding tags,
        glossary terms, or a domain to an already-enriched document.
    VocabularyEntry:
      properties:
        name:
          type: string
          title: Name
        urn:
          anyOf:
            - type: string
            - type: 'null'
          title: Urn
      type: object
      required:
        - name
      title: VocabularyEntry
      description: A catalog entry with a name and DataHub URN.
  securitySchemes:
    OAuth2AuthorizationCodeBearer:
      type: oauth2
      flows:
        authorizationCode:
          scopes: {}
          authorizationUrl: >-
            https://sso-rapid.rapid.nx1cloud.com/realms/rapid/protocol/openid-connect/auth
          tokenUrl: >-
            https://sso-rapid.rapid.nx1cloud.com/realms/rapid/protocol/openid-connect/token
    APIKeyHeader:
      type: apiKey
      in: header
      name: Authorization-PSK

````