cURL
curl --request GET \ --url https://api.getpg.ai/public-api/v1/organization/credits \ --header 'x-api-key: <api-key>'
{ "organization": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>" }, "credit_remaining": { "company_credits": 123, "content_credits": 123, "territory_credits": 123, "contact_credits": 123 } }
Retrieve credit information for the authenticated organization.
Your API key for authentication. Get your API key from the PG:AI dashboard under Settings > API Keys.
Success
Organization credit information
Show child attributes