API

BrowserSessionEvent

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
GET /api/v1/organizations/{organization_id}/browser_sessions/{browser_session_id}/events list Up to 100 ordered events without private model reasoning

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

browser_session_events, err := client.BrowserSessionEvent(nil).List(map[string]any{"browser_session_id": "example", "organization_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(browser_session_events)

Lua

Construct client as shown in the Lua setup, then call the operations:

local browser_session_events, err = client:BrowserSessionEvent():list({ browser_session_id = "example", organization_id = "example" })

PHP

Construct client as shown in the PHP setup, then call the operations:

$browser_session_events = $client->BrowserSessionEvent()->list(["browser_session_id" => "example", "organization_id" => "example"]);

Python

Construct client as shown in the Python setup, then call the operations:

browser_session_events = client.BrowserSessionEvent().list({"browser_session_id": "example", "organization_id": "example"})

Ruby

Construct client as shown in the Ruby setup, then call the operations:

browser_session_events = client.BrowserSessionEvent.list({ "browser_session_id" => "example", "organization_id" => "example" })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const browser_session_events = await client.BrowserSessionEvent().list({ browser_session_id: "example", organization_id: "example" })

Fields

Field Type Required Description
browser_task_id one,string,null No Browser Task Id
created_at string Yes Created At
id string Yes Id
kind string Yes Kind
payload object Yes Payload
source_sequence one,integer,null No Source Sequence

list

GET /api/v1/organizations/{organization_id}/browser_sessions/{browser_session_id}/events

Operation ID: api_v1_events.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
browser_session_id path string Yes
after query string No Cursor from the same browser session.

Responses

200: Up to 100 ordered events without private model reasoning

application/json

Property Type Required Description
items array of object Yes
items[].browser_task_id string No
items[].created_at string (date-time) Yes
items[].id string Yes
items[].kind enum: activity, task_finished Yes
items[].payload object Yes
items[].source_sequence integer No
next_cursor string Yes
truncated boolean Yes
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway