Which session has a thread, account or topic
GET
/api/v1/who-has
const url = 'https://deck.example.com/api/v1/who-has?q=example';const options = {method: 'GET', headers: {cookie: 'qd_auth=<qd_auth>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://deck.example.com/api/v1/who-has?q=example' \ --cookie qd_auth=<qd_auth>Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”q
required
string
limit
integer format: int64
Responses
Section titled “Responses”Media typeapplication/json
object
hits
required
Array<object>
object
last_mentioned_at
string | null
moved_to
tab@machine of the session that continues this one, when it was moved: ask that one instead.
string | null
node
required
string
session_id
required
string
source
required
Where a “who has this ID?” hit came from.
string
tab
string | null
offline_nodes
required
Nodes whose transcripts weren’t searched (offline, or didn’t answer in time): their sessions were searched by summary only.
Array<string>
partial
required
Nodes that ran out of time: they searched their transcripts back to this time, newest first.
Array<object>
object
node
required
string
searched_back_to
required
string
query
required
string
Example
{ "hits": [ { "moved_to": null, "source": "summary" } ]}default
Section titled “default”An error, with its message.
Media typeapplication/json
Every error the REST API returns, with an HTTP status.
object
error
required
string
Example generated
{ "error": "example"}