curl -X GET 'https://app.freeplay.ai/api/v2/projects/your-project-id/sessions' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json'[
{
"session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"start_time": "<string>",
"custom_metadata": {},
"messages": [
{
"message_type": "<string>",
"completion_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"environment": "<string>",
"provider_name": "<string>",
"model_name": "<string>",
"input_variables": {},
"prompt": [
{
"content": "<string>",
"role": "user"
}
],
"prompt_template_name": "<string>",
"response": "<string>",
"customer_feedback": {},
"evaluation_results": [
{
"name": "My Dataset",
"manual_score": "<unknown>",
"auto_eval_score": "<unknown>"
}
],
"client_evaluation_results": [
{
"name": "My Dataset",
"value": "<unknown>"
}
],
"notes": [
{
"id": "bf56b063-80dc-4ad5-91f6-f7067ad1fa06",
"content": "<string>",
"created_at": "<string>",
"created_by": {
"id": "bf56b063-80dc-4ad5-91f6-f7067ad1fa06",
"email_address": "<string>",
"first_name": "<string>",
"last_name": "<string>"
}
}
],
"trace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"format_version": 123,
"start_time": "<string>",
"end_time": "<string>"
}
]
}
]List Sessions - List Sessions
curl -X GET 'https://app.freeplay.ai/api/v2/projects/your-project-id/sessions' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json'[
{
"session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"start_time": "<string>",
"custom_metadata": {},
"messages": [
{
"message_type": "<string>",
"completion_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"environment": "<string>",
"provider_name": "<string>",
"model_name": "<string>",
"input_variables": {},
"prompt": [
{
"content": "<string>",
"role": "user"
}
],
"prompt_template_name": "<string>",
"response": "<string>",
"customer_feedback": {},
"evaluation_results": [
{
"name": "My Dataset",
"manual_score": "<unknown>",
"auto_eval_score": "<unknown>"
}
],
"client_evaluation_results": [
{
"name": "My Dataset",
"value": "<unknown>"
}
],
"notes": [
{
"id": "bf56b063-80dc-4ad5-91f6-f7067ad1fa06",
"content": "<string>",
"created_at": "<string>",
"created_by": {
"id": "bf56b063-80dc-4ad5-91f6-f7067ad1fa06",
"email_address": "<string>",
"first_name": "<string>",
"last_name": "<string>"
}
}
],
"trace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"format_version": 123,
"start_time": "<string>",
"end_time": "<string>"
}
]
}
]Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
Show child attributes
"bf56b063-80dc-4ad5-91f6-f7067ad1fa06"