Get app analytics
curl --request GET \
--url https://app.base44.com/api/v1/monitoring/{workspace_id}/apps/{app_id}/analytics \
--header 'api_key: <api-key>'import requests
url = "https://app.base44.com/api/v1/monitoring/{workspace_id}/apps/{app_id}/analytics"
headers = {"api_key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {api_key: '<api-key>'}};
fetch('https://app.base44.com/api/v1/monitoring/{workspace_id}/apps/{app_id}/analytics', 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://app.base44.com/api/v1/monitoring/{workspace_id}/apps/{app_id}/analytics",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"api_key: <api-key>"
],
]);
$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://app.base44.com/api/v1/monitoring/{workspace_id}/apps/{app_id}/analytics"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("api_key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.base44.com/api/v1/monitoring/{workspace_id}/apps/{app_id}/analytics")
.header("api_key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.base44.com/api/v1/monitoring/{workspace_id}/apps/{app_id}/analytics")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["api_key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"app_id": "app_abc123",
"app_name": "Sales Dashboard",
"unique_users": 156,
"total_views": 2847,
"avg_session_duration_sec": 0,
"views_last_7d": 312,
"views_last_30d": 1205,
"active_users_last_7d": 42,
"active_users_last_30d": 89,
"message_credits_consumed": 4250,
"integration_credits_consumed": 875,
"daily_views": [
{
"date": "2026-06-29",
"views": 45
},
{
"date": "2026-06-30",
"views": 52
}
],
"is_published": true,
"visibility": "Public (with login)",
"has_agent": true,
"has_backend_function": false,
"has_authentication": true,
"has_sso": false,
"has_secrets": true,
"last_published": "2025-01-10T14:30:00Z",
"pending_publish_request": {
"requested_at": "2025-01-12T09:15:00+00:00",
"requested_by_user_id": "user_abc123",
"requested_by_email": "jane.doe@company.com"
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}apps
Get app analytics
Returns detailed analytics for the specified app, including engagement metrics, deployment info, and governance flags.
Get app_id values from List user apps.
The
avg_session_duration_sec field always returns 0 as session tracking has not been implemented yet.GET
/
{workspace_id}
/
apps
/
{app_id}
/
analytics
Get app analytics
curl --request GET \
--url https://app.base44.com/api/v1/monitoring/{workspace_id}/apps/{app_id}/analytics \
--header 'api_key: <api-key>'import requests
url = "https://app.base44.com/api/v1/monitoring/{workspace_id}/apps/{app_id}/analytics"
headers = {"api_key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {api_key: '<api-key>'}};
fetch('https://app.base44.com/api/v1/monitoring/{workspace_id}/apps/{app_id}/analytics', 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://app.base44.com/api/v1/monitoring/{workspace_id}/apps/{app_id}/analytics",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"api_key: <api-key>"
],
]);
$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://app.base44.com/api/v1/monitoring/{workspace_id}/apps/{app_id}/analytics"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("api_key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.base44.com/api/v1/monitoring/{workspace_id}/apps/{app_id}/analytics")
.header("api_key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.base44.com/api/v1/monitoring/{workspace_id}/apps/{app_id}/analytics")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["api_key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"app_id": "app_abc123",
"app_name": "Sales Dashboard",
"unique_users": 156,
"total_views": 2847,
"avg_session_duration_sec": 0,
"views_last_7d": 312,
"views_last_30d": 1205,
"active_users_last_7d": 42,
"active_users_last_30d": 89,
"message_credits_consumed": 4250,
"integration_credits_consumed": 875,
"daily_views": [
{
"date": "2026-06-29",
"views": 45
},
{
"date": "2026-06-30",
"views": 52
}
],
"is_published": true,
"visibility": "Public (with login)",
"has_agent": true,
"has_backend_function": false,
"has_authentication": true,
"has_sso": false,
"has_secrets": true,
"last_published": "2025-01-10T14:30:00Z",
"pending_publish_request": {
"requested_at": "2025-01-12T09:15:00+00:00",
"requested_by_user_id": "user_abc123",
"requested_by_email": "jane.doe@company.com"
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Query Parameters
Response
Successful Response
Detailed analytics for a specific app
Was this page helpful?