CWA

Mint a short-lived BrowserAgent (TCG) token

Mint a short-lived TCG bearer for the in-extension BrowserAgent engine (LV-3757). Paid-only; counted against the monthly AI generation quota unless resuming a recent one.

post/api/v1/cwa/agent/browser_tokens

Request

  • Base URL
    https://toolkit.browserstack.com
  • Auth
    API key in cookie _wdt_rails_session

Request body

resumeboolean

Reuse a recent counted generation without spending quota (only honoured while one is recent).

Response

Token minted

successboolean

Example response

{
  "success": true,
  "data": {
    "jwt": "eyJhbGciOi...",
    "tcg_host": "https://lcnc-api.browserstack.com/ai-lca",
    "remaining_generations": 19,
    "limits": {
      "max_steps_per_automation": 75,
      "monthly_generations": 20
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.