AI
Get a single AI chat topic.
AuthorizationBearer <token>
OAuth 2.1 authorization code flow with PKCE (required of every client, public or confidential). Scopes are a ceiling on the credential, not a grant of access: a token also cannot exceed what the user who approved it may already do. A write scope does not imply its matching read — ask for both.
In: header
Scope: ai:use
Path Parameters
topicId*string
Format
uuidQuery Parameters
workspaceId*string
Format
uuidResponse Body
application/json
application/json
curl -X GET "https://example.com/ai/chat/topics/497f6eca-6276-4993-bfeb-53cbbbba6f08?workspaceId=497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "topic": { "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" }}