Apply enhanced prompt
Rewrite the agent's prompt sections from a completed simulation's suggestions. The agent's current sections are replaced, so save a version first if you may want them back. To review a proposed rewrite without applying it, call `enhancePrompt`. The applied text is generated again and can differ slightly from that preview.
simulation_idrequiredcurl -X POST 'https://omnidim.io/api/v1/simulations/{simulation_id}/apply-enhanced-prompt' \ -H 'Authorization: Bearer YOUR_API_KEY'
{ "success": true, "message": "Enhanced prompt applied to agent successfully", "agent_id": 123 }
BearerAuthAuthorizationBearer <token>Bearer token authentication. Obtain your API key from the OmniDimension dashboard.
simulation_id*integerResponse body
application/jsonThe agent's prompt sections were replaced.
application/jsonsuccess?booleanmessage?stringagent_id?integerThe agent whose prompt changed.
Enhance prompt
Generate prompt-improvement suggestions for a completed simulation.
Generate test scenarios
Write test scenarios for an agent from its prompt. Each scenario has a name, the steps the simulated caller follows, and how the agent should respond. Nothing is saved: pass the ones you want to `createSimulation`.
