Cloud Cost
Get Cloud Cost
Endpoint to retrieve a single Cloud Cost by ID
post/cloud-cost/{id}/get-item
Request
- Base URLhttps://oneuptime.com/api
- AuthAPI key in header APIKey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
ID of the Cloud Cost to retrieve
Request body
Example request
{
"select": {
"projectId": true,
"cloudAccountId": true,
"cloudConnectionId": 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.