GET
/
sessions
curl --request GET \
  --url https://engine.diarupt.ai/sessions \
  --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
header
required

Query Parameters

limit
string
default:10
page
string
default:1

Response

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