Skip to main content
GET
Retrieve the active organisation

Authorizations

Authorization
string
header
required

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.

id
string
required
Example:

"org_2XnV8pQmLd4T"

object
string
required
Allowed value: "organization"
name
string
required
Example:

"Garage Dupont SAS"

slug
string
required
Example:

"garage-dupont"

plan
object
required
credits
object
required

Two independent credit balances. Live inference draws on live and test keys on test; neither can fund the other.

billing_country
string
required

Frozen at creation from the billing address, never from an IP. Selects the price book and the tax treatment.

Pattern: ^[A-Z]{2}$
currency
string
required

Settlement currency. One credit equals one USD cent.

Pattern: ^[A-Z]{3}$
created
integer<int64>
required

Epoch seconds, UTC.

Example:

1755300000

tax_id
string | null

VAT or tax identifier, validated where the jurisdiction allows it.

Example:

"FR40303265045"

storage_retention_days
integer

How long inputs and outputs live in storage before being purged.

Example:

30