GET
/
session
/
{session_id}
curl --request GET \
  --url https://engine.diarupt.ai/session/{session_id} \
  --header 'X-API-KEY: <api-key>'
{
  "status": "IDLE",
  "options": {
    "face": "<string>",
    "profile": "<string>",
    "context": "<string>",
    "behavior": "<string>",
    "time_limit": 123
  },
  "history": [
    {
      "role": "<string>",
      "content": "<string>",
      "timestamp": "<string>"
    }
  ],
  "created_at": "<string>",
  "duration": 123,
  "id": "<string>"
}

Authorizations

X-API-KEY
string
headerrequired

Path Parameters

session_id
string
required

Session ID

Response

200 - application/json
status
enum<string>
Available options:
IDLE,
ACTIVE,
PAUSED,
TERMINATED
options
object
history
object[]
created_at
string
duration
integer
id
string