Skip to main content
GET
/
organization
/
{organizationId}
/
currentCost
Get organization current cost
curl --request GET \
  --url https://api.qovery.com/organization/{organizationId}/currentCost \
  --header 'Authorization: <api-key>'
{
  "plan": "FREE",
  "remaining_trial_day": 123,
  "renewal_at": "2023-11-07T05:31:56Z",
  "cost": {
    "total_in_cents": 30000,
    "total": 300,
    "currency_code": "USD"
  }
}

Authorizations

Authorization
string
header
required

Token API are generated by Qovery to manage machine to machine interaction and do not have a TTL. Prefix your token with "Token ". Curl Example: curl https://console.qovery.com/organization -H "Authorization: Token $qovery_token"

Path Parameters

organizationId
string<uuid>
required

Organization ID

Response

Get Cost

plan
enum<string>

BUSINESS & PROFESSIONAL are deprecated

Available options:
FREE,
TEAM,
TEAM_YEARLY,
ENTERPRISE,
ENTERPRISE_YEARLY,
PROFESSIONAL,
BUSINESS
remaining_trial_day
integer

number of days remaining before the end of the trial period

renewal_at
string<date-time> | null

date when the current plan will be renewed

cost
object