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

# Check Slug Availability

> Check if a namespace slug is available for use.

Check if a namespace slug is available before creating a namespace. Slugs must be unique across all namespaces and follow URL-friendly formatting rules (lowercase alphanumeric characters, hyphens, and underscores).


## OpenAPI

````yaml openapi.json GET /namespaces/slug-availability/{slug}
openapi: 3.1.0
info:
  title: Sb0 API
  version: 0.1.0
servers: []
security: []
paths:
  /namespaces/slug-availability/{slug}:
    get:
      tags:
        - Namespaces
      summary: Check Slug Availability
      description: Check if a namespace slug is available for use.
      operationId: namespaces_check_slug_availability
      parameters:
        - in: path
          name: slug
          required: true
          schema:
            title: Slug
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SlugAvailabilityResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
components:
  schemas:
    SlugAvailabilityResponse:
      description: Response for slug availability check.
      properties:
        available:
          description: Whether the slug is available for use.
          title: Available
          type: boolean
        slug:
          description: The slug that was checked.
          title: Slug
          type: string
      required:
        - available
        - slug
      title: SlugAvailabilityResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object

````