Skip to main content
GET
/
conversations
JavaScript
import Reminix from '@reminix/sdk';

const client = new Reminix({
  apiKey: process.env['REMINIX_API_KEY'], // This is the default and can be omitted
});

// Automatically fetches more pages as needed.
for await (const conversation of client.conversations.list()) {
  console.log(conversation.id);
}
{
  "data": [
    {
      "id": "conv_abc123",
      "projectId": "proj_xyz",
      "agentName": "support-bot",
      "identity": {
        "user_id": "user_123"
      },
      "createdAt": "2024-01-15T10:30:00Z",
      "updatedAt": "2024-01-15T11:00:00Z"
    }
  ],
  "nextCursor": "conv_def456",
  "hasMore": true
}

Authorizations

Authorization
string
header
required

API Key or Personal Access Token (PAT). When using PAT, include X-Project header.

Query Parameters

limit
number
default:20

Number of conversations to return

Required range: 1 <= x <= 100
cursor
string

Cursor for pagination

agent_name
string

Filter by agent name

Response

List of conversations

data
object[]
required
nextCursor
string | null
required
hasMore
boolean
required