Skip to main content
PATCH
/
v1
/
browser
/
session
Update Browser Session
curl --request PATCH \
  --url https://api.driver.dev/v1/browser/session \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "note": "Scraping product pages for client X"
}
'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Your Driver API key. Get one at https://app.driver.dev

Query Parameters

sessionId
string
required

The ID of the browser session to update.

Example:

"example-session-id"

Body

application/json
note
string
required

A note to attach to the session. Maximum 256 characters.

Maximum string length: 256
Example:

"Scraping product pages for client X"

Response

Successfully updated browser session.

success
boolean
required

Indicates whether the session was successfully updated.