You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition to the data sources that Glean has built-in support for, Glean also provides a REST API that enables customers to put arbitrary content in the search index. This is useful, for example, for doing permissions-aware search over content in internal tools that reside on-prem as well as for searching over applications that Glean does not currently support first class. In addition these APIs allow the customer to push organization data (people info, organization structure etc) into Glean.
@@ -22,7 +22,7 @@ info:
22
22
These API clients provide type-safe, idiomatic interfaces for working with Glean IndexingAPIs in your language of choice.
Rotates the credentials that a datasource instance uses to connect to its upstream system. Replaces the active credential material with the supplied values and returns the credential status after rotation. Access is limited to callers with the ADMIN scope; the handler enforces this check.
4063
+
Only keys recognized as credential material for the datasource type may be set in `credentials.values` (e.g. `clientSecret`, `apiToken`, `privateKey`, depending on the configured auth method). Unrecognized keys, or keys that correspond to non-credential configuration, cause a 400; other instance configuration must be updated via PATCH /configure/datasources/{datasourceId}/instances/{instanceId}.
description: If true, suppresses the generation of per-user Insights in the response. Default is false.
@@ -9052,10 +9181,10 @@ components:
9052
9181
properties:
9053
9182
monthlyActiveUsers:
9054
9183
type: integer
9055
-
description: Number of current Monthly Active Users, in the specified departments.
9184
+
description: Number of current Monthly Active Users.
9056
9185
weeklyActiveUsers:
9057
9186
type: integer
9058
-
description: Number of current Weekly Active Users, in the specified departments.
9187
+
description: Number of current Weekly Active Users.
9059
9188
InsightsSearchSummary:
9060
9189
allOf:
9061
9190
- $ref: "#/components/schemas/CurrentActiveUsers"
@@ -9286,6 +9415,33 @@ components:
9286
9415
downvoteCount:
9287
9416
type: integer
9288
9417
description: Total number of downvotes for this agent over the specified time period.
9418
+
AgentUseCaseInsight:
9419
+
properties:
9420
+
useCase:
9421
+
type: string
9422
+
description: Use case name
9423
+
runCount:
9424
+
type: integer
9425
+
description: Total number of runs for this use case over the specified time period.
9426
+
trend:
9427
+
type: number
9428
+
format: float
9429
+
description: Percentage change in runs compared to the previous equivalent time period.
9430
+
topDepartments:
9431
+
type: string
9432
+
description: Comma-separated list of the top departments using this use case.
9433
+
topAgentId:
9434
+
type: string
9435
+
description: ID of the most-used agent for this use case.
9436
+
topAgentName:
9437
+
type: string
9438
+
description: Name of the most-used agent for this use case.
9439
+
topAgentIcon:
9440
+
$ref: "#/components/schemas/IconConfig"
9441
+
description: Icon of the most-used agent for this use case.
9442
+
topAgentIsDeleted:
9443
+
type: boolean
9444
+
description: Indicates whether the top agent has been deleted.
9289
9445
AgentsUsageByDepartmentInsight:
9290
9446
properties:
9291
9447
department:
@@ -9375,6 +9531,10 @@ components:
9375
9531
type: array
9376
9532
items:
9377
9533
$ref: "#/components/schemas/PerAgentInsight"
9534
+
topUseCasesInsights:
9535
+
type: array
9536
+
items:
9537
+
$ref: "#/components/schemas/AgentUseCaseInsight"
9378
9538
agentsUsageByDepartmentInsights:
9379
9539
type: array
9380
9540
items:
@@ -10196,7 +10356,9 @@ components:
10196
10356
- FOLLOW_UP
10197
10357
- MILESTONE_TIMELINE_CHECK
10198
10358
- PROJECT_DISCUSSION_DIGEST
10359
+
- PROJECT_FOCUS_BLOCK
10199
10360
- PROJECT_NEXT_STEP
10361
+
- DEMO_CARD
10200
10362
description: Categories of content requested. An allowlist gives flexibility to request content separately or together.
10201
10363
requestOptions:
10202
10364
$ref: "#/components/schemas/FeedRequestOptions"
@@ -10533,6 +10695,7 @@ components:
10533
10695
- SHORTCUTS_TYPE
10534
10696
- SLIDE_TYPE
10535
10697
- SPREADSHEET_TYPE
10698
+
- INLINE_HTML_TYPE
10536
10699
- WORKFLOWS_TYPE
10537
10700
FavoriteInfo:
10538
10701
type: object
@@ -10587,6 +10750,9 @@ components:
10587
10750
lastDraftSavedAt:
10588
10751
type: integer
10589
10752
description: Server Unix timestamp of the last time the draft was saved.
10753
+
lastDraftSavedBy:
10754
+
description: The person who last saved the draft.
10755
+
$ref: "#/components/schemas/Person"
10590
10756
lastUpdatedBy:
10591
10757
$ref: "#/components/schemas/Person"
10592
10758
Workflow:
@@ -10706,7 +10872,9 @@ components:
10706
10872
- FOLLOW_UP
10707
10873
- MILESTONE_TIMELINE_CHECK
10708
10874
- PROJECT_DISCUSSION_DIGEST
10875
+
- PROJECT_FOCUS_BLOCK
10709
10876
- PROJECT_NEXT_STEP
10877
+
- DEMO_CARD
10710
10878
description: Type of the justification.
10711
10879
justification:
10712
10880
type: string
@@ -10789,7 +10957,9 @@ components:
10789
10957
- FOLLOW_UP
10790
10958
- MILESTONE_TIMELINE_CHECK
10791
10959
- PROJECT_DISCUSSION_DIGEST
10960
+
- PROJECT_FOCUS_BLOCK
10792
10961
- PROJECT_NEXT_STEP
10962
+
- DEMO_CARD
10793
10963
description: Category of the result, one of the requested categories in incoming request.
10794
10964
primaryEntry:
10795
10965
$ref: "#/components/schemas/FeedEntry"
@@ -13841,6 +14011,46 @@ components:
13841
14011
- configuration
13842
14012
description: |
13843
14013
Request to update greenlisted configuration values for a datasource instance. Only keys that are exposed via the public API greenlist may be set.
14014
+
DatasourceCredentialStatus:
14015
+
type: string
14016
+
enum:
14017
+
- VALID
14018
+
- VALID_WITH_WARNINGS
14019
+
- VALIDATING
14020
+
- INVALID
14021
+
- MISSING
14022
+
description: |
14023
+
Lifecycle state of the credentials installed for a datasource instance. Mirrors the internal admin Status enum so the handler can surface the same health signals already tracked today. EXPIRING_SOON is represented as VALID_WITH_WARNINGS (with detail in `message`); EXPIRED is surfaced as INVALID plus a non-null `expiresAt` in the past.
Request to rotate the credentials used by a datasource instance. Replaces the active credential material with the supplied values.
14053
+
`credentials.values` must contain only keys recognized as credential material for the datasource type (for example `clientSecret` for OAuth, `apiToken` for API-token auth, `privateKey` for certificate auth). Unrecognized keys, or keys that correspond to non-credential configuration, cause a 400; use the configure endpoint to change non-credential config.
13844
14054
ChatRequestStream:
13845
14055
required:
13846
14056
- messages
@@ -13914,6 +14124,14 @@ components:
13914
14124
schema:
13915
14125
type: string
13916
14126
example: o365sharepoint_abc123
14127
+
datasourceInstanceId:
14128
+
name: datasourceInstanceId
14129
+
in: path
14130
+
description: The full datasource instance identifier (e.g. o365sharepoint_abc123)
0 commit comments