Generate simulation resources
Works out what to test for an existing agent, then creates the customer flows, metrics and checks to simulate it, and a run plan that runs them. It does not create or change the agent. It also reads the agent’s recent production calls and open issues. Run it again and it builds on what earlier generations made, adding only what changed; when nothing has, it finishes straight away and says so. Runs in the background: watch the simulation.resource_generation.completed webhook, or poll GET /v1/simulation/generations/resources/{generationId}. Takes one agent for now. Refused while another generation for the agent is running. Needs the ‘simulation:create’ and ‘metric:create’ permissions. Exploration also needs ‘simulation:run’, and is turned off for keys without it unless explore.enabled is set.
Authorizations
Body
Input for generating simulation resources for agents
The capabilities to test. Omit to let Roark work them out from the agent.
APPOINTMENT_BOOKING, FAQ, IDENTITY_VERIFICATION, ACCOUNT_MANAGEMENT, BILLING_AND_PAYMENTS, ORDER_MANAGEMENT, TROUBLESHOOTING, CALL_ROUTING, LEAD_QUALIFICATION, COLLECTIONS, OUTBOUND_CALLING