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

# Enterprise Monitoring API Overview

> Get started with the Base44 Enterprise Monitoring API

The Monitoring API provides visibility into your Base44 workspace, including user activity, resource consumption, and app configurations.

Use the Monitoring API to:

* Track credit usage across your workspace and by individual users.
* Monitor user activity and identify inactive accounts.
* Audit app security settings.
* Analyze engagement with views, active users, and usage trends.
* Manage seat allocation and utilization.

## Workspaces

A [workspace](/documentation/account-and-billing/about-workspaces) is a shared environment where teams collaborate on apps. The Monitoring API provides workspace owners and admins with aggregate data across the users and apps in a specific workspace.

### Workspace ID

Most endpoints require a `workspace_id` in the URL path, and you must have admin or owner role in that workspace to access them.

To get your `workspace_id`, navigate to your workspace management page:

1. Click your profile icon at the top right of your account.
2. Hover over the relevant workspace and click **Manage**.
3. The workspace ID is the last part of the workspace management page URL.

## Example workflows

Here are some common ways to use the Monitoring API.

### Compare monthly usage

<Steps>
  <Step title="Get current month analytics">
    Call [`Get analytics`](/api-reference/analytics/get-analytics) with this
    month's date range to get current credit consumption and user activity.
  </Step>

  <Step title="Get previous month analytics">
    Call [`Get analytics`](/api-reference/analytics/get-analytics) again with
    last month's date range to compare trends.
  </Step>
</Steps>

### Analyze user activity

<Steps>
  <Step title="List users">
    Call [`List users`](/api-reference/users/list-users) to get all users with
    summary consumption data for the current billing period.
  </Step>

  <Step title="Get user">
    Call [`Get user`](/api-reference/users/get-user) to get consumption data for
    a specific user over a custom date range.
  </Step>
</Steps>

### Audit an app

<Steps>
  <Step title="List users">
    Call [`List users`](/api-reference/users/list-users) to find users in your
    workspace.
  </Step>

  <Step title="List user apps">
    Call [`List user apps`](/api-reference/users/list-user-apps) to get app IDs
    for a specific user.
  </Step>

  <Step title="Get app analytics">
    Call [`Get app analytics`](/api-reference/apps/get-app-analytics) to get
    detailed metrics and governance flags for the app.
  </Step>
</Steps>
