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

const client = new Anchorbrowser({
  apiKey: 'My API Key',
});

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

console.log(primary);

const content = await primary.blob();
console.log(content);
This response does not have an example.

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 download the recording for.

Response

200
video/mp4

The browser session recording file

The response is of type file.