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

# Billing

> Read the billing plan, credit balance, payment details, and history.

These tools are read-only and can return sensitive billing information. Manage credit purchases, payment details, and plan changes in the 1eye app.

The examples below are MCP tool arguments. Replace uppercase IDs with values returned by your workspace.

## Tools

* [`get_billing`](#get-billing) — Read-only.
* [`list_billing_history`](#list-billing-history) — Read-only.

## `get_billing`

**Read-only**

Read the workspace's current billing configuration.

Purchasing credits and changing the plan are actions in the 1eye app, not this tool.

### Arguments

No arguments. Pass `{}`.

### Example

```json theme={null}
{}
```

**Returns:** Prepaid or postpaid plan, payment collection method, credit price, credit balance or current unbilled usage, auto reload, monthly limit, and payment method.

## `list_billing_history`

**Read-only**

List settled credit payments and issued invoices.

### Arguments

| Argument | Type | Required | Description |
| - | - | - | - |
| `limit` | number | No | Page size; defaults to 100. |
| `cursor` | string | No | Opaque continuation cursor from the same list. |
| `sort_order` | `asc` or `desc` | No | Oldest or newest first; defaults to `desc`. |

### Example

```json theme={null}
{
  "limit": 10
}
```

**Returns:** Paginated billing history, newest first by default, with `total` and `next_cursor`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.