---
title: "Type text on the host computer"
method: POST
path: "/computer/type"
---

# Type text on the host computer

`POST /computer/type`

## Request body

- TypeTextRequest
  - `text` string, required — Text to type on the host computer
  - `delay` integer — Delay in milliseconds between keystrokes. Ignored when smooth is true.
  - `smooth` boolean — Use human-like variable keystroke timing instead of a fixed delay. Defaults to true (same as moveMouse/dragMouse). Set to false for xdotool typing with an optional fixed delay between keys (delay=0 is instant). When true, text is typed in word-sized chunks with variable intra-word delays and natural inter-word pauses. The delay field is ignored when smooth is true.
  - `typo_chance` number — Per-character typo injection rate; mistakes are corrected with backspace. Default 0. Only applies when smooth is true (silently ignored when smooth is false).

## Response `200`

Text typed successfully

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

## Changes

> 52 revisions in range; 4 could not be searched.

- **2026-04-08** `56d552d7d8a6` — 2 info
  - added the new optional request property `smooth`
  - added the new optional request property `typo_chance`
- **2025-10-15** `fec7d95fae27` — 1 info
  - endpoint added
- **2025-06-27** `f980a92ab23f` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/kernel/apis/kernel-images-api/changes/computer/type/post.md)

---

[API](https://skmtc.dev/kernel/apis/kernel-images-api.md) · [All operations](https://skmtc.dev/kernel/apis/kernel-images-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kernel/kernel-images-api/revisions/7a641fa15a85/schema)
