---
title: "Get Asset Usage"
method: GET
path: "/api/v1/billing/usage/assets"
tags: ["billing"]
---

# Get Asset Usage

`GET /api/v1/billing/usage/assets`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/api/v1/billing/usage/assets`
- Auth: none declared

Get current asset (database connection) usage and limits for the company.

TECH-576: Added for billing page asset usage display.

Returns:
    StandardResponse with data containing:
    - current: Current number of active assets
    - limit: Maximum assets allowed for subscription tier
    - is_unlimited: Whether tier has unlimited assets
    - can_add: Whether user can add more assets
    - percentage: Percentage of limit used (0-100)
    - tier_name: Subscription tier name

## Headers

- `Authorization` string

## Response `200`

Successful Response

- StandardResponse: Standard API response wrapper.
  - `success` boolean, required
  - `data` unknown
  - `message` string, nullable
  - `error` string, nullable
  - `meta` object, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api.md) · [All operations](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/llms.txt) · [OpenAPI document](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/revisions/51c755fb5d0b?raw)
