Skip to main content
GET
/
api
/
v2
/
browser-profiles
/
{profile_id}
Retrieve a browser profile
curl --request GET \
  --url https://agp.eu.hcompany.ai/api/v2/browser-profiles/{profile_id} \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://agp.eu.hcompany.ai/api/v2/browser-profiles/{profile_id}"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://agp.eu.hcompany.ai/api/v2/browser-profiles/{profile_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://agp.eu.hcompany.ai/api/v2/browser-profiles/{profile_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://agp.eu.hcompany.ai/api/v2/browser-profiles/{profile_id}"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("Authorization", "Bearer <token>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://agp.eu.hcompany.ai/api/v2/browser-profiles/{profile_id}")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://agp.eu.hcompany.ai/api/v2/browser-profiles/{profile_id}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
{
  "id": "<string>",
  "name": "<string>",
  "description": {},
  "browser_name": "<string>",
  "browser_version": "<string>",
  "s3_path": {},
  "file_size_bytes": {},
  "checksum": {},
  "usage_count": 123,
  "last_used_at": {},
  "labels": {},
  "is_default": true,
  "created_at": "<string>",
  "updated_at": "<string>"
}
Fetches a single browser profile. Returns the profile object.

Path parameters

profile_id
string
required
The profile’s id (UUID).

The browser profile object

id
string
Unique profile identifier (UUID).
name
string
Human-readable label.
description
string | null
Optional free-text description.
browser_name
string
Browser the profile was captured with (for example chromium).
browser_version
string
Browser version string the profile was captured with.
s3_path
string | null
Internal storage path of the profile archive.
file_size_bytes
integer | null
Size of the stored archive in bytes.
checksum
string | null
SHA-256 checksum of the stored archive, computed at upload time.
usage_count
integer
Number of times the profile has been loaded into a session.
last_used_at
string | null
ISO 8601 timestamp of the last time the profile was loaded, or null if never used.
labels
object | null
Key-value metadata you set on the profile.
is_default
boolean
Whether this profile is your default for its browser_name. Set and cleared via the set-default and unset-default endpoints.
created_at
string
ISO 8601 creation timestamp.
updated_at
string
ISO 8601 timestamp of the last change.

Examples

curl "https://agp.eu.hcompany.ai/api/v2/browser-profiles/a1b2c3d4-5678-90ab-cdef-1234567890ab" \
  -H "Authorization: Bearer $HAI_API_KEY"
from hai_agents import Client

client = Client()

profile = client.browser_profiles.get_browser_profile(profile_id="a1b2c3d4-5678-90ab-cdef-1234567890ab")
print(profile.name, profile.browser_name, profile.usage_count)
import { HaiAgentsClient } from "hai-agents";

const client = new HaiAgentsClient();

const profile = await client.browserProfiles.getBrowserProfile({
  profileId: "a1b2c3d4-5678-90ab-cdef-1234567890ab",
});
console.log(profile.name, profile.browserName, profile.usageCount);
Response
{
  "id": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
  "name": "acme-prod-login",
  "description": null,
  "browser_name": "chromium",
  "browser_version": "131",
  "s3_path": "browser-profiles/finished/org_123/a1b2c3d4-5678-90ab-cdef-1234567890ab/profile.zip",
  "file_size_bytes": 102400,
  "checksum": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
  "usage_count": 3,
  "last_used_at": "2026-06-16T13:05:00Z",
  "labels": {"team": "qa"},
  "is_default": false,
  "created_at": "2026-06-16T14:30:00Z",
  "updated_at": "2026-06-16T14:30:00Z"
}

Errors

StatusCause
404Profile not found or you don’t have access.