Skip to main content

Session content

Access the content of a specific session by executing:

query GetSessionContent($sessionId: String!) {
get_session_content(args: { session_id: $sessionId }) {
account_id
brain_id
brain_parent_id
brain_version
channel
channel_user_id
csat_brain
csat_human_agent
desk_id
end_time
expired_time
external_user_id
feedback
goal_achieved
insights
integration_id
is_contained
is_covered
is_test
messages
participated_agents
participated_brains
participated_collections
rating
rule_ids
session_id
start_time
tags
total_user_messages
user_email
user_id
user_name
user_sentiment
}
}

Variables:

{
"sessionId": "58be4fe7-96af-409b-8ae2-cf6b1c4b51a5"
}

Example Result

{
"data": {
"get_session_content": [
{
"account_id": "8fb5d9d4-c3f0-4165-a8e9-41655e0fe624",
"brain_id": "21f45e59-feab-445b-a133-0bb5bf26912f",
"brain_parent_id": "21f45e59-feab-445b-a133-0bb5bf26912f",
"brain_version": 0,
"channel": "web",
"channel_user_id": null,
"csat_brain": null,
"csat_human_agent": null,
"desk_id": "4168c7cf-1ffc-4f2d-92f9-c5b9d7b2e4ff",
"end_time": "2025-08-06T07:34:44.286",
"expired_time": "2025-08-06T08:34:42.268",
"external_user_id": null,
"feedback": null,
"goal_achieved": null,
"insights": null,
"integration_id": "92b8a685-9c06-4728-8f0e-446dbd7832d7",
"is_contained": true,
"is_covered": true,
"is_test": false,
"messages": [
{
"tags": null,
"time": "2025-08-06T07:34:37.346",
"event": "context:updated",
"context": null,
"message": null,
"agent_id": null,
"brain_id": null,
"reaction": null,
"rule_ids": null,
"request_id": "fddcb308-ce03-4695-a5c4-7c7922522f8b",
"corrections": null,
"brain_version": null,
"collection_id": null,
"first_message": false,
"response_time": null,
"brain_parent_id": null,
"new_brain_session": null,
"collection_sources": null,
"collection_request_code": null,
"collection_response_code": null
},
{
"tags": null,
"time": "2025-08-06T07:34:43.252",
"event": "message:received",
"context": null,
"message": {
"text": "hi"
},
"agent_id": null,
"brain_id": "21f45e59-feab-445b-a133-0bb5bf26912f",
"reaction": null,
"rule_ids": [
"b9b671b4-e4e1-401a-82d3-38a294f16fdd",
"fdea3ce2-5d50-4264-9a63-7abc2f5470f5"
],
"request_id": "7758ea2a-5f41-4ed6-8565-e8e358cfa6c0",
"corrections": null,
"brain_version": 0,
"collection_id": null,
"first_message": false,
"response_time": null,
"brain_parent_id": "21f45e59-feab-445b-a133-0bb5bf26912f",
"new_brain_session": null,
"collection_sources": null,
"collection_request_code": null,
"collection_response_code": null
},
{
"tags": [
"kg"
],
"time": "2025-08-06T07:34:44.286",
"event": "message:brain_send",
"context": null,
"message": {
"debug": {
"logs": [
"Found intents",
"0) Name: good_byessss1 Confidence: 1.00",
"Planner used: False",
"Finding match for intent: good_byessss1",
"Checking if krao exists in context (False)"
],
"steps": [
{
"type": 4,
"node_id": "f228a7c3-7b59-4c7d-b351-8cbc62d4ca1b",
"intent_name": "good_byessss1",
"intent_match_theshold": "0.800000011920929",
"intent_match_confidence": 1
},
{
"type": 1,
"action_type": "text"
},
{
"type": 1,
"action_type": "image"
},
{
"type": 2,
"condition_id": "70f57670-4d9e-4c67-a39e-54fb1f346924",
"condition_type": 1
},
{
"type": 1,
"action_type": "text"
}
],
"nodes_stack": [
{
"name": "Greetings",
"type": "intent",
"node_id": "f228a7c3-7b59-4c7d-b351-8cbc62d4ca1b",
"request_id": "7758ea2a-5f41-4ed6-8565-e8e358cfa6c0"
}
],
"language_model": {},
"response_author": "brain"
},
"intents": [
{
"intent": "good_byessss1",
"confidence": 1
}
],
"entities": null,
"responses": [
{
"text": "καλησπέρα σας! assa",
"type": "text",
"action_id": "3e7064b6-fa9d-4f1f-9842-9a8efb45d4cc"
},
{
"url": "https://media.dev.moveo.ai/media/accounts/8fb5d9d4-c3f0-4165-a8e9-41655e0fe624/0a7d718d-4647-4c1b-b9fd-d6d8c0501a26.png",
"name": "Name v7bt",
"type": "image",
"action_id": "309f8de2-0f11-44bc-ba48-911cae5e0f33"
},
{
"text": "Example text nc26",
"type": "text",
"action_id": "c75cead4-cb13-4116-b542-ac5f14584462"
}
],
"processed_text": ""
},
"agent_id": null,
"brain_id": "21f45e59-feab-445b-a133-0bb5bf26912f",
"reaction": null,
"rule_ids": null,
"request_id": "7758ea2a-5f41-4ed6-8565-e8e358cfa6c0",
"corrections": null,
"brain_version": 0,
"collection_id": null,
"first_message": true,
"response_time": 0.017233333,
"brain_parent_id": "21f45e59-feab-445b-a133-0bb5bf26912f",
"new_brain_session": true,
"collection_sources": null,
"collection_request_code": null,
"collection_response_code": null
},
{
"tags": null,
"time": "2025-08-06T08:34:42.268",
"event": "session:expired",
"context": null,
"message": null,
"agent_id": null,
"brain_id": null,
"reaction": null,
"rule_ids": null,
"request_id": "dbf8e5eb-aa8e-446f-8903-fb437d29c42b",
"corrections": null,
"brain_version": null,
"collection_id": null,
"first_message": false,
"response_time": 60.082035,
"brain_parent_id": null,
"new_brain_session": null,
"collection_sources": null,
"collection_request_code": null,
"collection_response_code": null
}
],
"participated_agents": null,
"participated_brains": [
{
"brain_id": "21f45e59-feab-445b-a133-0bb5bf26912f",
"brain_version": 0,
"brain_parent_id": "21f45e59-feab-445b-a133-0bb5bf26912f"
}
],
"participated_collections": null,
"rating": null,
"rule_ids": [
"b9b671b4-e4e1-401a-82d3-38a294f16fdd",
"fdea3ce2-5d50-4264-9a63-7abc2f5470f5"
],
"session_id": "cd0c20e2-338d-485f-91ca-cb34766d1ceb",
"start_time": "2025-08-06T07:34:37.346",
"tags": [
"kg"
],
"total_user_messages": 1,
"user_email": "test@test.com",
"user_id": "XpoawAK5aGz2-SDHlo6aT",
"user_name": "Visitor 41",
"user_sentiment": null
}
]
}
}