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

# Get Decision Engine Tag

> Get one tag key with its allowed values and descriptions



## OpenAPI

````yaml https://api.hightouch.io/api/swagger.json get /decision-engine/tags/{key}
openapi: 3.0.0
info:
  title: Hightouch API
  version: 1.0.0
  description: Hightouch Public Rest API to access syncs, models, sources and destinations
  contact:
    name: Hightouch
    url: https://hightouch.com
servers:
  - url: https://api.hightouch.com/api/v1
security: []
paths:
  /decision-engine/tags/{key}:
    get:
      tags:
        - AI Decisioning
      summary: Get Decision Engine Tag
      description: Get one tag key with its allowed values and descriptions
      operationId: GetTag
      parameters:
        - description: The tag key
          in: path
          name: key
          required: true
          schema:
            type: string
        - description: The kind of object the tag applies to
          in: query
          name: type
          required: false
          schema:
            $ref: '#/components/schemas/DecisionEngineTagType'
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                anyOf:
                  - $ref: '#/components/schemas/DecisionEngineTag'
                  - $ref: '#/components/schemas/DecisionEngineErrorResponse'
                  - $ref: '#/components/schemas/ValidateErrorJSON'
                  - $ref: '#/components/schemas/InternalServerError'
                nullable: true
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DecisionEngineErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    DecisionEngineTagType:
      type: string
      enum:
        - message
        - channel
      description: |-
        The kind of object a tag applies to. Message tags and channel tags have
        separate configurations.
    DecisionEngineTag:
      description: A Decision Engine tag key with its allowed values
      properties:
        key:
          type: string
        description:
          type: string
          description: Instructions that tell AI tagging how to choose a value for this key
        values:
          items:
            $ref: '#/components/schemas/DecisionEngineTagValue'
          type: array
      required:
        - key
        - values
      type: object
      additionalProperties: false
    DecisionEngineErrorResponse:
      properties:
        message:
          type: string
          description: Why the request failed.
      required:
        - message
      type: object
      additionalProperties: false
    ValidateErrorJSON:
      properties:
        message:
          type: string
          enum:
            - Validation failed
          nullable: false
        details:
          properties: {}
          additionalProperties: {}
          type: object
      required:
        - message
        - details
      type: object
      additionalProperties: false
    InternalServerError:
      type: string
      enum:
        - Internal Server Error
      nullable: false
    DecisionEngineTagValue:
      description: An allowed value of a Decision Engine tag
      properties:
        value:
          type: string
          description: The value. Must not be empty or contain a colon.
        description:
          type: string
          description: Instructions that tell AI tagging when to use this value
      required:
        - value
      type: object
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Bearer

````