simulate

Create a batch of CallExecution records for chat execution (exactly 10 per API call).

This follows the same flow as inbound/outbound calls:

  1. Resolve SimulatorAgent (scenario > run_test > fallback)
  2. Extract base_prompt from SimulatorAgent
  3. Handle dataset scenarios (create one CallExecution per row)
  4. Enhance prompt with row data if applicable
  5. Store proper metadata in CallExecution

Returns exactly 10 CallExecution objects per API call. hasMore is true until ALL row_ids of ALL scenarios have CallExecution objects created.

post/simulate/test-executions/{test_execution_id}/chat/call-executions/batch/

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/simulate/test-executions/{test_execution_id}/chat/call-executions/batch/
  • Auth: one of:
    • API key in header X-Api-Key
    • API key in header X-Secret-Key

Request body

EmptyRequest required

Response

OK

statusboolean

Changes

No recorded changes to this operation across all 1 revision of this API.