POST /api/v1/growth/quote
Generate a credit estimate for a growth run based on a goal_plan returned by /growth/resolve. If the plan is valid and all input requirements are met, the response includes a quote_token to pass to POST /api/v1/growth/run.
Request body
Structured plan object from
POST /api/v1/growth/resolve. Pass the goal_plan field unchanged.Optional credit cap on external provider spend. The quote fails with
error_code: max_external_spend_too_low if the estimated provider cost exceeds this value.Optional UUID of a chat to associate the resulting run with.
Response
true when the quote was successfully generated.true when the plan is ready to run. false when the request cannot proceed — inspect error_code and detail.Single-use token. Pass to
POST /api/v1/growth/run. Present only when quotable is true.ISO 8601 timestamp when the quote token expires.
Total credits that will be deducted when the run is confirmed.
Per-capability credit breakdown.
Estimated delivered counts from the external provider.
Preview of output artifacts (e.g.
{ "verified_emails": 80, "enriched_contacts": 100 }).Normalised goal plan used to compute the quote. Pass this — not the original — to
/run.Present when
quotable is false. Lists the missing inputs.Machine-readable failure reason when
ok is false. Values: invalid_goal_plan, missing_input_assets, max_external_spend_too_low, quote_validation_failed.Human-readable explanation when
ok is false.Instruction for what to do next.
Example
cURL
Response (quotable)
Response (not quotable)