---
title: "Browser Human Input"
method: POST
path: "/api/chats/{chat_id}/browser-sessions/{session_id}/input"
tags: ["browser-supervision"]
---

# Browser Human Input

`POST /api/chats/{chat_id}/browser-sessions/{session_id}/input`

## Request

- Base URL: `https://app.thinqos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.thinqos.com/api/chats/{chat_id}/browser-sessions/{session_id}/input`
- Auth: none declared

## Path parameters

- `chat_id` string, uuid, required
- `session_id` string, uuid, required

## Headers

- `x-impersonate-identity-id` string, nullable

## Request body

- union
  - BrowserClickInput
    - `type` 'click', required
    - `x` number, required
    - `y` number, required
    - `frame_version` integer, required
  - BrowserTextInput
    - `type` 'text', required
    - `value` string, required
  - BrowserKeyInput
    - `type` 'key', required
    - `key` string, required
  - BrowserScrollInput
    - `type` 'scroll', required
    - `x` number
    - `y` number
  - BrowserDragInput
    - `type` 'drag', required
    - `x` number, required
    - `y` number, required
    - `to_x` number, required
    - `to_y` number, required
    - `frame_version` integer, required
  - BrowserSwitchTabInput
    - `type` 'switch_tab', required
    - `index` integer, required
  - BrowserFormFillInput
    - `type` 'form_fill', required
    - `index` integer, required
    - `value` string, required
    - `tag` string, required
  - BrowserFormSubmitInput
    - `type` 'form_submit', required
    - `index` integer, required
    - `tag` string, required

## Response `200`

Successful Response

- BrowserInputResponse
  - `applied` boolean, required
  - `type` 'click' | 'text' | 'key' | 'scroll' | 'drag' | 'switch_tab' | 'form_fill' | 'form_submit', required
  - `url` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/thinqos/apis/thinqos-api.md) · [All operations](https://skmtc.dev/thinqos/apis/thinqos-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thinqos/apis/thinqos-api/revisions/ce2c2ce318b1?raw)
