Javascript
import Anchorbrowser from 'anchorbrowser'; const client = new Anchorbrowser({ apiKey: 'My API Key', }); const profile = await client.profiles.retrieve('my-profile'); console.log(profile.data);
{ "data": { "name": "my-profile", "description": "This is my profile description.", "source": "session", "session_id": "550e8400-e29b-41d4-a716-446655440000", "store_cache": true, "status": "active", "created_at": "2024-01-01T12:00:00Z" } }
Retrieves details of a specific profile by its name.
API key passed in the header
The name of the profile to retrieve.
"my-profile"
Profile details retrieved successfully.
The response is of type object.
object