vhost.getAIDailySummary

Syntax

mixed vhost.getAIDailySummary ( INT vhostId, Date startDate = NULL, Date endDate = NULL, mixed summarizeBy = 3, mixed type = 'aws', mixed subType = 0 )

Argument Info

NameTypeRequiredDefault valueDescription
vhostIdINTRequirednoneThe Id of the vhost.
startDateDateOptionalNULLThe start of the time period for the storage data.
Format: Unix timestamp or 'YYYY-MM-DD'
endDateDateOptionalNULLThe number of records that you want returned.
summarizeBymixedOptional3
typemixedOptional'aws'
subTypemixedOptional0

Response

NameTypeDescriptionPossible Values
dateDateThe date for the storage value.YYYY-mm-dd
countINTThe total AI calls for the day.0
total_countINTThe running total of the AI calls up to the end of that date in the timeframe.
It is available in each item of the results and specific to that date.
(It is available as result->item->total_count)
0
totalCountINTThe overall total of the AI calls for the specified timeframe.
(It is available as result->totalCount)
0

Return Values

FieldDescriptionPossible Values