Nurama Developers
AI

List the caller's AI chat topics for a scope.

Returns topics owned by the calling user, scoped to one workspace / project, or to "social" (personal) chats. Topics are ordered by `lastMessageAt` desc with nulls last.

GET
/ai/chat/topics

Returns topics owned by the calling user, scoped to one workspace / project, or to "social" (personal) chats. Topics are ordered by lastMessageAt desc with nulls last.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

workspaceId*string
Formatuuid
scopeType*string

Value in

  • "workspace"
  • "project"
  • "social"
scopeId?unknown

Required when scopeType is workspace or project; must be omitted for social.

archived?boolean
limit?integer
Range1 <= value <= 100

Response Body

application/json

application/json

curl -X GET "https://example.com/ai/chat/topics?workspaceId=497f6eca-6276-4993-bfeb-53cbbbba6f08&scopeType=workspace"
{  "results": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "chatType": "ai",      "scopeType": "workspace",      "scopeId": "65fafe40-a220-4dd7-8724-4598b81c0643",      "billedResourceType": "workspace",      "billedResourceId": "e4cc728d-50b5-41bd-80c9-0479f99d7ce7",      "creatorId": "688ebf54-d343-4104-8711-82c2feac534a",      "chatId": "f255124e-3419-4f6e-b7ee-17a6577db94d",      "title": "string",      "titleGenerationFailed": true,      "totalMessages": 0,      "totalBilledCredits": 0,      "lastMessagePreview": "string",      "lastMessageAt": "2019-08-24T14:15:22Z",      "contextItems": [        {          "type": "asset",          "id": "string"        }      ],      "archived": true,      "status": "active",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z"    }  ]}