Skip to main content
Retrieve detailed information about a specific simulation including analysis results.
curl -X GET "https://api.chanl.ai/api/v1/workspaces/ws_123/simulations/sim_123456" \
  -H "Authorization: Bearer <access_token>"
{
  "success": true,
  "data": {
    "simulation": {
      "id": "sim_123456",
      "name": "Customer Service_Frustrated Customer_Agent 001_2024-01-15T10:30:00Z",
      "status": "completed",
      "score": 87.3,
      "duration": "00:03:45",
      "scenario": {
        "id": "scenario_123",
        "name": "Customer Service Inquiry"
      },
      "persona": {
        "id": "persona_456",
        "name": "Frustrated Customer"
      },
      "agent": {
        "id": "agent_789",
        "name": "Customer Service Agent 001"
      },
      "analysis": {
        "overallScore": 87.3,
        "categoryScores": {
          "communication": 92.0,
          "problemResolution": 85.0,
          "professionalism": 89.5
        },
        "keyFindings": [
          "Agent handled customer frustration well",
          "Issue was resolved efficiently"
        ],
        "improvementSuggestions": [
          "Provide more frequent updates during hold times"
        ]
      },
      "created_at": "2024-01-15T10:30:00Z",
      "completed_at": "2024-01-15T10:33:45Z"
    }
  }
}