---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://truto.one/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# List add-ons

> Source: https://truto.one/docs/api-reference/admin/billing/list-add-ons/

`GET /billing/add-on`

Resource: **Billing**

**Every add-on the team's plan offers** (one per catalog unified API when it prices `unified`), and every add-on the team has bought, with its state and any charge in progress.

## Query parameters

- **`team_id`** _(string, required)_

## Response body

- **`result`** _(array<object>)_
  - **`key`** _(string)_
    `pro`, `partner`, or `unified:<unified model name>` for one catalog unified API.
  - **`type`** _(string)_
    Allowed: `pro`, `partner`, `unified`
  - **`name`** _(string)_
  - **`price_cents`** _(integer)_
    Monthly price on the team's plan; null when the plan no longer offers it.
  - **`on`** _(boolean)_
    Turned on. An add-on that is on renews on the 1st of each month.
  - **`paid_through`** _(string)_
    Exclusive — paid up to the start of this month.
  - **`allowed_until`** _(string)_
    Exclusive — usable until this date. While on, the end of the paid month plus 7 days (the renewal is charged inside them); once turned off, the end of the paid month.
  - **`charge`** _(object)_
    The charge in progress, if any.
    - **`kind`** _(string)_
      Allowed: `turn_on`, `renewal`
    - **`month`** _(string)_
    - **`amount_cents`** _(integer)_
    - **`stripe_invoice_id`** _(string)_
    - **`hosted_invoice_url`** _(string)_
      Stripe's page to pay the invoice.

## Errors

| Status | Description |
| :----- | :---------- |
| `403` | Forbidden if the caller is not an admin of the team |

## Code examples

### curl

```bash
curl -X GET 'https://api.truto.one/billing/add-on' \
  -H 'Authorization: Bearer <your_api_token>' \
  -H 'Content-Type: application/json'
```

### JavaScript

```javascript
const response = await fetch('https://api.truto.one/billing/add-on', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer <your_api_token>',
    'Content-Type': 'application/json',
  },
});

const data = await response.json();
console.log(data);
```

### Python

```python
import requests

url = "https://api.truto.one/billing/add-on"
headers = {
    "Authorization": "Bearer <your_api_token>",
    "Content-Type": "application/json",
}
params = {
}

response = requests.get(url, headers=headers, params=params)
print(response.json())
```
