list-service-quotas
dci list-service-quotas [flags]
Returns the latest service quota usage snapshots collected by DoiT for the authenticated customer. Results include only quotas retained by DoiT's monitoring collectors and are not a complete or live inventory from the cloud providers. Results are sorted by utilization percentage in descending order.
Flags
--cloud-provider: (string enum:"aws","gcp")
--min-utilization-percent: (number format:double)
--max-results: (integer format:int32 default:50)
--page-token: (string)
Output
OK - Service quotas returned.
By default dci renders the result as a table. Use --output json to get the full structure described below — see Output formats.
| Field | Type | Description |
|---|---|---|
items | array of object | Service quotas in this page. |
items[].cloudProvider | string | Cloud provider that owns the quota. One of: "aws", "gcp". |
items[].resource | object | |
items[].resource.type | string | Provider resource scope for the quota. One of: "account", "project". |
items[].resource.id | string | AWS account ID or Google Cloud project ID. |
items[].resource.name | string | Human-readable resource name when available. |
items[].service | string | Cloud service associated with the quota. |
items[].quota | string | Provider quota or metric name. |
items[].region | string | Cloud region associated with the quota. Omitted for global quotas. |
items[].limit | number (double) | Current quota limit. |
items[].usage | number (double) | Current measured quota usage. |
items[].utilizationPercent | number (double) | Usage divided by limit, expressed as a percentage. |
items[].status | string | Normalized utilization status. Warning begins at 80 percent; exceeded begins at 100 percent. One of: "ok", "warning", "exceeded". |
items[].observedAt | string (date-time) | Time when DoiT last updated the provider snapshot. |
pageToken | string | Opaque token for the next page. Omitted when there are no more results. |
rowCount | integer (int64) | Total number of results after filtering and before pagination. |
Raw JSON schema
{
"type": "object",
"required": [
"items",
"rowCount"
],
"properties": {
"items": {
"type": "array",
"description": "Service quotas in this page.",
"items": {
"type": "object",
"required": [
"cloudProvider",
"resource",
"service",
"quota",
"limit",
"usage",
"utilizationPercent",
"status",
"observedAt"
],
"properties": {
"cloudProvider": {
"type": "string",
"description": "Cloud provider that owns the quota.",
"enum": [
"aws",
"gcp"
]
},
"resource": {
"type": "object",
"required": [
"type",
"id"
],
"properties": {
"type": {
"type": "string",
"description": "Provider resource scope for the quota.",
"enum": [
"account",
"project"
]
},
"id": {
"type": "string",
"description": "AWS account ID or Google Cloud project ID.",
"example": "example-project"
},
"name": {
"type": "string",
"description": "Human-readable resource name when available.",
"example": "Example Project"
}
}
},
"service": {
"type": "string",
"description": "Cloud service associated with the quota.",
"example": "Compute Engine"
},
"quota": {
"type": "string",
"description": "Provider quota or metric name.",
"example": "CPUS"
},
"region": {
"type": "string",
"description": "Cloud region associated with the quota. Omitted for global quotas.",
"example": "us-central1"
},
"limit": {
"type": "number",
"format": "double",
"description": "Current quota limit.",
"example": 100
},
"usage": {
"type": "number",
"format": "double",
"description": "Current measured quota usage.",
"example": 85
},
"utilizationPercent": {
"type": "number",
"format": "double",
"description": "Usage divided by limit, expressed as a percentage.",
"example": 85
},
"status": {
"type": "string",
"description": "Normalized utilization status. Warning begins at 80 percent; exceeded begins at 100 percent.",
"enum": [
"ok",
"warning",
"exceeded"
]
},
"observedAt": {
"type": "string",
"format": "date-time",
"description": "Time when DoiT last updated the provider snapshot.",
"example": "2026-07-17T12:00:00Z"
}
}
}
},
"pageToken": {
"type": "string",
"description": "Opaque token for the next page. Omitted when there are no more results."
},
"rowCount": {
"type": "integer",
"format": "int64",
"description": "Total number of results after filtering and before pagination."
}
}
}
Errors
On failure, dci prints a single error message — with a hint when one is available — and exits with a typed code your scripts can branch on. See Errors and exit codes for the full contract.
| HTTP status | Exit code | Error code | Meaning |
|---|---|---|---|
| 400 | 30 | VALIDATION_ERROR | The arguments or request body were rejected. Review the command's flags and payload. |
| 401 | 10 | AUTHENTICATION_FAILED | Not signed in, or the API token is invalid. Run dci login or check DCI_API_KEY. |
| 403 | 11 | PERMISSION_DENIED | The DoiT user or the active customer context does not have access. |
| 500 | 40 | API_SERVER_ERROR | The API failed to process the request. Retryable; contact DoiT support if it persists. |
Aliases: listservicequotas