---
title: "Get Assistant Balance"
method: GET
path: "/api/assistant/balance/{modelAndAdapter}"
tags: ["Assistant"]
---

# Get Assistant Balance

`GET /api/assistant/balance/{modelAndAdapter}`

Retrieve the current balance/usage information for the AI assistant.

## Path parameters

- `modelAndAdapter` string, required

## Response `200`

Current assistant balance and usage information

- ModelUsage — Usage statistics after deducting the costs of the message.
  - `credits` integer — The number of credits remaining after this message.
  - `input_tokens` integer — The number of input tokens used.
  - `output_tokens` integer — The number of output tokens used.

## Other responses

- `401` — Request was not properly authenticated
- `403` — Insufficient permissions for this request
- `500` — Internal SOC error; review SOC logs

---

[API](https://skmtc.net/security-onion-solutions/apis/security-onion-connect-api.md) · [All operations](https://skmtc.net/security-onion-solutions/apis/security-onion-connect-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/security-onion-solutions/security-onion-connect-api/revisions/0576ce393f8d/schema)
