Reports API (v1.0)
Reports with project-level consumption and expenses.
Get detailed project report
Returns detailed project expense data for the specified month, including breakdowns by product, facility, and resource.
Authorizations:
static_token
query Parameters
year required | integer [ 2020 .. 2030 ] Example: year=2025 Report year. |
month required | integer [ 1 .. 12 ] Example: month=8 Report month as a number from 1 to 12. |
locale | string Enum: "ru" "en" Example: locale=ru Locale for names in the response. |
Responses
Response samples
- 200
- 400
- 401
- 500
Content type
application/json
{- "status": "success",
- "data": {
- "account_id": 12345,
- "agreement_id": 0,
- "locale": "ru",
- "project_ids": [ ],
- "year": 2025,
- "month": 8,
- "projects": [
- {
- "id": "proj-1",
- "name": "project-1",
- "paid_by_balance": [
- {
- "balance": "main",
- "value": 16000000
}, - {
- "balance": "bonus",
- "value": 80000
}
], - "value": 36000,
- "products": [
- {
- "id": 21,
- "name": "S3",
- "paid_by_balance": [
- {
- "balance": "bonus",
- "value": 0
}
], - "value": 0,
- "objects": [
- {
- "id": "",
- "name": "",
- "type": "",
- "type_name": "",
- "service_name": null,
- "paid_by_balance": [
- {
- "balance": "bonus",
- "value": 0
}
], - "value": 0,
- "resources": [
- {
- "id": "traffic-mb",
- "name": "Outbound traffic (standard)",
- "quantity": 22,
- "unit": "MB",
- "unit_name": "MB",
- "paid_by_balance": [
- {
- "balance": "bonus",
- "value": 0
}
], - "value": 0,
- "provision_start": "2025-08-18T15:00:00",
- "provision_end": "2025-08-29T13:00:00"
}, - {
- "id": "traffic-req-put",
- "name": "PUT, POST, COPY requests (standard)",
- "quantity": 1,
- "unit": "item",
- "unit_name": "item",
- "paid_by_balance": [
- {
- "balance": "bonus",
- "value": 0
}
], - "value": 0,
- "provision_start": "2025-08-15T23:00:00",
- "provision_end": "2025-08-15T23:00:00"
}, - {
- "id": "traffic-req-get",
- "name": "GET and other requests (standard)",
- "quantity": 923,
- "unit": "item",
- "unit_name": "item",
- "paid_by_balance": [
- {
- "balance": "bonus",
- "value": 0
}
], - "value": 0,
- "provision_start": "2025-08-01T16:00:00",
- "provision_end": "2025-08-31T21:00:00"
}
], - "objects": [ ]
}
]
}, - {
- "id": 22,
- "name": "Cloud servers",
- "paid_by_balance": [
- {
- "balance": "bonus",
- "value": 36000
}
], - "value": 36000,
- "objects": [
- {
- "id": "11111111-1111-4111-8111-111111111111",
- "name": "203.0.113.10",
- "type": "network_floatingips",
- "type_name": "Public IP",
- "service_name": null,
- "paid_by_balance": [
- {
- "balance": "bonus",
- "value": 18000
}
], - "value": 18000,
- "resources": [
- {
- "id": "network_floatingips",
- "name": "Public IPs",
- "quantity": 744,
- "unit": "item",
- "unit_name": "item",
- "paid_by_balance": [
- {
- "balance": "bonus",
- "value": 18000
}
], - "value": 18000,
- "provision_start": "2025-08-01T00:00:00",
- "provision_end": "2025-08-31T23:00:00"
}
], - "objects": [ ]
}, - {
- "id": "22222222-2222-4222-8222-222222222222",
- "name": "198.51.100.20",
- "type": "network_floatingips",
- "type_name": "Public IP",
- "service_name": null,
- "paid_by_balance": [
- {
- "balance": "bonus",
- "value": 18000
}
], - "value": 18000,
- "resources": [
- {
- "id": "network_floatingips",
- "name": "Public IPs",
- "quantity": 744,
- "unit": "item",
- "unit_name": "item",
- "paid_by_balance": [
- {
- "balance": "bonus",
- "value": 18000
}
], - "value": 18000,
- "provision_start": "2025-08-01T00:00:00",
- "provision_end": "2025-08-31T23:00:00"
}
], - "objects": [ ]
}
]
}
]
}, - {
- "id": "proj-2",
- "name": "project-2",
- "paid_by_balance": [
- {
- "balance": "bonus",
- "value": 18000
}
], - "value": 18000,
- "products": [
- {
- "id": 21,
- "name": "S3",
- "paid_by_balance": [
- {
- "balance": "bonus",
- "value": 0
}
], - "value": 0,
- "objects": [
- {
- "id": "",
- "name": "",
- "type": "",
- "type_name": "",
- "service_name": null,
- "paid_by_balance": [
- {
- "balance": "bonus",
- "value": 0
}
], - "value": 0,
- "resources": [
- {
- "id": "traffic-mb",
- "name": "Outbound traffic (standard)",
- "quantity": 35,
- "unit": "MB",
- "unit_name": "MB",
- "paid_by_balance": [
- {
- "balance": "bonus",
- "value": 0
}
], - "value": 0,
- "provision_start": "2025-08-06T12:00:00",
- "provision_end": "2025-08-29T13:00:00"
}, - {
- "id": "traffic-req-get",
- "name": "GET and other requests (standard)",
- "quantity": 1098,
- "unit": "item",
- "unit_name": "item",
- "paid_by_balance": [
- {
- "balance": "bonus",
- "value": 0
}
], - "value": 0,
- "provision_start": "2025-08-01T16:00:00",
- "provision_end": "2025-08-31T21:00:00"
}
], - "objects": [ ]
}
]
}
]
}
], - "value": 62639000,
- "paid_by_balance": [
- {
- "balance": "bonus",
- "value": 62639000
}
]
}
}