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

Authorizations

X-API-KEY
string
headerrequired

Path Parameters

session_id
string
required

Session ID

Response

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