Cloud Cost
List Cloud Cost
Endpoint to list all Cloud Cost items
post/cloud-cost/get-list
Request
- Base URLhttps://oneuptime.com/api
- AuthAPI key in header APIKey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"query": {
"day": {
"_type": "GreaterThan",
"value": "2026-01-01T00:00:00.000Z"
}
},
"select": {
"projectId": true,
"cloudAccountId": true,
"cloudConnectionId": true
},
"sort": {
"day": "DESC"
},
"groupBy": {
"projectId": true
}
}Response
Successful response
Example response
{
"data": [
{
"projectId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"cloudAccountId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"cloudConnectionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"provider": "Example text value",
"accountId": "Example text value",
"day": "2023-01-15T12:30:00.000Z",
"service": "Example text value",
"region": "Example text value",
"resourceId": "Example text value",
"cost": 123.45,
"currency": "Example text value",
"readAt": "2023-01-15T12:30:00.000Z"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.