Capture Sessions

Start a capture session

Spawn a browser session that records the network traffic of everything done in it.

Once completed, the capture session is a reusable recording: attach it to a task to generate an API from it.

post/v1beta/capture_sessions

Request

  • Base URL: https://api.indices.io
  • URL: https://api.indices.io/v1beta/capture_sessions
  • Auth: HTTP bearer

Request body

use_proxyboolean

If true, spawn the browser session using a proxy.

Response

Successful response

idstring required

Unique identifier for the capture session.

state'active' | 'completing' | 'completed' | 'abandoned' | 'failed' required
browser_session_idstring nullable required

Opaque identifier for the spawned browser session. Null once the browser is gone.

iframe_urlstring nullable required

URL to embed in an iframe to control the browser. Only usable while the session is active.

created_atstring date-time required

Timestamp when the object was created.

updated_atstring date-time required

Timestamp when the object was last updated.

Example response

{
  "id": "cap_0R3kPq8mWxYz1aBcDeFgHi",
  "created_at": "2026-01-01T12:00:00Z",
  "updated_at": "2026-01-06T12:05:00Z"
}

Changes

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