Pause Session Recording
POST /v1/sessions/{session_id}/recordings/pause — pauseRecording
import { client, Recordings } from 'anchorbrowser';
// ANCHORBROWSER_API_KEY is read from the environment by default;
// set it explicitly like this:
client.setConfig({ auth: () => 'your-api-key' });
const result = await Recordings.pauseRecording({
path: {
session_id: 'your-session-id'
}
});
console.log(result);
from anchorbrowser import Anchorbrowser
# ANCHORBROWSER_API_KEY is read from the environment by default;
# set it explicitly with Anchorbrowser(api_key="your-api-key")
client = Anchorbrowser()
result = client.recordings.pause_recording(
"your-session-id",
)
print(result)
Resume Session Recording
POST /v1/sessions/{session_id}/recordings/resume — resumeRecording
import { client, Recordings } from 'anchorbrowser';
// ANCHORBROWSER_API_KEY is read from the environment by default;
// set it explicitly like this:
client.setConfig({ auth: () => 'your-api-key' });
const result = await Recordings.resumeRecording({
path: {
session_id: 'your-session-id'
}
});
console.log(result);
from anchorbrowser import Anchorbrowser
# ANCHORBROWSER_API_KEY is read from the environment by default;
# set it explicitly with Anchorbrowser(api_key="your-api-key")
client = Anchorbrowser()
result = client.recordings.resume_recording(
"your-session-id",
)
print(result)
List Session Recordings
GET /v1/sessions/{session_id}/recordings — listRecordings
import { client, Recordings } from 'anchorbrowser';
// ANCHORBROWSER_API_KEY is read from the environment by default;
// set it explicitly like this:
client.setConfig({ auth: () => 'your-api-key' });
const result = await Recordings.listRecordings({
path: {
session_id: 'your-session-id'
}
});
console.log(result);
from anchorbrowser import Anchorbrowser
# ANCHORBROWSER_API_KEY is read from the environment by default;
# set it explicitly with Anchorbrowser(api_key="your-api-key")
client = Anchorbrowser()
result = client.recordings.list_recordings(
"your-session-id",
)
print(result)
Get Session Recording
GET /v1/sessions/{session_id}/recordings/primary/fetch — fetchPrimaryRecording
import { client, Recordings } from 'anchorbrowser';
// ANCHORBROWSER_API_KEY is read from the environment by default;
// set it explicitly like this:
client.setConfig({ auth: () => 'your-api-key' });
const result = await Recordings.fetchPrimaryRecording({
path: {
session_id: 'your-session-id'
}
});
console.log(result);
from anchorbrowser import Anchorbrowser
# ANCHORBROWSER_API_KEY is read from the environment by default;
# set it explicitly with Anchorbrowser(api_key="your-api-key")
client = Anchorbrowser()
result = client.recordings.fetch_primary_recording(
"your-session-id",
)
print(result)
Delete Session Recording
DELETE /v1/sessions/{session_id}/recordings/{recording_id} — deleteRecording
import { client, Recordings } from 'anchorbrowser';
// ANCHORBROWSER_API_KEY is read from the environment by default;
// set it explicitly like this:
client.setConfig({ auth: () => 'your-api-key' });
const result = await Recordings.deleteRecording({
path: {
session_id: 'your-session-id',
recording_id: 'your-recording-id'
}
});
console.log(result);
from anchorbrowser import Anchorbrowser
# ANCHORBROWSER_API_KEY is read from the environment by default;
# set it explicitly with Anchorbrowser(api_key="your-api-key")
client = Anchorbrowser()
result = client.recordings.delete_recording(
"your-session-id",
"your-recording-id",
)
print(result)

