Retrieve total amount of network traffic that was in use during the time specified by the input parameters for a computing instance.


Returns the total amount of bandwidth used during the time specified for a computing instance.


Name Type Description
startDateTime dateTime timestamp of the starting date
endDateTime dateTime timestamp of the ending date
direction string either “IN”, “OUT”, or “BOTH” with BOTH being default
side string either “PUBLIC”, “PRIVATE”, or “BOTH” with PUBLIC being default

Required Headers

Optional Headers

  • None

Return Values

  • unsignedLong
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [dateTime, dateTime, string, string]}' \