Skip to main content
POST
/
sessions
/
{session_id}
/
cookies
python
import json
from notte_sdk import NotteClient

notte = NotteClient()
# load the cookies from json and inject them in the session
with open("cookies.json", "r") as f:
    cookies = json.load(f)

with notte.Session() as session:
    cookies = session.set_cookies(cookies)
{
  "success": true,
  "message": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://notte-experiment-visibility-md-links.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

x-notte-request-origin
string | null
x-notte-sdk-version
string | null

Path Parameters

session_id
string
required

Body

application/json
cookies
Cookie · object[]
required

Response

Successful Response

success
boolean
required

Whether the operation was successful

message
string
required

A message describing the operation