cURL
curl --request GET \ --url https://api.retab.com/v1/extractions/{extraction_id}/usage \ --header 'Api-Key: <api-key>'
{ "extraction_id": "<string>", "total_credits": 123, "total_page_count": 123, "breakdown_per_source": {} }
Get the aggregated usage (total credits) for a specific extraction.
For parallel extractions, multiple processing logs may be created. This endpoint sums the credit usage across all of them.
Successful Response
Aggregated usage information for an extraction.
Show child attributes