Preview a goal draft and what it implies without writing it.
Check a goal draft's figures before saving it. Validates the same body as a goal create, computes what it implies, and writes nothing. A preview is for checking the figures, not for asking the user's permission; save what the person settled on.
Request
- Base URL: https://api.candor.money
- URL: https://api.candor.money/v1/goals/preview
- Auth: HTTP bearer
Headers
Stable opaque identity for one logical POST. Reuse only with the same method, path, actor, and body for transport retries. A completed receipt replays its original result, including a refusal; changed input with the same key is rejected. After a refused action and access recovery, use a new key for the new attempt. Follow retryable and recovery guidance if the operation is still running or its outcome is unknown.
Request body
Response
Envelope with the goal as Candor would store it, what its measure reads today in preview.measured (as goals.get shows it once saved, such as the months of spending a cover measure's accounts hold now), the pace its target and date need or when its contribution reaches the target, and a goals.create continuation to save it once the figures check out. A measure the save would refuse is refused here with the same diagnostic.
Changes
No recorded changes to this operation across all 1 revision of this API.