---
title: "POST /api/browser/main"
method: POST
path: "/api/browser/main"
tags: ["Ai.Tlbx.MidTerm.OpenApi"]
---

# POST /api/browser/main

`POST /api/browser/main`

## Request body

- BrowserCommandRequest
  - `command` string, required
  - `selector` string, nullable
  - `value` string, nullable
  - `maxDepth` integer, nullable
  - `textOnly` boolean, required
  - `timeout` integer, nullable
  - `sessionId` string, nullable
  - `previewName` string, nullable
  - `previewId` string, nullable

## Response `200`

OK

- BrowserCommandResponse
  - `success` boolean, required
  - `result` string, nullable, required
  - `error` string, nullable, required
  - `matchCount` integer, nullable, required

## Changes

- **2026-05-25** `dcedcc4bcb22` — 1 info
  - endpoint added
- **2026-03-27** `536b8636ac1e` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/tlbx-ai/apis/tlbx-api/changes/api/browser/main/post.md)

---

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