Retrieve funnel metrics
curl --request GET \
--url https://api-us.hihobbes.com/api/v1/metrics \
--header 'Authorization: Bearer <token>'import requests
url = "https://api-us.hihobbes.com/api/v1/metrics"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api-us.hihobbes.com/api/v1/metrics', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"days": 30,
"totalSessions": 248,
"qualifiedCount": 71,
"bookedCount": 29,
"highIntentCount": 64,
"avgDurationSeconds": 512.4,
"qualificationRate": 28.6,
"topSources": [
{
"source": "linkedin",
"count": 38
}
]
}{
"detail": "API key required or invalid."
}{
"detail": "API key does not include the required scope."
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}{
"detail": "Rate limit or organization quota exceeded."
}Metrics
Retrieve funnel metrics
Return aggregate funnel performance for a trailing day window.
GET
/
api
/
v1
/
metrics
Retrieve funnel metrics
curl --request GET \
--url https://api-us.hihobbes.com/api/v1/metrics \
--header 'Authorization: Bearer <token>'import requests
url = "https://api-us.hihobbes.com/api/v1/metrics"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api-us.hihobbes.com/api/v1/metrics', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"days": 30,
"totalSessions": 248,
"qualifiedCount": 71,
"bookedCount": 29,
"highIntentCount": 64,
"avgDurationSeconds": 512.4,
"qualificationRate": 28.6,
"topSources": [
{
"source": "linkedin",
"count": 38
}
]
}{
"detail": "API key required or invalid."
}{
"detail": "API key does not include the required scope."
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}{
"detail": "Rate limit or organization quota exceeded."
}Requires
analytics:read.
Choose a trailing window from 1 to 365 UTC days. The response includes session,
qualification, booking, high-intent, duration, qualification-rate, and top-source
metrics.
qualificationRate is already a percentage from 0 to 100, rounded to two
decimal places. Do not multiply it again in the presentation layer.Authorizations
bearerapiKeyHeader
Hobbes API key with the hb_live_ prefix.
Query Parameters
Trailing number of UTC days to aggregate. Defaults to 30 and accepts 1-365.
Required range:
1 <= x <= 365Response
Successful Response
Trailing UTC day window used for the aggregation.
Example:
30
Analyzed sessions in the window.
Example:
248
Currently qualified unique people active in the window.
Example:
71
Sessions that produced a booking.
Example:
29
High-intent unique people active in the window.
Example:
64
Average session duration in seconds.
Example:
512.4
Qualified unique active people divided by all unique active people, from 0 to 100.
Example:
28.6
Top acquisition sources by session count.
Show child attributes
Show child attributes