Skip to main content
Run an existing simulation from Python or Node.js and use its run ID to read the results. The SDK can queue tests from a script or CI. It can also attach traces from the agent under test to the simulation result.

Queue a run

Connect your agent and create a simulation in Bluejay. Copy the simulation ID from the simulation page.
The API returns when the run is queued. The simulation’s configured Digital Humans are used unless you pass digital_human_ids. See the queue API for run overrides and SMS requirements.

Read results

Fetch the results using the run ID. The run can still be RUNNING. For automation, poll until COMPLETED or until your job times out.
The response includes the run summary and a page of conversations. Increment offset by limit to read more. For pull request or pipeline reporting, see CI/CD. Results API

Attach traces from the agent under test

Enable observability in the agent process. Use the simulation result ID for that specific conversation, not the run ID printed above.
  • LiveKit reads the result ID from the X-Simulation-Result-Id participant attribute. Node.js also checks job metadata. To supply the ID yourself, pass simulation_result_id in Python or simulationResultId in Node.js. See Connect LiveKit.
  • Pipecat reads it from the start request body in your application. Pass that value as simulation_result_id in Python when you create the tap.
  • Custom code passes the simulation result ID when creating the session and calls conversation.end() when the test conversation finishes.
Open the completed conversation in the simulation run and inspect its trace.
Last modified on November 23, 2026