Javascript
import Anchorbrowser from 'anchorbrowser'; const client = new Anchorbrowser({ apiKey: 'sk-1jdfiaj0advpoaskdfpoks', }); const session = await client.sessions.retrieve('session_id'); console.log(session.session_id);
{ "session_id": "<string>", "team_id": "<string>", "duration": 123, "status": "<string>", "credits_used": 123, "configuration": {}, "playground": true, "proxy_bytes": 123, "tokens": {}, "steps": [ {} ], "tags": {}, "created_at": "2023-11-07T05:31:56Z" }
Retrieves detailed information about a specific browser session.
API key passed in the header
The ID of the session to retrieve.
Session retrieved successfully.
The response is of type object.
object