Retrieves the storage details of projects.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
odps:ListStorageProjectsInfo | list | *All Resource
| None | None |
Request syntax
GET /api/v1/observations/analysis/storage/projectsInfo HTTP/1.1Request parameters
Parameter | Type | Required | Description | Example |
tenantId | string | No | The tenant ID. You can log on to the MaxCompute console and choose Tenant Property in the navigation pane on the left to view the tenant ID. | 28074710977**** |
region | string | No | The region ID. | cn-chengdu |
projectPrefix | string | No | The prefix of the MaxCompute project name. | odps_project |
date | string | Yes | The statistics collection date. The date is accurate to the day. The date must be in the | 20241205 |
recentDays | integer | No | The number of days for year-over-year comparison. | 1 |
orderColumn | string | No | The column to sort by. Valid values:
| totalStorage |
ascOrder | boolean | No | Specifies whether to sort the results in ascending order. | false |
pageSize | integer | No | The number of entries to return on each page. | 10 |
pageNumber | integer | No | The page number. | 1 |
Response elements
Element | Type | Description | Example |
object | PopResult | ||
requestId | string | The request ID. | 0bc3b4b016674434996033675e71ee |
httpCode | integer | The HTTP status code.
| 200 |
errorCode | string | The error code. | OBJECT_NOT_EXIST |
errorMsg | string | The error message. | this quota is not exist. |
| data | object | The data. | |
| storageProjectInfoList | array<object> | The list of project-level storage information. | |
object | The project-level storage information. | ||
date | string | The statistics collection date. The date is accurate to the day. The date must be in the | 20250528 |
projectName | string | The name of the MaxCompute project. | max_testproject |
totalStorage | number | The total storage usage. | 1 |
totalStorageUnit | string | The unit of the total storage usage. | TB |
standardStorage | number | The Standard storage usage. | 500 |
standardStorageUnit | string | The unit of the Standard storage usage. | GB |
longTermStorage | number | The Long Term storage usage. | 300 |
longTermStorageUnit | string | The unit of the Long Term storage usage. | GB |
lowFreqStorage | number | The IA storage class usage. | 200 |
lowFreqStorageUnit | string | The unit of the IA storage class usage. | GB |
recycleBinStorage | number | The recycle bin storage usage. | 0 |
recycleBinStorageUnit | string | The unit of the recycle bin storage usage. | B |
rate | number | The year-over-year change rate of the total storage usage in the last {$recentDays} days. | 0.011872406445069006 |
timestamp | integer | The timestamp of the last data update. | 1749105045512 |
date | string | The statistics collection date. | 20241205 |
totalCount | integer | The total number of returned entries. | 60 |
pageNumber | integer | The page number. | 2 |
pageSize | integer | The number of entries on each page. | 10 |
Examples
Success response
JSON format
{
"requestId": "0bc3b4b016674434996033675e71ee",
"httpCode": 200,
"errorCode": "OBJECT_NOT_EXIST\n",
"errorMsg": "this quota is not exist.",
"data": {
"storageProjectInfoList": [
{
"date": "20250528",
"projectName": "max_testproject",
"totalStorage": 1,
"totalStorageUnit": "TB",
"standardStorage": 500,
"standardStorageUnit": "GB",
"longTermStorage": 300,
"longTermStorageUnit": "GB",
"lowFreqStorage": 200,
"lowFreqStorageUnit": "GB",
"recycleBinStorage": 0,
"recycleBinStorageUnit": "B",
"rate": 0.011872406445069006,
"timestamp": 1749105045512
}
],
"date": "20241205",
"totalCount": 60,
"pageNumber": 2,
"pageSize": 10
}
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.