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

# Get Memroy Tag by ID

> Retrieve the details of a specific memory tag by its ID. Requires the user's ID.

Retrieve the details of a specific memory tag by its ID. Requires the user's ID.

### Authorization

Requires `Bearer` token authentication using your Developer JWT.


## OpenAPI

````yaml GET /tags/{tagId}
openapi: 3.0.3
info:
  title: Memoram API v1
  description: >-
    API for interacting with the Memoram platform, managing access, memories,
    and tags.
  version: 1.0.0
  contact:
    name: Memoram Support
    url: https://memoram.app
    email: support@memoram.app
servers:
  - url: https://api.memoram.app/api/v1
    description: Production Server
security: []
tags:
  - name: Access Management
    description: >-
      Endpoints for obtaining authentication tokens and managing access requests
      to user memories.
  - name: Memory Management
    description: >-
      Endpoints for creating, retrieving, updating, and deleting user memory
      blobs.
  - name: Memory Tag Management
    description: Endpoints for retrieving memory tags.
paths:
  /tags/{tagId}:
    get:
      tags:
        - Memory Tag Management
      summary: Get Memory Tag by ID
      description: >-
        Retrieve the details of a specific memory tag by its ID. Requires the
        user's ID.
      parameters:
        - name: tagId
          in: path
          required: true
          description: The unique ID of the tag.
          schema:
            type: string
        - name: user_id
          in: query
          required: true
          description: The unique ID of the user who owns the tag.
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Details of the memory tag.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag'
        '400':
          description: Bad Request - Missing or invalid user_id.
        '401':
          description: Unauthorized - Invalid or expired JWT.
        '403':
          description: >-
            Forbidden - Tag does not belong to the user or developer lacks
            access.
        '404':
          description: Not Found - Tag with the specified ID not found.
      security:
        - bearerAuth: []
components:
  schemas:
    Tag:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        color:
          type: string
          format: hexcolor
          example: '#3B82F6'
        description:
          type: string
        is_enabled:
          type: boolean
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT token obtained via `/auth/token` endpoint.

````