Skip to content

This month's runs, calls, tokens and spend, with the plan's limits

GET
/v1/usage
curl --request GET \
--url https://api.supposing.app/v1/usage

Successful Response

Media typeapplication/json
Usage

This calendar month (UTC) so far.

object
plan
required
Plan
string
month
required
Month
string format: date
runs
required
Runs
integer
judge_calls
required
Judge Calls

Every model call, including failed attempts.

integer
prompt_tokens
required
Prompt Tokens
integer
completion_tokens
required
Completion Tokens
integer
cost_usd
required
Cost Usd

All model spend, on any key.

number
platform_cost_usd
required
Platform Cost Usd

The part billed to our OpenRouter key; counts toward the limit.

number
limits
required
PlanLimits
object
items_per_dataset
required
Items Per Dataset
integer
runs_per_month
required
Runs Per Month
integer
platform_spend_usd_per_month
required
Platform Spend Usd Per Month

Model spend included each month on our OpenRouter key. Spend on your own key is not capped.

number

Example generated

{
"plan": "example",
"month": "2026-04-15",
"runs": 1,
"judge_calls": 1,
"prompt_tokens": 1,
"completion_tokens": 1,
"cost_usd": 1,
"platform_cost_usd": 1,
"limits": {
"items_per_dataset": 1,
"runs_per_month": 1,
"platform_spend_usd_per_month": 1
}
}

Client error. Branch on code; show message and hint.

Media typeapplication/json
Error

The body of every non-2xx response.

object
code
required
Code

Stable machine-readable code, e.g. dataset_not_found.

string
message
required
Message
string
hint
Hint

What to do next.

Any of:
string
details
Details

Per-field problems, for invalid_request.

Any of:
Array<object>
ErrorDetail
object
field
required
Field

Dotted path to the field, e.g. ranking.rubric.

string
message
required
Message
string

Example generated

{
"code": "example",
"message": "example",
"hint": "example",
"details": [
{
"field": "example",
"message": "example"
}
]
}

Server error.

Media typeapplication/json
Error

The body of every non-2xx response.

object
code
required
Code

Stable machine-readable code, e.g. dataset_not_found.

string
message
required
Message
string
hint
Hint

What to do next.

Any of:
string
details
Details

Per-field problems, for invalid_request.

Any of:
Array<object>
ErrorDetail
object
field
required
Field

Dotted path to the field, e.g. ranking.rubric.

string
message
required
Message
string

Example generated

{
"code": "example",
"message": "example",
"hint": "example",
"details": [
{
"field": "example",
"message": "example"
}
]
}