AgentPMT Browser Fleet API

The browser_fleet API from AgentPMT — 21 operation(s) for browser_fleet.

Operations 22

GET /internal/browser-fleet/setup-status Get Setup Status #
GET /internal/browser-fleet/access Get Access #
GET /internal/browser-fleet/accounts List Accounts #
POST /internal/browser-fleet/accounts/capture Capture Account #
POST /internal/browser-fleet/accounts/{account_id}/capture-session Start Capture Session #
POST /internal/browser-fleet/accounts/{account_id}/refresh Refresh Account #
POST /internal/browser-fleet/accounts/{account_id}/rename Rename Account #
POST /internal/browser-fleet/accounts/{account_id}/revoke Revoke Account #
GET /internal/browser-fleet/policy Get Policy #
PUT /internal/browser-fleet/policy Put Policy #
POST /internal/browser-fleet/capture-sessions/cancel-start Cancel Capture Start #
GET /internal/browser-fleet/sessions List Sessions #
POST /internal/browser-fleet/sessions/{session_id}/close Close Session #
POST /internal/browser-fleet/sessions/{session_id}/cancel Cancel Session #
GET /internal/browser-fleet/sessions/{session_id}/live-redirect Session Live Redirect #
POST /internal/browser-fleet/sweeps/autoscale Sweep Autoscale #
POST /internal/browser-fleet/prewarm Prewarm #
POST /internal/browser-fleet/sweeps/expire-sessions Sweep Expire Sessions #
POST /internal/browser-fleet/sweeps/gc Sweep Gc #
GET /internal/browser-fleet/runtime-memory Read Runtime Memory #
POST /internal/browser-fleet/runtime-memory/reconcile Reconcile Runtime Memory #
POST /internal/browser-fleet/droplets/{droplet_ref}/destroy Destroy Runtime Droplet #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/agentpmt-com:agentpmt-com-browser-fleet-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

agentpmt-com-browser-fleet-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fast Browser Fleet API
  version: 0.1.0
tags:
- name: browser_fleet
paths:
  /internal/browser-fleet/setup-status:
    get:
      tags:
      - browser_fleet
      summary: Get Setup Status
      operationId: get_setup_status_internal_browser_fleet_setup_status_get
      security:
      - HTTPBasic: []
      parameters:
      - name: budget_id
        in: query
        required: true
        schema:
          type: string
          title: Budget Id
      - name: product_id
        in: query
        required: true
        schema:
          type: string
          title: Product Id
      - name: x-user-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-User-Id
      - name: x-request-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Request-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /internal/browser-fleet/access:
    get:
      tags:
      - browser_fleet
      summary: Get Access
      operationId: get_access_internal_browser_fleet_access_get
      security:
      - HTTPBasic: []
      parameters:
      - name: x-user-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-User-Id
      - name: x-request-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Request-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /internal/browser-fleet/accounts:
    get:
      tags:
      - browser_fleet
      summary: List Accounts
      operationId: list_accounts_internal_browser_fleet_accounts_get
      security:
      - HTTPBasic: []
      parameters:
      - name: include_revoked
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Include Revoked
      - name: x-user-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-User-Id
      - name: x-request-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Request-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /internal/browser-fleet/accounts/capture:
    post:
      tags:
      - browser_fleet
      summary: Capture Account
      operationId: capture_account_internal_browser_fleet_accounts_capture_post
      security:
      - HTTPBasic: []
      parameters:
      - name: x-user-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-User-Id
      - name: x-request-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Request-Id
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              title: Body
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /internal/browser-fleet/accounts/{account_id}/capture-session:
    post:
      tags:
      - browser_fleet
      summary: Start Capture Session
      description: 'Open an interactive login (capture/re-capture) session for the account and

        return the scoped live-view URL for the user to log in (#1).'
      operationId: start_capture_session_internal_browser_fleet_accounts__account_id__capture_session_post
      security:
      - HTTPBasic: []
      parameters:
      - name: account_id
        in: path
        required: true
        schema:
          type: string
          title: Account Id
      - name: x-user-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-User-Id
      - name: x-request-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Request-Id
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              title: Body
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /internal/browser-fleet/accounts/{account_id}/refresh:
    post:
      tags:
      - browser_fleet
      summary: Refresh Account
      operationId: refresh_account_internal_browser_fleet_accounts__account_id__refresh_post
      security:
      - HTTPBasic: []
      parameters:
      - name: account_id
        in: path
        required: true
        schema:
          type: string
          title: Account Id
      - name: x-user-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-User-Id
      - name: x-request-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Request-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /internal/browser-fleet/accounts/{account_id}/rename:
    post:
      tags:
      - browser_fleet
      summary: Rename Account
      operationId: rename_account_internal_browser_fleet_accounts__account_id__rename_post
      security:
      - HTTPBasic: []
      parameters:
      - name: account_id
        in: path
        required: true
        schema:
          type: string
          title: Account Id
      - name: x-user-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-User-Id
      - name: x-request-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Request-Id
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              title: Body
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /internal/browser-fleet/accounts/{account_id}/revoke:
    post:
      tags:
      - browser_fleet
      summary: Revoke Account
      operationId: revoke_account_internal_browser_fleet_accounts__account_id__revoke_post
      security:
      - HTTPBasic: []
      parameters:
      - name: account_id
        in: path
        required: true
        schema:
          type: string
          title: Account Id
      - name: x-user-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-User-Id
      - name: x-request-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Request-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /internal/browser-fleet/policy:
    get:
      tags:
      - browser_fleet
      summary: Get Policy
      operationId: get_policy_internal_browser_fleet_policy_get
      security:
      - HTTPBasic: []
      parameters:
      - name: x-user-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-User-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    put:
      tags:
      - browser_fleet
      summary: Put Policy
      operationId: put_policy_internal_browser_fleet_policy_put
      security:
      - HTTPBasic: []
      parameters:
      - name: x-user-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-User-Id
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              title: Body
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /internal/browser-fleet/capture-sessions/cancel-start:
    post:
      tags:
      - browser_fleet
      summary: Cancel Capture Start
      description: Persist cancellation intent before a capture session id is available.
      operationId: cancel_capture_start_internal_browser_fleet_capture_sessions_cancel_start_post
      security:
      - HTTPBasic: []
      parameters:
      - name: x-user-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-User-Id
      - name: x-request-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Request-Id
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              title: Body
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /internal/browser-fleet/sessions:
    get:
      tags:
      - browser_fleet
      summary: List Sessions
      operationId: list_sessions_internal_browser_fleet_sessions_get
      security:
      - HTTPBasic: []
      parameters:
      - name: x-user-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-User-Id
      - name: x-request-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Request-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /internal/browser-fleet/sessions/{session_id}/close:
    post:
      tags:
      - browser_fleet
      summary: Close Session
      operationId: close_session_internal_browser_fleet_sessions__session_id__close_post
      security:
      - HTTPBasic: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          title: Session Id
      - name: x-user-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-User-Id
      - name: x-request-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Request-Id
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              title: Body
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /internal/browser-fleet/sessions/{session_id}/cancel:
    post:
      tags:
      - browser_fleet
      summary: Cancel Session
      description: 'Discard a capture fast: the control plane accepts the terminal intent and

        the sweeps tear it down, so the dashboard is never blocked on a multi-minute

        synchronous teardown. Never exports or activates the browser state.'
      operationId: cancel_session_internal_browser_fleet_sessions__session_id__cancel_post
      security:
      - HTTPBasic: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          title: Session Id
      - name: x-user-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-User-Id
      - name: x-request-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Request-Id
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              title: Body
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /internal/browser-fleet/sessions/{session_id}/live-redirect:
    get:
      tags:
      - browser_fleet
      summary: Session Live Redirect
      description: 'Resolve the same-origin live-view redirect target for an owned session. The

        Next.js ``/api/browser-fleet/live/[sessionId]`` route calls this and 307-redirects

        the iframe to the returned ``redirect_url`` (mirrors the accounts

        ``/api/browser/live/**`` pattern); the raw token never reaches the browser JS.'
      operationId: session_live_redirect_internal_browser_fleet_sessions__session_id__live_redirect_get
      security:
      - HTTPBasic: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          title: Session Id
      - name: x-user-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-User-Id
      - name: x-request-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Request-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /internal/browser-fleet/sweeps/autoscale:
    post:
      tags:
      - browser_fleet
      summary: Sweep Autoscale
      operationId: sweep_autoscale_internal_browser_fleet_sweeps_autoscale_post
      security:
      - HTTPBasic: []
      parameters:
      - name: x-request-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Request-Id
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              title: Body
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /internal/browser-fleet/prewarm:
    post:
      tags:
      - browser_fleet
      summary: Prewarm
      description: 'Client-triggered warm-up (fired when a user opens the AstroBrowse tab) so a

        subsequent connect claims a warm droplet instead of eating a cold-provision.

        Best-effort and idempotent: ensures the steady-state warm target for the region

        and returns a summary. ``BROWSER_FLEET_PREWARM_LOCK_UNAVAILABLE`` (503) when the

        autoscale sweep is already provisioning is expected under concurrency and is

        surfaced to the facade, which treats it as a non-fatal deferral.'
      operationId: prewarm_internal_browser_fleet_prewarm_post
      security:
      - HTTPBasic: []
      parameters:
      - name: x-user-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-User-Id
      - name: x-request-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Request-Id
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              title: Body
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /internal/browser-fleet/sweeps/expire-sessions:
    post:
      tags:
      - browser_fleet
      summary: Sweep Expire Sessions
      description: 'Controller-owned expiry close (#3): persist storage_state + destroy droplets

        for sessions past their deadline. Cloud-Scheduler driven.'
      operationId: sweep_expire_sessions_internal_browser_fleet_sweeps_expire_sessions_post
      security:
      - HTTPBasic: []
      parameters:
      - name: x-request-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Request-Id
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              title: Body
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /internal/browser-fleet/sweeps/gc:
    post:
      tags:
      - browser_fleet
      summary: Sweep Gc
      operationId: sweep_gc_internal_browser_fleet_sweeps_gc_post
      security:
      - HTTPBasic: []
      parameters:
      - name: x-request-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Request-Id
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              title: Body
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /internal/browser-fleet/runtime-memory:
    get:
      tags:
      - browser_fleet
      summary: Read Runtime Memory
      operationId: read_runtime_memory_internal_browser_fleet_runtime_memory_get
      security:
      - HTTPBasic: []
      parameters:
      - name: region
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Region
      - name: x-request-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Request-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /internal/browser-fleet/runtime-memory/reconcile:
    post:
      tags:
      - browser_fleet
      summary: Reconcile Runtime Memory
      operationId: reconcile_runtime_memory_internal_browser_fleet_runtime_memory_reconcile_post
      security:
      - HTTPBasic: []
      parameters:
      - name: x-request-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Request-Id
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              title: Body
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /internal/browser-fleet/droplets/{droplet_ref}/destroy:
    post:
      tags:
      - browser_fleet
      summary: Destroy Runtime Droplet
      operationId: destroy_runtime_droplet_internal_browser_fleet_droplets__droplet_ref__destroy_post
      security:
      - HTTPBasic: []
      parameters:
      - name: droplet_ref
        in: path
        required: true
        schema:
          type: string
          title: Droplet Ref
      - name: x-request-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Request-Id
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              title: Body
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
  securitySchemes:
    HTTPBasic:
      type: http
      scheme: basic