cURL
curl --request GET \ --url https://geniusforms.ai/api/v1/usage/history \ --header 'X-API-Key: <api-key>'
{ "history": [ { "id": 42, "endpoint": "forms.generate", "creditsConsumed": 5, "formId": 208, "formName": "Customer Survey", "createdAt": "2023-11-07T05:31:56Z" } ], "total": 1, "hasMore": false, "limit": 50, "offset": 0 }
Returns a paginated log of credit consumption with endpoint names and form details.
API key obtained from your GeniusForms dashboard
Number of results per page (1-100)
1 <= x <= 100
Number of results to skip
x >= 0
Paginated usage history
Show child attributes
1
false
50
0