Return the exact credit cost of running an action count times, plus the caller’s current balance and whether it covers the cost.
count times, plus the caller’s current balance and whether it covers the cost. Pure read — nothing is deducted, no background work is triggered.
Agents should call this before every expensive operation (lead search, deep research, LLM-powered generation, enrichment). The response tells you whether to proceed, ask the human for approval, or shrink the batch to fit the remaining balance. See the credit system in the Agent Playbook.
When sufficient: false: report the shortfall to the human with a specific number, do not partially-execute, and optionally offer to proceed with a smaller batch that fits the balance. When Autumn is unreachable, the system fails open — sufficient will be true and balance null, so callers should treat a null balance as “unknown, proceed with caution.”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).