GET
/
v1
/
threads

Authorizations

X-Tune-Key
string
headerrequired

Tune API Keys are the preferred way to authenticate with the API. You can create an API Key from your Tune Studio Profile → 'Access Keys' (in sidebar)

Query Parameters

limit
integer

Number of items to be returned. Range: 1-100. Default: 20.

order
string

Sorting order. Default: asc (desc or asc).

after
string

Pagination token for fetching the next page.

before
string

Pagination token for fetching the previous page.

datasetId
string

The ID of the dataset if the threads are to be filtered by dataset (optional).

Response

200 - application/json
object
string

"list".

data
object[]

List of threads.

firstId
string

The ID of the first thread.

lastId
string

The ID of the last thread.

hasMore
boolean

True if there are more threads.

datasetId
string

The ID of the dataset if the threads are filtered by dataset.