POST
/
v1
/
sessions
/
{session_id}
/
agent
/
pause
JavaScript
import Anchorbrowser from 'anchorbrowser';

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

const successResponse = await client.sessions.agent.pause('550e8400-e29b-41d4-a716-446655440000');

console.log(successResponse.data);
{
  "data": {
    "status": "success"
  }
}

Authorizations

anchor-api-key
string
header
required

API key passed in the header

Path Parameters

session_id
string<uuid>
required

The ID of the browser session

Example:

"550e8400-e29b-41d4-a716-446655440000"

Response

200
application/json

Agent paused successfully

The response is of type object.