Generate text with the configured generative-AI model
POST/api/ai/enhance
Runs a single chat request against OCI Generative AI by invoking the OCI CLI on the frontend server, and returns the generated text. The route handler performs no authentication check of its own. Whether and how it is exposed in a given deployment is not verified here.
Request
Responses
- 200
- 400
- 500
Generated text.
prompt is missing.
Generation failed. The body also carries a details message.