Get Usage Summary For Space
Get usage summary for a space
This endpoint retrieves the specified space's memory and app instance usage summary.
Request
URI
GET
https://api.example.local/v3/spaces/{guid}/usage_summary
COPY
Path Parameters
string
guid
Required
The unique identifier for the resource
Responses
200
OK
{
"usage_summary": {
"started_instances": 0,
"memory_in_mb": 0,
"routes": 0,
"service_instances": 0,
"reserved_ports": 0,
"domains": 0,
"per_app_tasks": 0,
"service_keys": 0
},
"links": {
"self": {
"href": "string",
"method": "string"
},
"space": {
"href": "string",
"method": "string"
}
}
}
object
usage_summary
Optional
usage_summary
object
links
Optional
links
401
Unauthorized
Returns
Unauthorized
of type(s)
application/json
{
"errors": [
{
"code": 0,
"detail": "string",
"title": "string"
}
]
}
array of
object
errors
Optional
errors
403
Forbidden
Returns
Forbidden
of type(s)
application/json
{
"errors": [
{
"code": 0,
"detail": "string",
"title": "string"
}
]
}
array of
object
errors
Optional
errors
404
Not Found
Returns
NotFound
of type(s)
application/json
{
"errors": [
{
"code": 0,
"detail": "string",
"title": "string"
}
]
}
array of
object
errors
Optional
errors
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/v3/spaces/{guid}/usage_summary
Spaces Operations
GET
List Spaces
POST
Create Space
GET
Get Space
PATCH
Update Space
DELETE
Delete Space
POST
Apply Manifest To Space
GET
List Space Features
GET
Get Space Feature
PATCH
Update Space Feature
POST
Create Manifest Diff For Space
GET
Get Assigned Isolation Segment For Space
PATCH
Manage Isolation Segment For Space
DELETE
Delete Unmapped Routes For Space
GET
Get Usage Summary For Space
GET
List Running Security Groups For Space
GET
List Staging Security Groups For Space
GET
List Users For Space