Request
Method:GET
URL: https://kiosapi.com/v1/dashboard/billing/account
Headers
Examples
- cURL
- Python
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Retrieve your KiosAPI account details — including account ID, username, balance, and total usage — via GET /v1/dashboard/billing/account.
GET
URL: https://kiosapi.com/v1/dashboard/billing/account
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer sk-xxx |
curl https://kiosapi.com/v1/dashboard/billing/account \
-H "Authorization: Bearer sk-xxx"
import requests
url = "https://kiosapi.com/v1/dashboard/billing/account"
headers = {"Authorization": "Bearer sk-xxx"}
response = requests.get(url, headers=headers)
data = response.json()
print(f"Account ID: {data.get('id')}")
print(f"Balance: ${data.get('balance', 0)}")
{
"id": "user-xxx",
"username": "your-email@example.com",
"balance": 10.50,
"used": 3.25,
"created_at": 1686935002
}
| Field | Type | Description |
|---|---|---|
id | string | Your unique KiosAPI account identifier |
username | string | The email address associated with your account |
balance | number | Remaining credit balance in USD |
used | number | Total spend to date in USD |
created_at | integer | Unix timestamp of when the account was created |