Skip to main content
GET
/
api
/
v2
/
browser-profiles
/
default
Get the default browser profile
curl --request GET \
  --url https://agp.eu.hcompany.ai/api/v2/browser-profiles/default \
  --header 'Authorization: Bearer <token>'
Fetches your default profile for a browser, or 404 when none exists yet. A default doesn’t have to be set explicitly: the first session created with use_default_browser_profile: true auto-creates one. Returns the profile object.

Query parameters

browser_name
string
required
Browser flavor to look up the default for, for example chromium.

Examples

curl "https://agp.eu.hcompany.ai/api/v2/browser-profiles/default?browser_name=chromium" \
  -H "Authorization: Bearer $HAI_API_KEY"

Errors

StatusCause
404No default profile is set for this browser.