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

# Fetch available tag names for the authenticated user

> Returns a deduplicated, alphabetically sorted list of tag names currently available to the authenticated user.



## OpenAPI

````yaml /api-reference/openapi.json post /get-available-tag-names
openapi: 3.1.0
info:
  title: Memex REST API
  description: Memex REST API endpoints.
  version: '2026-03-10'
servers:
  - url: https://memex.garden/api
    description: Public edge router
  - url: https://rubctkzqxcdgkbbcprnu.supabase.co/functions/v1
    description: Direct Supabase Edge Functions
security:
  - bearerAuth: []
paths:
  /get-available-tag-names:
    post:
      summary: Fetch available tag names for the authenticated user
      description: >-
        Returns a deduplicated, alphabetically sorted list of tag names
        currently available to the authenticated user.
      operationId: getAvailableTagNames
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EmptyRequest'
            examples:
              default:
                summary: Fetch tag names
                value: {}
      responses:
        '200':
          description: Available tag names response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetAvailableTagNamesResponse'
        '401':
          description: Authentication required or invalid bearer token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedError'
        '500':
          description: Unexpected server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerError'
components:
  schemas:
    EmptyRequest:
      type: object
      additionalProperties: false
    GetAvailableTagNamesResponse:
      type: object
      required:
        - tagNames
      properties:
        tagNames:
          type: array
          items:
            type: string
          description: >-
            Distinct tag names available to the authenticated user, sorted
            alphabetically.
      additionalProperties: false
    UnauthorizedError:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          example: Unauthorized
      additionalProperties: true
    InternalServerError:
      type: object
      required:
        - error
        - message
      properties:
        error:
          type: string
          example: Internal server error
        message:
          type: string
      additionalProperties: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

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