Private Preview - embraceableAI Conclusion
POST/preview/conclusion

Initiate a new structured conclusion

Starts an asynchronous conclusion with a Conclusion Model. Upon success, returns a conclusion ID immediately while processing happens in the background.

The task is defined using three components: Goal (primary objective), Details (context and background information), and Policy (hard constraints that must be followed). The model navigates through cognitive phases to produce a validated result.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

2 body fields
modelstringrequired
Either the specific model identifier or the specific Conclusion Model name used for the conclusion. See [available models](https://docs.embraceable.ai/models/).
inputarray<object>required
The task definition composed of message blocks. Must contain exactly one `goal` block, one `details` block, and one or more `policy` blocks. Blocks are processed in the order provided.

6 status codes
201Conclusion successfully created and queued for processing.
idstringrequired
The unique Identifier of the newly created conclusion.
locationstringrequired
Relative path to the conclusion resource for polling.
400Invalid input parameters or malformed request.
statusintegerrequired
HTTP status code.
messagestringoptional
Human-readable error description.
errorsarray<string>optional
List of specific validation errors or details.
401Authentication failed - invalid or missing API key.
statusintegerrequired
HTTP status code.
messagestringoptional
Human-readable error description.
errorsarray<string>optional
List of specific validation errors or details.
404Model not found - invalid identifier or model not available.
statusintegerrequired
HTTP status code.
messagestringoptional
Human-readable error description.
errorsarray<string>optional
List of specific validation errors or details.
409Number of parallel inflight exceeded.
statusintegerrequired
HTTP status code.
messagestringoptional
Human-readable error description.
errorsarray<string>optional
List of specific validation errors or details.
429Rate limit exceeded.
statusintegerrequired
HTTP status code.
messagestringoptional
Human-readable error description.
errorsarray<string>optional
List of specific validation errors or details.

Error handling

A 400 is returned: Invalid input parameters or malformed request. A 401 is returned: Authentication failed - invalid or missing API key. A 404 is returned: Model not found - invalid identifier or model not available. A 409 is returned: Number of parallel inflight exceeded. A 429 is returned: Rate limit exceeded.