curl --request GET \
--url https://app.thinnest.ai/api/v1/usage \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.thinnest.ai/api/v1/usage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.thinnest.ai/api/v1/usage"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"plan": "payg",
"currency": "INR",
"period": {
"start": "2026-10-01T00:00:00.000Z",
"end": "2026-11-01T00:00:00.000Z"
},
"replies": {
"used": 1240,
"included": null,
"metered": true,
"stopped": false
},
"billedTo": "self",
"wallet": {
"balanceMicro": 1850000000,
"availableMicro": 1350000000,
"heldMicro": 500000000,
"creditMicro": 0,
"creditExpiresAt": null
},
"daily": [
{
"day": "2026-10-06",
"replies": 52
},
{
"day": "2026-10-07",
"replies": 61
}
]
}Get Usage
Your plan, this calendar month’s (UTC) replies against its allowance, the wallet, and replies per UTC day for the last days — the figures on the console’s Usage page. Any key may call this, a read-only key included.
curl --request GET \
--url https://app.thinnest.ai/api/v1/usage \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.thinnest.ai/api/v1/usage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.thinnest.ai/api/v1/usage"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"plan": "payg",
"currency": "INR",
"period": {
"start": "2026-10-01T00:00:00.000Z",
"end": "2026-11-01T00:00:00.000Z"
},
"replies": {
"used": 1240,
"included": null,
"metered": true,
"stopped": false
},
"billedTo": "self",
"wallet": {
"balanceMicro": 1850000000,
"availableMicro": 1350000000,
"heldMicro": 500000000,
"creditMicro": 0,
"creditExpiresAt": null
},
"daily": [
{
"day": "2026-10-06",
"replies": 52
},
{
"day": "2026-10-07",
"replies": 61
}
]
}Authorizations
Headers
Developers only: the customer workspace this request acts in — its org_… id from POST /customers. Leave it out to act in your own workspace. Refused with 404 (Workspace not found.) when the id is unknown, is not one of your customers, or is not an org_… id; 410 when that customer was deleted (restore it with POST /customers/{id}/restore until it is erased); 403 when the key belongs to one customer workspace (it cannot act as another); 400 when your workspace is not a developer workspace. /customers/* and GET /customers/usage are your own workspace's and refuse the header with 400: call them without it.
"org_3fKq9TzQ1mN8vB2xR7cLpA"
Query Parameters
Response
Usage.
Plan, replies this period, wallet and replies per day.