cURL
curl --request GET \ --url https://api.vidnavigator.com/v1/usage \ --header 'X-API-Key: <api-key>'
{ "status": "success", "data": { "current_period": { "start_date": "2023-11-07T05:31:56Z", "end_date": "2023-11-07T05:31:56Z" }, "subscription": { "plan_id": "<string>", "plan_name": "<string>" }, "usage": { "video_transcripts": { "used": 123, "limit": 123, "remaining": 123, "percentage": 123, "unit": "<string>" }, "video_searches": { "used": 123, "limit": 123, "remaining": 123, "percentage": 123, "unit": "<string>" }, "video_analyses": { "used": 123, "limit": 123, "remaining": 123, "percentage": 123, "unit": "<string>" }, "video_scene_analyses": { "used": 123, "limit": 123, "remaining": 123, "percentage": 123, "unit": "<string>" }, "video_uploads": { "used": 123, "limit": 123, "remaining": 123, "percentage": 123, "unit": "<string>" } }, "storage": { "used_bytes": 123, "used_formatted": "<string>", "limit_bytes": 123, "limit_formatted": "<string>", "remaining_bytes": 123, "remaining_formatted": "<string>", "percentage": 123 } } }
Retrieve current API usage and storage information for the authenticated user.
curl "https://api.vidnavigator.com/v1/usage" \ -H "X-API-Key: YOUR_API_KEY"
{ "status": "success", "data": { "current_period": { "start_date": "2023-10-01T00:00:00Z", "end_date": "2023-11-01T00:00:00Z" }, "subscription": { "plan_id": "pro", "plan_name": "Pro Plan" }, "usage": { "video_transcripts": { "used": 150, "limit": 1000, "remaining": 850, "percentage": 15, "unit": "requests" }, "video_searches": { "used": 300, "limit": 5000, "remaining": 4700, "percentage": 6, "unit": "requests" }, "video_analyses": { "used": 75, "limit": "unlimited", "remaining": "unlimited", "percentage": 0, "unit": "requests" } }, "storage": { "used_bytes": 2684354560, "used_formatted": "2.5 GB", "limit_bytes": 10737418240, "limit_formatted": "10 GB", "remaining_bytes": 8053063680, "remaining_formatted": "7.5 GB", "percentage": 25 } } }
API key authentication. Include your VidNavigator API key in the X-API-Key header.
Usage statistics retrieved successfully
The response is of type object.
object