Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request GET \ --url https://api.example.com/api/v1/subscriptions/{subscription_id}/usage/history \ --header 'x-api-key: <x-api-key>'
[ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "subscription_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "quantity": "<string>", "description": "<string>", "idempotency_key": "<string>", "billed": true, "billed_at": "2023-11-07T05:31:56Z", "invoice_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "timestamp": "2023-11-07T05:31:56Z", "created_at": "2023-11-07T05:31:56Z" } ]
Successful Response
^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$