Turn context into a typed decision.
Send input, an instruction and either an inline choice list or a previously created catalogue. This free endpoint does not require an API key; a bearer key is an optional alternative in the current contract. The response contains the selected choice, confidence and probabilities keyed by the original choice strings.
Authorizations
Use a bearer key beginning with gf_live_... for protected catalog operations. Keep keys server-side. Aspas Labs does not currently expose a self-service dashboard or key-management page.
Body
- Option 1
- Option 2
The context and constraints for one structured decision. Exactly one of choices or catalog must be provided.
The Goldenfish model identifier. Select the model in the body instead of changing the route.
1"goldenfish-g1"
"goldenfish-g1@REVISION"
The context to classify.
1The question or decision instruction.
1Inline valid outcomes. Send 2–300 unique, non-empty strings when you are not using a catalog.
2 - 300 elements1A reusable catalogue ID.
1Response
Decision completed.
The result of one structured decision request.
The unique decision identifier. Values begin with dec_.
^dec_"dec_01K7Y..."
Always decision for this response object.
The model identifier used to produce the result.
"goldenfish-g1"
The selected choice and the model's probability distribution over the valid outcomes.
Usage counters for the completed decision request.