GET
/
v1
/
sessions
/
{session_id}
/
recordings
JavaScript
import Anchorbrowser from 'anchorbrowser';

const client = new Anchorbrowser({
  apiKey: 'sk-1jdfiaj0advpoaskdfpoks',
});

const recordings = await client.sessions.recordings.list('session_id');

console.log(recordings.data);
{
  "data": {
    "count": 123,
    "items": [
      {
        "id": "<string>",
        "is_primary": true,
        "file_link": "<string>",
        "suggested_file_name": "<string>",
        "duration": "<string>",
        "size": 123,
        "created_at": "2023-11-07T05:31:56Z"
      }
    ]
  }
}

Authorizations

anchor-api-key
string
header
required

API key passed in the header

Path Parameters

session_id
string
required

The ID of the browser session to retrieve recordings for.

Response

200
application/json

A set of recording URLs associated with the browser session.

The response is of type object.