Docker - Get consumed credit

Hello,
We are using Aspose in a docker container for the generation of PDF / Word documents.
We want to get information about our available/consumed credits.
For that we use the following endpoint "/v4.0/words/info" and the system returns a json in the following flormat:

{
  "Name": "Aspose.Words Cloud API",
  "Version": "24.4.0",
  "AdditionalInfo": [
    {
      "Key": "ConsumptionCredit",
      "Value": "75"
    },
    {
      "Key": "ConsumptionQuantity",
      "Value": "50.7545"
    }
  ],
  ...
}

We are not sure what the ConsumptionCredit and ConsumptionQuantity refer to and how they relate to our subscription/licence.
e.g. what ConsumptionCredit: “75” and ConsumptionQuantity: “50.7545” means ?

@SofianeB

Could you please clarify what specific information you are seeking regarding the ConsumptionCredit and ConsumptionQuantity values in relation to your subscription/license?

First we want to confirm that the api we call provide information about our consumed credits.
If yes then, what do ConsumptionCredit means?
e.g. is it 75 api calls?
Same for ConsumptionQuantity.

@SofianeB
GetConsumptionCredit method gets consumption credit. For example, for each loading or creation of a Document instance metering system records 1 credit * file_volume_factor.
GetConsumptionQuantity method gets consumption file size, i.e. size of the document that has been processed in megabytes.

Hello @alexey.noskov ,

Thank you for you answer.
Can you precise what the file_volume_factor is?
Basically what we want to know is how we can link the credit consumed with our credit available (in dollar) so that we can monitore efficiently and know when we need to refill our credit.

@SofianeB file_volume_factor is actual_file_ size/20MB. It means that if the processed file is more than 20MB it’s processing is credited for each 20MB of file size.

Is there any way to know how much credit are remaning?
e.g. if we buy for 1000$ of credit how do we get the number of available credit by api call?

@SofianeB Aspose.Words API does not provide such ability. I think it is better to consult with our sales team in Aspose.Purchase forum regarding this question.