Skip to main content
GET
/
v1
/
campaigns
/
session
/
results
List session evaluation results
curl --request GET \
  --url http://localhost:3000/dev/v1/campaigns/session/results \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "campaign_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "email": "[email protected]",
    "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "scenario_score": 123,
    "scenario_name": "<string>",
    "scenario_type": {
      "key": "<string>",
      "label": "<string>"
    },
    "eval_results": [
      {
        "score": "<string>",
        "skill": {
          "key": "<string>",
          "label": "<string>"
        },
        "rationale": "<string>",
        "evaluated_at": "2023-11-07T05:31:56Z",
        "evaluation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
      }
    ],
    "feedback": {
      "key_strengths": [
        {
          "title": "<string>",
          "strength": "<string>"
        }
      ],
      "areas_for_growths": [
        {
          "title": "<string>",
          "improvement_area": "<string>"
        }
      ]
    },
    "additional_scores": {
      "cefr": {
        "score": "<string>"
      }
    },
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "order_index": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

campaign_id
string<uuid>
required

Unique identifier for the campaign

Response

Session evaluation results response

id
string<uuid>

Unique identifier for the evaluation result

campaign_id
string<uuid>

Unique identifier of the campaign

email
string<email>

Email address of the user

user_id
string<uuid>

Unique identifier of the user

session_id
string<uuid>

Unique identifier for the session

scenario_score
number<float>

Overall score for the scenario

scenario_name
string

Name of the scenario that was evaluated

scenario_type
object

Type of scenario with key and label

eval_results
object[]

Detailed evaluation results for each skill assessed

feedback
object

Structured feedback for this session

additional_scores
object

Additional scoring metrics and assessments

created_at
string<date-time>

Timestamp when the result was created

updated_at
string<date-time>

Timestamp when the result was last updated

order_index
string

Order index used for sorting