credits

Get the caller's current credit balance.

Returns the authenticated customer's credit balance and the per-job cost. Check this before execute (which debits job_cost and returns 402 when the balance is short).

get/mcp/credits

Request

  • Base URL: https://api.prosp.cc
  • URL: https://api.prosp.cc/mcp/credits
  • Auth: OAuth 2 (client credentials, token URL https://prosp-mcp-641053169627.auth.eu-central-1.amazoncognito.com/oauth2/token, scopes: mcp/execute)

Response

The caller's balance.

customer_idstring required
balanceinteger required

Current credit balance.

job_costinteger required

Credits debited per discovery job.

Changes

No recorded changes to this operation across all 1 revision of this API.