Glean Chat API, therefore requires using either the Global Client Token or the User Client Token connection methods.
External DocumentationTo learn more, visit the Glean documentation.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Glean Chat API, therefore requires using either the Global Client Token or the User Client Token connection methods.
| Parameter | Description |
|---|---|
| Chat ID | The ID of the Chat to be retrieved. Can be obtained by using the List Chats action. |
| Timezone Offset | The offset of the client’s timezone in minutes from UTC. For example, PTD is -420 because it’s 7 hours behind UTC. |
{
"chatResult": {
"chat": {
"messages": [
{
"agentConfig": {
"agent": "DEFAULT",
"mode": "DEFAULT"
},
"author": "USER",
"citations": [
{
"trackingToken": "string",
"sourceDocument": {
"id": "string",
"datasource": "string",
"docType": "string",
"title": "string",
"url": "string",
"metadata": {
"container": "container",
"parentId": "JIRA_EN-1337",
"createTime": "2000-01-23T04:56:07.000Z",
"author": {
"name": "name"
},
"documentId": "documentId",
"status": [
"Done"
]
}
},
"sourcePerson": {
"name": "George Clooney",
"obfuscatedId": "abc123"
}
}
],
"fragments": [
{
"structuredResults": [
{
"document": {
"title": null,
"url": null,
"metadata": null
},
"person": {
"name": "George Clooney",
"obfuscatedId": "abc123"
},
"code": {
"repoName": "scio",
"fileName": "README.md",
"matches": [
{
"lineNumber": 1,
"content": "Welcome to the beginning"
},
{
"lineNumber": 2,
"content": "Second line of the file"
}
]
}
}
]
}
],
"trackingToken": "string",
"text": "string"
}
],
"id": "string",
"createTime": 0,
"createdBy": {
"name": "George Clooney",
"obfuscatedId": "abc123"
},
"updateTime": 0,
"name": "string"
}
}
}
Was this page helpful?