Simulation
Enhance prompt
Generate prompt-improvement suggestions for a completed simulation.
POST/simulations//enhance-prompt
Bearersession
Path parameters
simulation_idrequiredcurl -X POST 'https://backend.omnidim.io/api/v1/simulations/{simulation_id}/enhance-prompt' \ -H 'Authorization: Bearer YOUR_API_KEY'
Example response
{ "success": true, "previous_context": [ { "title": "Purpose", "prompt": "This agent helps customers with product inquiries and support issues." } ], "prompt_breakdown": [ { "title": "Purpose", "prompt": "This agent helps customers with product inquiries, support issues, and frequently asked product questions." } ] }
Authorization
BearerAuth AuthorizationBearer <token>
Bearer token authentication. Obtain your API key from the OmniDimension dashboard.
In: header
Path Parameters
simulation_id*integer
Response Body
application/json
