Skip to main content
GET
/
credits
Python SDK
from viscribe import Client

client = Client(api_key="your-api-key-here")

credits = client.get_credits()
print(f"Remaining credits: {credits.remaining_credits}")
print(f"Total credits used: {credits.total_credits_used}")
{
  "remaining_credits": 123,
  "total_credits_used": 123
}

Authorizations

VISCRIBE-APIKEY
string
header
required

API key authentication. Include your API key in the VISCRIBE-APIKEY header.

Response

Successful response

remaining_credits
integer
required

The number of credits currently available in your account.

total_credits_used
integer
required

The total number of credits you have consumed since account creation.