Browse the api reference

List Operator Threads

get/v1/graphs/{graph_id}/audit/threads

Part of Graph Audit.

The conversations held with this graph's AI operators, most recently active first: every run made under a thread_id grouped by it, with the first question as the title. A graph admin sees every user's threads; any other member sees their own. Open a thread's runs at /audit/runs.

Authentication

Authenticate in any one of these ways — not all of them:

  • API key in the X-API-Key header.
  • Bearer token in the Authorization header.

Path parameters

NameTypeDescription
graph_idrequiredstringGraph identifier

Constraints: matches ^(kg[a-f0-9]{16,}(?:_[a-zA-Z0-9]{1,20})?|sec(?:_[a-zA-Z0-9]{1,20})?|library)$

Query parameters

NameTypeDescription
user_idoptionalstringOnly this user's threads (admins; members see their own)
cursoroptionalstringThe `next_cursor` of the previous page
limitoptionalintegerThreads per page

Default: 50

Constraints: 1–200

Example request

curl
curl -X GET "https://api.robosystems.ai/v1/graphs/{graph_id}/audit/threads" \
  -H "X-API-Key: $ROBOSYSTEMS_API_KEY"

Responses

200 Successful Response

FieldTypeDescription
graph_idrequiredstring
threadsrequiredOperatorThreadSummary[]

One console conversation: the runs that share a thread id.

OperatorThreadSummary fields
FieldTypeDescription
thread_idrequiredstring

The thread id the runs were made under

user_idrequiredstring

The user whose conversation it is

titlerequiredstring

The conversation's first question, clipped

run_countrequiredinteger

Runs in the thread

first_run_atrequiredstring (date-time)

When the first run started

last_run_atrequiredstring (date-time)

When the latest run started

last_operator_typerequiredstring

The operator the latest run used

last_statusrequiredstring

How the latest run ended

One of: completed, failed, cancelled

next_cursoroptionalstring

Pass as cursor for the next, older page; null on the last page

StatusMeaning
400Invalid request
401Authentication required
403Access denied
404Resource not found
422Validation Error
429Rate limit exceeded
500Internal server error