Skip to main content
GET
/
v2
/
conversations
cURL
curl --request GET \
  --url https://api.orq.ai/v2/conversations \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "data": [
    {
      "kind": "conversation",
      "displayName": "<string>",
      "createdAt": 123,
      "updatedAt": 123,
      "_id": "conv_01kbmyap3tva7ktd11dt2xesma",
      "createdById": "<string>",
      "updatedById": "<string>"
    }
  ],
  "has_more": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

limit
integer

A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.

Required range: 1 < x <= 100
Example:

10

starting_after
string

A cursor for use in pagination. starting_after is a conversation ID that defines your place in the list. A cursor for use in pagination. starting_after is a conversation ID that defines your place in the list.

Example:

"conv_01jj1hdhn79xas7a01wb3hysdb"

ending_before
string

A cursor for use in pagination. ending_before is a conversation ID that defines your place in the list. A cursor for use in pagination. ending_before is a conversation ID that defines your place in the list.

Example:

"conv_01jj1hdhn79xas7a01wb3hysdb"

Response

200 - application/json

Successfully retrieved the list of conversations. Returns a paginated response containing conversation objects.

object
enum<string>
required
Available options:
list
data
object[]
required
has_more
boolean
required