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

# Type Text

> Types a sequence of text with configurable speed and grouping.



## OpenAPI

````yaml api-reference/openapi.json post /api/keyboard/type
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: http://localhost:4242/{computer_name}
    description: Local development server
    variables:
      computer_name:
        default: your-computer-name
        description: Computer name
security: []
paths:
  /api/keyboard/type:
    post:
      tags:
        - keyboard
      summary: Type Text
      description: Types a sequence of text with configurable speed and grouping.
      operationId: typeText
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TypeTextRequest'
              description: Text to type and typing parameters
        required: true
      responses:
        '200':
          description: Successfully typed the text
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '500':
          description: Internal server error
components:
  schemas:
    TypeTextRequest:
      properties:
        text:
          type: string
          title: Text
          description: Text to type
          example: Hello, World!
        display_num:
          type: integer
          title: Display Num
          description: Display number to target
          default: 1
          example: 1
        typing_delay:
          type: integer
          minimum: 0
          title: Typing Delay
          description: Delay between keystrokes in milliseconds
          default: 12
          example: 12
        typing_group_size:
          type: integer
          exclusiveMinimum: 0
          title: Typing Group Size
          description: Number of characters to type at once
          default: 50
          example: 50
      type: object
      required:
        - text
      title: TypeTextRequest
      example:
        display_num: 1
        text: Hello, World!
        typing_delay: 12
        typing_group_size: 50
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````