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

# Type text

> Type a string on the computer keyboard, one character at a time.

Types text on the computer keyboard. Each character is sent as an individual keystroke, so unicode characters and printable symbols are supported.

## Path parameters

<ParamField path="id" type="string" required>
  Computer ID (UUID).
</ParamField>

## Body parameters

<ParamField body="text" type="string" required>
  Text to type. Supports unicode characters.
</ParamField>

<ParamField body="delay_ms" type="integer" default="12">
  Delay between keystrokes in milliseconds. Lower values type faster; higher values can help with flaky inputs.
</ParamField>

## Response

<ResponseField name="success" type="boolean">
  `true` if text was typed.
</ResponseField>

<ResponseField name="action" type="string">
  Always `type`.
</ResponseField>

## Example

<CodeGroup>
  ```bash cURL theme={null}
  curl -X POST https://www.orgo.ai/api/computers/a3bb189e-8bf9-3888-9912-ace4e6543002/type \
    -H "Authorization: Bearer $ORGO_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{"text": "Hello, world!"}'
  ```

  ```python Python theme={null}
  import requests

  requests.post(
      f"https://www.orgo.ai/api/computers/{computer_id}/type",
      headers={"Authorization": f"Bearer {api_key}", "Content-Type": "application/json"},
      json={"text": "Hello, world!"}
  )
  ```

  ```javascript JavaScript theme={null}
  await fetch(`https://www.orgo.ai/api/computers/${computerId}/type`, {
    method: 'POST',
    headers: {
      'Authorization': `Bearer ${apiKey}`,
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({ text: 'Hello, world!' })
  });
  ```
</CodeGroup>

### Response

```json theme={null}
{
  "success": true,
  "action": "type",
  "details": { "text_length": 13 }
}
```

<Tip>
  Use [Press key](/api-reference/computers/key) for special keys like Enter, Tab, or keyboard shortcuts.
</Tip>

## Errors

| Status | Meaning                                             |
| ------ | --------------------------------------------------- |
| `400`  | Missing `text`, or computer instance not available. |
| `401`  | Missing or invalid API key.                         |
| `403`  | You do not have access to this computer.            |
| `404`  | Computer not found.                                 |
| `500`  | Upstream desktop agent failure.                     |


## OpenAPI

````yaml POST /computers/{id}/type
openapi: 3.1.0
info:
  title: Orgo API
  description: >-
    Launch cloud computers that AI agents can control and interact with. Create
    workspaces, provision computers, and control them programmatically.
  version: 2.0.0
  contact:
    name: Orgo Support
    email: spencer@orgo.ai
    url: https://orgo.ai
servers:
  - url: https://www.orgo.ai/api
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Workspaces
    description: Organize computers into named workspaces
  - name: Computers
    description: Provision and manage virtual computers
  - name: Computer Lifecycle
    description: Start, stop, and restart computers
  - name: Computer Actions
    description: Control mouse, keyboard, and execute commands
  - name: Streaming
    description: Stream computer display via RTMP
  - name: Files
    description: Upload and download files
  - name: Templates
    description: Author, build, and launch reproducible computers from templates
paths:
  /computers/{id}/type:
    post:
      tags:
        - Computer Actions
      summary: Type text
      description: Types text on the computer keyboard.
      operationId: typeText
      parameters:
        - name: id
          in: path
          required: true
          description: Computer ID
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TypeRequest'
            example:
              text: Hello, world!
      responses:
        '200':
          description: Text typed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    TypeRequest:
      type: object
      required:
        - text
      properties:
        text:
          type: string
          description: Text to type
    ActionResponse:
      type: object
      properties:
        success:
          type: boolean
          example: true
    Error:
      type: object
      properties:
        error:
          type: string
          description: Error message
  responses:
    Unauthorized:
      description: Invalid or missing API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Invalid API key
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Resource not found
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key authentication. Get your key at orgo.ai/workspaces

````