Users

List the credit rates

GET
/billing/rates

List the public credit rates of your workspace, or of whoever pays for space_id. Mode flat charges credits_per_unit per unit; mode cost charges credits = cost in USD x 1000 x multiplier. Rates of a provider's operations come from integrations.catalog.get.

Authorization

bearerApiKey
AuthorizationBearer <token>

Create a scoped API key in the Adlass settings.

In: header

Query Parameters

space_id?string

Rates of whoever pays for this Space; default your workspace.

Formatuuid
tenant_id?string

Tenant to act in (you must be a seated member; an admin for admin operations). Default: your personal tenant.

Formatuuid

Header Parameters

X-Request-Id?string

Optional correlation identifier.

Lengthlength <= 128

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/billing/rates"
{  "pricing_version": "example",  "credit_usd": 0,  "at_cost": false,  "rates": [    {      "key": "summary",      "unit": "token",      "mode": "flat",      "credits_per_unit": 0,      "multiplier": 0    }  ]}