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" } }
Pauses the AI agent for the specified browser session.
API key passed in the header
The ID of the browser session
"550e8400-e29b-41d4-a716-446655440000"
Agent paused successfully
The response is of type object.
object