Skip to main content
GET
List conversations

Authorizations

X-API-Key
string
header
required

Query Parameters

state
enum<string> | null

Keep only conversations in this state: working, input_required or idle. Leave it out for every state. What a conversation is doing. A failed or cancelled turn leaves it idle.

Available options:
working,
input_required,
idle
Example:

"input_required"

limit
integer
default:20

How many conversations to return, from 1 to 100.

Required range: 1 <= x <= 100
Example:

20

cursor
string | null

The next_cursor of the previous page, unchanged. Leave it out for the first page.

Example:

"MjAyNi0xMi0wMVQwOTozMDo0OC4wMDAwMDArMDA6MDB8M2Y2YzhmMGU"

Response

The conversations as they stand, with next_cursor while there are more.

A page of conversations, most recently active first.

conversations
ConversationSummary · object[]
required

The conversations on this page. Empty when there are none.

next_cursor
string | null
required

Pass it as cursor to get the next page. null on the last page.

Example:

"MjAyNi0xMi0wMVQwOTozMDo0OC4wMDAwMDArMDA6MDB8M2Y2YzhmMGU"