Retrieve the active organisation
The organisation carried by the JWT’s org_id claim: plan, credit balances (live and
test are separate purses), billing country and storage retention.
Minimum role: member.
Authorizations
Short-lived JWT issued by the CarHub auth service (Better Auth), verified against its
JWKS. Claims: sub (user), org_id (active organisation) and role
(owner | admin | member). Used by the dashboard for /mgmt/v1/… only — it is never
accepted on /v1/….
Response
The active organisation.
The billing and isolation unit: credits, plan, keys, jobs and usage all hang off it. Users come and go; the organisation and its keys stay.
"org_2XnV8pQmLd4T"
"organization""Garage Dupont SAS"
"garage-dupont"
Two independent credit balances. Live inference draws on live and test keys on test; neither can fund the other.
Frozen at creation from the billing address, never from an IP. Selects the price book and the tax treatment.
^[A-Z]{2}$Settlement currency. One credit equals one USD cent.
^[A-Z]{3}$Epoch seconds, UTC.
1755300000
VAT or tax identifier, validated where the jurisdiction allows it.
"FR40303265045"
How long inputs and outputs live in storage before being purged.
30