Get the current organization's services and quotas
GET https://api.suger.cloud/org/{orgId}/services-and-quotas
Customer-facing read endpoint returning the requesting organization's services snapshot — every catalog service with availability, enablement, the current-period quota usage, remaining/overage minutes, and the full Professional Services quota-period list. Access is gated by org-membership auth: the caller must be a member of {orgId}, and the endpoint returns data only for the caller's own organization.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
orgId | path | string | yes | Organization ID |
Responses
200 — Success
Content-Type: application/json · Schema: GetOrganizationLicensesAndServicesResponse
GetOrganizationLicensesAndServicesResponse fields:
| Field | Type | Required | Description |
|---|---|---|---|
licenses | array<LicenseView> | no | |
organization_id | string | no | |
services | array<OrganizationServiceView> | no | |
suger_contacts | SugerContacts | no |
LicenseView fields:
| Field | Type | Required | Description |
|---|---|---|---|
end_date | string | no | |
id | string | no | |
license_type | string | no | |
start_date | string | no |
OrganizationServiceView fields:
| Field | Type | Required | Description |
|---|---|---|---|
available | boolean | no | |
display_name | string | no | |
enabled | boolean | no | |
id | structs.ServiceID | no | |
over_quota | integer | no | |
quota | integer | no | |
quota_bearing | boolean | no | |
quota_unit | structs.QuotaUnit | no | |
quotas | array<ProfessionalServicesQuotaPeriodView> | no | |
remaining | integer | no | |
usage_mtd | integer | no |
SugerContacts fields:
| Field | Type | Required | Description |
|---|---|---|---|
account_executive | SugerContact | no | |
customer_success | SugerContact | no | |
product_solution | SugerContact | no |
ProfessionalServicesQuotaPeriodView fields:
| Field | Type | Required | Description |
|---|---|---|---|
created_by_display_name | string | no | |
created_by_user_id | string | no | |
creation_time | string | no | |
end_date | string | no | |
id | string | no | |
last_update_time | string | no | |
last_updated_by_display_name | string | no | |
last_updated_by_user_id | string | no | |
quota_minutes | integer | no | |
start_date | string | no |
SugerContact fields:
| Field | Type | Required | Description |
|---|---|---|---|
email | string | no | |
name | string | no |
500 — Internal server error
Content-Type: application/json
View as Markdown · Interactive API reference
Spotted something wrong or out of date on this page? Tell us and we'll correct it.