cURL
curl --request GET \ --url https://api.gcore.com/billing/org/v1/calc-rules/{id} \ --header 'Authorization: <api-key>'
{ "id": 123, "name": "<string>", "rule_type": "commit" }
Retrieve a single CalcRule by ID.
CalcRule
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef
apikey
apikey 1234$abcdef
Name of calc rule
255
commit
overcommit
stepped
staged
unit
post_invoice
Was this page helpful?