Get service limits
GEThttps://api.instacloud.com/projects/{projectId}/services/{serviceId}/limits
Token scope: account · org · project — read-only tokens allowed.
A compute or managed-database service's current resource ceiling plus this plan's maximum (render a slider with its plan-limit marker). Includes the data volume (size + fixed mount path) when one is attached.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
projectId | path | string | yes | |
serviceId | path | string | yes |
Responses
200
Default Response
| Field | Type | Required | Description |
|---|---|---|---|
limits | object | yes | |
limits.cpu | integer | yes | |
limits.memoryMb | integer | yes | |
cap | object | yes | |
cap.cpu | integer | yes | |
cap.memoryMb | integer | yes | |
cap.volumeGib | integer | yes | |
volume | object | no | present only when the service has a volume |
volume.sizeGib | integer | yes | |
volume.mountPath | string | yes | configured container mount path (defaults to /data for compute) |
400
Default Response
| Field | Type | Required | Description |
|---|---|---|---|
error | string | yes |
404
Default Response
| Field | Type | Required | Description |
|---|---|---|---|
error | string | yes |