Logo

List all active conversations for an assistant

GET
/conversations
/conversations

Query Parameters

user_id
Required
string

The id of the user

curl -X GET "https://example.com/conversations?user_id=string"

Success

[
  {
    "id": 0,
    "is_active": true,
    "user_id": "string",
    "subject_id": "string",
    "assistant_key": "string",
    "title": "string",
    "last_run": {
      "status": "initializing",
      "in_finite_state": true
    },
    "context": [
      {}
    ],
    "additional_data": [
      {}
    ],
    "error": {
      "message": "string"
    },
    "history": [
      {
        "role": "user",
        "run_status": "initializing",
        "messages": [
          {
            "id": "string",
            "content": "string"
          }
        ],
        "actions": [
          {
            "id": "string",
            "role": "tool",
            "content": "string",
            "status": "pending"
          }
        ]
      }
    ],
    "pendingItems": [
      {
        "role": "user",
        "run_status": "initializing",
        "messages": [
          {
            "id": "string",
            "content": "string"
          }
        ],
        "actions": [
          {
            "id": "string",
            "role": "tool",
            "content": "string",
            "status": "pending"
          }
        ]
      }
    ]
  }
]