Retrieve all browser profiles associated with your workspace. Browser profiles allow you to maintain separate browser identities with unique cookies, settings, and configurations.
Once you have profile IDs, use them when starting conversations:
Copy
Ask AI
// First, get available profilesconst profilesResponse = await fetch("https://browsepilot.ai/api/profiles", { headers: { "x-api-key": apiKey },});const profiles = await profilesResponse.json();// Use a specific profile for automationconst workProfile = profiles.find((p) => p.name === "Work Account");// Start conversation with that profileconst chatResponse = await fetch("https://browsepilot.ai/api/chat", { method: "POST", headers: { "x-api-key": apiKey, "Content-Type": "application/json", }, body: JSON.stringify({ prompt: "Check my LinkedIn messages", profileId: workProfile.id, }),});
Profile Benefits: - Isolation: Keep different accounts and cookies
separate - Consistency: Maintain same fingerprint across sessions -
Efficiency: Pre-configured settings reduce setup time - Organization:
Easily manage multiple use cases
Currently, browser profiles must be created through the Browsepilot dashboard. API endpoints for creating and managing profiles programmatically are coming soon.To create profiles: