Get Widget Session
GET
/v1/widget/sessions/{session_id}Retrieve details of a widget session.
Request History
Log in to see full request history
| TIME | STATUS | USER AGENT |
|---|---|---|
| Make a request to see history. | ||
0 Requests This Month
Path Parameters
| Parameter | Type | Description |
|---|---|---|
| session_id | string | The unique identifier of the session |
Request Example
shell
curl -X GET https://api.konpro.ai/v1/widget/sessions/{session_id} \
-H "x-api-key: <your-api-key>" \
-H "Content-Type: application/json"Response
| Field | Type | Description |
|---|---|---|
| session_id | string | Unique identifier of the widget session |
| agentic_avatar_id | string | The unique identifier of the agentic avatar associated with this session |
| status | string | Current status of the session (e.g., active) |
| created_at | string | ISO 8601 timestamp of when the session was created |
| expires_at | string | ISO 8601 timestamp of when the session expires |
Sample Successful Response
json
{
"session_id": "session-789",
"agentic_avatar_id": "3deccfb2-cf96-459c-8b69-f601d6767ea5",
"status": "active",
"created_at": "2024-01-01T00:00:00Z",
"expires_at": "2024-01-01T01:00:00Z"
}Notes
- This endpoint requires authentication using the
x-api-keyheader. - Replace
{session_id}in the URL with the actual session ID you want to retrieve. - The
session_idmust be a valid session ID from your account. - The
statusfield indicates whether the session is currently active or has been terminated. - For error descriptions, see Error Responses.