POST
/
v1
/
answers
{
  "data": [
    {
      "id": "b8b3e8cb-4c67-40d7-8350-3eac3c2b127d",
      "benchmark_id": "1e6bfe22-40d9-46c4-b241-9e1d7d5c5560",
      "created_at": "2025-06-23T15:40:52Z",
      "prediction_started_at": "2025-06-23T15:41:02Z",
      "prediction_finished_at": "2025-06-23T15:43:56Z",
      "test_started_at": "2025-06-23T15:44:10Z",
      "test_finished_at": "2025-06-23T15:45:30Z",
      "kullback_leibler_divergence": 0.0043,
      "mean_absolute_error": 0.1389,
      "mean_squared_error": 0.2123,
      "normalised_kullback_leibler_divergence": 0.0051,
      "simulated_answer_percentages": {},
      "ground_answer_counts": {
        "A": 25,
        "B": 5
      },
      "ground_answer_percentages": {
        "A": 0.83,
        "B": 0.17
      },
      "population": "af8917b4-a09c-41f9-9c9f-c4c40c1f7415",
      "simulation_engine": "gpt-4o",
      "status": "Predicted",
      "public": false,
      "answer_options": [
        "Paris",
        "Lyon",
        "Marseille",
        "Bordeaux"
      ],
      "population_name": "Urban mobility survey",
      "question": "What is the capital of France?",
      "question_options": {
        "limit": 1,
        "question_type": "single-choice"
      },
      "accuracy": 123,
      "root_mean_squared_error": 123
    }
  ],
  "errors": [
    {
      "code": "<string>",
      "message": "<string>"
    }
  ]
}

Headers

authorization
string

Body

application/json

Parameters for one or more questions you'd like to simulate.Accepts either a single object or a list.

Response

200
application/json

Successful Response

The response is of type object.