Get user
curl --request GET \
--url https://app.base44.com/api/v1/monitoring/{workspace_id}/users/{user_id} \
--header 'api_key: <api-key>'import requests
url = "https://app.base44.com/api/v1/monitoring/{workspace_id}/users/{user_id}"
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}/users/{user_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://app.base44.com/api/v1/monitoring/{workspace_id}/users/{user_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 => [
"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}/users/{user_id}"
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}/users/{user_id}")
.header("api_key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.base44.com/api/v1/monitoring/{workspace_id}/users/{user_id}")
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{
"user_id": "usr_abc123",
"email": "jane.doe@company.com",
"created_at": "2024-03-15T10:30:00Z",
"is_active": true,
"role": "member",
"total_apps": 12,
"total_superagents": 3,
"active_last_30d": true,
"total_message_credits": 1250,
"total_integration_credits": 340,
"total_credits": 1590,
"member_allocation": {
"credit_limit": 1000,
"credit_limit_source": "org_default",
"credit_limit_used": 420,
"credit_limit_remaining": 580,
"credit_limit_exceeded": false
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}users
Get user
Returns the specified user’s profile and credit consumption data for a custom date range.
You can use the from and to parameters to specify the date range for credit consumption. If not specified, defaults to consumption during the current billing period.
You can also call List user apps to see the apps owned by this user.
GET
/
{workspace_id}
/
users
/
{user_id}
Get user
curl --request GET \
--url https://app.base44.com/api/v1/monitoring/{workspace_id}/users/{user_id} \
--header 'api_key: <api-key>'import requests
url = "https://app.base44.com/api/v1/monitoring/{workspace_id}/users/{user_id}"
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}/users/{user_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://app.base44.com/api/v1/monitoring/{workspace_id}/users/{user_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 => [
"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}/users/{user_id}"
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}/users/{user_id}")
.header("api_key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.base44.com/api/v1/monitoring/{workspace_id}/users/{user_id}")
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{
"user_id": "usr_abc123",
"email": "jane.doe@company.com",
"created_at": "2024-03-15T10:30:00Z",
"is_active": true,
"role": "member",
"total_apps": 12,
"total_superagents": 3,
"active_last_30d": true,
"total_message_credits": 1250,
"total_integration_credits": 340,
"total_credits": 1590,
"member_allocation": {
"credit_limit": 1000,
"credit_limit_source": "org_default",
"credit_limit_used": 420,
"credit_limit_remaining": 580,
"credit_limit_exceeded": false
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Query Parameters
Response
Successful Response
Detailed user information with consumption data.
Was this page helpful?