Session Text¶
Data Structures¶
Attribute |
Type |
Required |
Description |
|---|---|---|---|
|
string |
Read-only. Unique identifier. |
|
|
string |
Read-only. ID of the session the text is linked to. |
|
|
string |
Read-only. Recorded session text (searchable representation). |
|
|
boolean |
Read-only. Whether the text was entered by the user. |
|
|
number |
Read-only. Millisecond offset in the session. |
|
|
datetime |
Read-only. Timestamp of creation. |
|
|
string |
Read-only. Date of creation (UTC). |
|
|
datetime |
Read-only. Timestamp of last modification. |
|
|
boolean |
Read-only. |
Retrieve Available Attributes of the SessionTextModel¶
Request
Method |
|
Path |
|
GET /api/v2/objspec/session_text
Example Request
curl -s -k -X GET \
-H 'Authorization: sgfeea6jsaz4mum9su8w6' \
'https://10.0.214.98/api/v2/objspec/session_text'
Get Recorded Text From Session¶
Request
Method |
|
Path |
|
GET /api/v2/session/<session_id>/text
Example Request
curl -s -k -X GET \
-H 'Authorization: sgfeea6jsaz4mum9su8w6' \
https://10.31.116.195/api/v2/session/8169529724050079760/text
Response
{
"result": "success",
"session_text": [
{
"id": "8169529724050079766",
"session_id": "8169529724050079746",
"text": "'address':6 'enter':5 'firefox':9 'getting':7 'google':4 'new':1 'started':8 'tab':2 'with':3",
"user_input": false,
"ms": 1425,
"created_at": "2025-07-11 03:09:11.304285-07",
"created_on": "80434736",
"modified_at": "2025-07-11 03:09:11.304285-07"
},
{
"id": "8169529724050079767",
"session_id": "8169529724050079746",
"text": "'correction':1",
"user_input": false,
"ms": 1944,
"created_at": "2025-07-11 03:09:15.284903-07",
"created_on": "80434736",
"modified_at": "2025-07-11 03:09:15.284903-07"
},
{
"id": "8169529724050079768",
"session_id": "8169529724050079746",
"text": "'search':1",
"user_input": false,
"ms": 1973,
"created_at": "2025-07-11 03:09:18.277803-07",
"created_on": "80434736",
"modified_at": "2025-07-11 03:09:18.277803-07"
}
]
}
Note
This endpoint returns terminal text captured during the session, including user input and output, if applicable. Useful for text-based audit and search operations.