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

Query Parameters

limit
string
default: 10
page
string
default: 1

Response

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