Retrieves a list of projects for cost analysis over a specified time period.
Operation description
Retrieves the projects for which cost analysis is required.
Try it now
Test
RAM authorization
Request syntax
GET /api/v1/bills/instances HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| startDate |
integer |
Yes |
The start time of the time range for cost analysis. |
1775644926203 |
| endDate |
integer |
Yes |
The end time of the time range for cost analysis. |
1759975856382 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PopResult<List |
||
| requestId |
string |
The request ID. |
0FC8BA40-C712-5FFD-9AA5-24C8F47F86E9 |
| httpCode |
integer |
Indicates whether the request was successful. If the value of this parameter is not 200, the request failed. |
200 |
| data |
array<object> |
The returned data. |
|
|
object |
The returned data. |
||
| name |
string |
The project name. |
projectAbc |
Examples
Success response
JSON format
{
"requestId": "0FC8BA40-C712-5FFD-9AA5-24C8F47F86E9",
"httpCode": 200,
"data": [
{
"name": "projectAbc"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.