Skip to main content
GET
/
search
/
api
/
v1
/
threads
List my chat threads
curl --request GET \
  --url https://www.closient.com/search/api/v1/threads \
  --header 'X-API-Key: <api-key>'
[
  {
    "public_id": "<string>",
    "title": "<string>",
    "last_user_message": "<string>",
    "modified": "2023-11-07T05:31:56Z"
  }
]

Authorizations

X-API-Key
string
header
required

Response

200 - application/json

OK

public_id
string
required

The thread's conversation id; pass to GET to resume.

title
string
required

Short title (LLM-generated, or the first query as fallback).

last_user_message
string
required

Most recent user query in the thread, for a preview line.

modified
string<date-time>
required

Last-updated timestamp (ISO 8601); list is ordered newest first.