Skip to main content
GET
/
api
/
v3
/
threads
List conversation threads
curl --request GET \
  --url https://paradigm.lighton.ai/api/v3/threads \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "status": "running",
      "ml_model": "<string>",
      "ml_model_name": "<string>",
      "chat_setting": 123,
      "creation_source": "api",
      "is_read": true,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "is_ephemeral": true,
      "is_archived": true,
      "object": "thread"
    }
  ],
  "count": 123,
  "next": "<string>",
  "previous": "<string>"
}

Authorizations

Authorization
string
header
required

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

Query Parameters

creation_source
string

Filter threads by creation source (api or web)

Minimum string length: 1
ending_before
string

ID to end pagination before

Minimum string length: 1
limit
integer
default:10
Required range: 1 <= x <= 100

Search threads by name

Minimum string length: 1
starting_after
string

ID to start pagination after

Minimum string length: 1

Response

200 - application/json
results
object[]
required
count
integer | null
required
next
string | null
required
previous
string | null
required