Compute the credit cost of an action before performing it, without charging.
sufficient: false, surface the deficit to the user and bail before the real call hits 402.
{ action, required, balance, sufficient } where required is the projected cost in credits and sufficient is balance >= required.Not a guarantee. Credit prices can change (rarely) or the action’s inputs may affect actual cost (e.g., a deep research run whose scope widens during execution). Treat this as a close estimate, not a quoted price.Related:Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Preview request. Use this before any billable endpoint to check affordability without deducting credits.
Identifier of the billable action to preview. See GET /api/credits/config for the per-unit price of each action.
FIND_PERSON, IMPORT_LEAD, EMAIL_LOOKUP, PHONE_LOOKUP, LINKEDIN_PROFILE, LINKEDIN_POSTS, COMPANY_NEWS, PERSON_NEWS, HIRING_STATUS, WEBSITE_ENRICHMENT, SITE_CRAWL_ENRICHMENT, CUSTOM_ENRICHMENT_AI, CUSTOM_ENRICHMENT_WEB, DEEP_RESEARCH, AI_MESSAGE_GENERATION, AGENT_SEARCH, SEARCH_CONTINUE Batch size — total cost is CREDIT_COSTS[action] * count. Must be a positive integer.
1 <= x <= 9007199254740991Affordability report. Always returned when the body is well-formed — sufficient is the bit that matters.
Non-destructive affordability check. Running this does not deduct credits, open a checkout, or change state.
Identifier of the billable action to preview. See GET /api/credits/config for the per-unit price of each action.
FIND_PERSON, IMPORT_LEAD, EMAIL_LOOKUP, PHONE_LOOKUP, LINKEDIN_PROFILE, LINKEDIN_POSTS, COMPANY_NEWS, PERSON_NEWS, HIRING_STATUS, WEBSITE_ENRICHMENT, SITE_CRAWL_ENRICHMENT, CUSTOM_ENRICHMENT_AI, CUSTOM_ENRICHMENT_WEB, DEEP_RESEARCH, AI_MESSAGE_GENERATION, AGENT_SEARCH, SEARCH_CONTINUE 1 <= x <= 9007199254740991Credits consumed per unit for this action.
0 <= x <= 9007199254740991costPerUnit * count — total credits that would be deducted.
0 <= x <= 9007199254740991Approximate USD face value (totalCredits * 0.05). For display only — actual billing runs through Autumn.
true if the caller's current balance covers totalCredits. When false, either reduce count, offer to proceed with a smaller batch, or escalate to the human to upgrade.
Caller's current credit balance reported by Autumn. null when Autumn is unreachable (system fails open — sufficient: true is assumed so operations aren't blocked by billing outages).