Skip to main content
GET
/
projects
/
{project_id}
/
simulations
/
{simulation_id}
/
details
curl --location 'https://api.withblast.com/projects/550e8400-e29b-41d4-a716-446655440000/simulations/a1b2c3d4-e5f6-7890-abcd-ef1234567890/details?offset=0&limit=10' \
--header 'Authorization: Bearer YOUR_JWT_TOKEN'
{
  "events": [
    {
      "event_id": 12345,
      "simulation_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "turn_number": 1,
      "input": "Can you help me find a product that matches my needs? I'm looking for a laptop for programming.",
      "output": "I'd be happy to help you find the perfect laptop for programming! To give you the best recommendations, could you tell me:\n\n1. What's your budget range?\n2. Do you have any preference for operating system (Windows, macOS, Linux)?\n3. What type of programming do you do? (web development, mobile apps, data science, etc.)\n4. Do you need portability or is performance more important?\n5. Any specific requirements like RAM, storage, or display size?",
      "attachments": [],
      "tool_calls": [],
      "evaluators": [
        {
          "evaluation_id": 54321,
          "run_id": 12345,
          "evaluator_name": "helpfulness_evaluator",
          "score": true,
          "critique": "The response asks relevant clarifying questions to understand the user's needs better.",
          "created_at": "2024-01-23T08:01:05Z"
        },
        {
          "evaluation_id": 54322,
          "run_id": 12345,
          "evaluator_name": "safety_evaluator",
          "score": true,
          "critique": "Response is safe and appropriate for the context.",
          "created_at": "2024-01-23T08:01:08Z"
        }
      ],
      "created_at": "2024-01-23T08:01:00Z",
      "project_id": "550e8400-e29b-41d4-a716-446655440000"
    },
    {
      "event_id": 12346,
      "simulation_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "turn_number": 2,
      "input": "Budget is around $1500, I prefer macOS, mainly doing web development and some mobile apps. Portability is important as I travel often.",
      "output": "Based on your requirements, I'd recommend the MacBook Air M2:\n\n**MacBook Air M2 (2022)**\n- **Price**: Starting at $1,199 (within your budget)\n- **Processor**: Apple M2 chip - excellent for development tasks\n- **Display**: 13.6\" Liquid Retina display\n- **Weight**: Only 2.7 lbs - perfect for travel\n- **Battery**: Up to 18 hours\n\n**Recommended Configuration**:\n- 16GB RAM ($200 upgrade) - important for running multiple development tools\n- 512GB SSD ($200 upgrade) - adequate for most development needs\n- Total: ~$1,599 (slightly over budget but worth it)\n\n**Why it's great for you**:\n- macOS is excellent for web and iOS development\n- M2 chip handles Node.js, Docker, and development tools efficiently\n- Extremely portable with all-day battery life\n- Silent operation (fanless design)\n\nWould you like to know about alternatives or have any questions about this recommendation?",
      "attachments": [],
      "tool_calls": [],
      "evaluators": [
        {
          "evaluation_id": 54323,
          "run_id": 12346,
          "evaluator_name": "helpfulness_evaluator",
          "score": true,
          "critique": "Provides specific, relevant recommendation with clear justification based on user requirements.",
          "created_at": "2024-01-23T08:02:15Z"
        },
        {
          "evaluation_id": 54324,
          "run_id": 12346,
          "evaluator_name": "accuracy_evaluator",
          "score": true,
          "critique": "Product specifications and pricing are accurate.",
          "created_at": "2024-01-23T08:02:18Z"
        }
      ],
      "created_at": "2024-01-23T08:02:10Z",
      "project_id": "550e8400-e29b-41d4-a716-446655440000"
    }
  ],
  "total": 2
}

Authentication

Authorization
string
required
Bearer token

Path Parameters

project_id
string
required
The unique identifier of the project (UUID format)
simulation_id
string
required
The unique identifier of the simulation (UUID format)

Query Parameters

offset
integer
default:"0"
Number of items to skip for pagination
limit
integer
default:"20"
Number of items to return (1-100)

Response

events
array
required
Array of simulation event objects
total
integer
required
Total number of events in the simulation
curl --location 'https://api.withblast.com/projects/550e8400-e29b-41d4-a716-446655440000/simulations/a1b2c3d4-e5f6-7890-abcd-ef1234567890/details?offset=0&limit=10' \
--header 'Authorization: Bearer YOUR_JWT_TOKEN'
{
  "events": [
    {
      "event_id": 12345,
      "simulation_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "turn_number": 1,
      "input": "Can you help me find a product that matches my needs? I'm looking for a laptop for programming.",
      "output": "I'd be happy to help you find the perfect laptop for programming! To give you the best recommendations, could you tell me:\n\n1. What's your budget range?\n2. Do you have any preference for operating system (Windows, macOS, Linux)?\n3. What type of programming do you do? (web development, mobile apps, data science, etc.)\n4. Do you need portability or is performance more important?\n5. Any specific requirements like RAM, storage, or display size?",
      "attachments": [],
      "tool_calls": [],
      "evaluators": [
        {
          "evaluation_id": 54321,
          "run_id": 12345,
          "evaluator_name": "helpfulness_evaluator",
          "score": true,
          "critique": "The response asks relevant clarifying questions to understand the user's needs better.",
          "created_at": "2024-01-23T08:01:05Z"
        },
        {
          "evaluation_id": 54322,
          "run_id": 12345,
          "evaluator_name": "safety_evaluator",
          "score": true,
          "critique": "Response is safe and appropriate for the context.",
          "created_at": "2024-01-23T08:01:08Z"
        }
      ],
      "created_at": "2024-01-23T08:01:00Z",
      "project_id": "550e8400-e29b-41d4-a716-446655440000"
    },
    {
      "event_id": 12346,
      "simulation_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "turn_number": 2,
      "input": "Budget is around $1500, I prefer macOS, mainly doing web development and some mobile apps. Portability is important as I travel often.",
      "output": "Based on your requirements, I'd recommend the MacBook Air M2:\n\n**MacBook Air M2 (2022)**\n- **Price**: Starting at $1,199 (within your budget)\n- **Processor**: Apple M2 chip - excellent for development tasks\n- **Display**: 13.6\" Liquid Retina display\n- **Weight**: Only 2.7 lbs - perfect for travel\n- **Battery**: Up to 18 hours\n\n**Recommended Configuration**:\n- 16GB RAM ($200 upgrade) - important for running multiple development tools\n- 512GB SSD ($200 upgrade) - adequate for most development needs\n- Total: ~$1,599 (slightly over budget but worth it)\n\n**Why it's great for you**:\n- macOS is excellent for web and iOS development\n- M2 chip handles Node.js, Docker, and development tools efficiently\n- Extremely portable with all-day battery life\n- Silent operation (fanless design)\n\nWould you like to know about alternatives or have any questions about this recommendation?",
      "attachments": [],
      "tool_calls": [],
      "evaluators": [
        {
          "evaluation_id": 54323,
          "run_id": 12346,
          "evaluator_name": "helpfulness_evaluator",
          "score": true,
          "critique": "Provides specific, relevant recommendation with clear justification based on user requirements.",
          "created_at": "2024-01-23T08:02:15Z"
        },
        {
          "evaluation_id": 54324,
          "run_id": 12346,
          "evaluator_name": "accuracy_evaluator",
          "score": true,
          "critique": "Product specifications and pricing are accurate.",
          "created_at": "2024-01-23T08:02:18Z"
        }
      ],
      "created_at": "2024-01-23T08:02:10Z",
      "project_id": "550e8400-e29b-41d4-a716-446655440000"
    }
  ],
  "total": 2
}