> ## Documentation Index
> Fetch the complete documentation index at: https://hub.hcompany.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get the default browser profile

> Fetch your default profile for a browser.

Fetches your [default profile](/computer-use-agents/browser/profiles#default-profiles) 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](/computer-use-agents/browser-profiles/retrieve).

***

## Query parameters

<ParamField query="browser_name" type="string" required>
  Browser flavor to look up the default for, for example `chromium`.
</ParamField>

***

## Examples

<CodeGroup>
  ```bash cURL theme={null}
  curl "https://agp.eu.hcompany.ai/api/v2/browser-profiles/default?browser_name=chromium" \
    -H "Authorization: Bearer $HAI_API_KEY"
  ```

  ```python Python theme={null}
  from hai_agents import Client

  client = Client()

  profile = client.browser_profiles.get_default_browser_profile(browser_name="chromium")
  print(profile.id, profile.name)
  ```

  ```typescript TypeScript theme={null}
  import { HaiAgentsClient } from "hai-agents";

  const client = new HaiAgentsClient();

  const profile = await client.browserProfiles.getDefaultBrowserProfile({
    browserName: "chromium",
  });
  console.log(profile.id, profile.name);
  ```
</CodeGroup>

***

## Errors

| Status | Cause                                       |
| ------ | ------------------------------------------- |
| `404`  | No default profile is set for this browser. |
