Skip to main content
GET
/
sessions
/
{session_id}
/
network
/
logs
Session Network Logs
curl --request GET \
  --url https://api.example.com/sessions/{session_id}/network/logs \
  --header 'Authorization: Bearer <token>'
{
  "session_id": "<string>",
  "requests": [
    {
      "path": "<string>",
      "filename": "<string>",
      "type": "request",
      "download_url": "<string>",
      "download_url_expires_in_seconds": 123
    }
  ],
  "responses": [
    {
      "path": "<string>",
      "filename": "<string>",
      "type": "request",
      "download_url": "<string>",
      "download_url_expires_in_seconds": 123
    }
  ],
  "total_count": 123
}

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

Query Parameters

limit
integer
default:100

Maximum number of logs to return

Required range: 1 <= x <= 1000
download
boolean
default:true

Whether to include download URLs for the logs

Response

Successful Response

session_id
string
required
requests
NetworkLogFile · object[]
required
responses
NetworkLogFile · object[]
required
total_count
integer
required