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
@@ -10706,7 +10869,9 @@ components:
10706
10869
- FOLLOW_UP
10707
10870
- MILESTONE_TIMELINE_CHECK
10708
10871
- PROJECT_DISCUSSION_DIGEST
10872
+
- PROJECT_FOCUS_BLOCK
10709
10873
- PROJECT_NEXT_STEP
10874
+
- DEMO_CARD
10710
10875
description: Type of the justification.
10711
10876
justification:
10712
10877
type: string
@@ -10789,7 +10954,9 @@ components:
10789
10954
- FOLLOW_UP
10790
10955
- MILESTONE_TIMELINE_CHECK
10791
10956
- PROJECT_DISCUSSION_DIGEST
10957
+
- PROJECT_FOCUS_BLOCK
10792
10958
- PROJECT_NEXT_STEP
10959
+
- DEMO_CARD
10793
10960
description: Category of the result, one of the requested categories in incoming request.
10794
10961
primaryEntry:
10795
10962
$ref: "#/components/schemas/FeedEntry"
@@ -13841,6 +14008,46 @@ components:
13841
14008
- configuration
13842
14009
description: |
13843
14010
Request to update greenlisted configuration values for a datasource instance. Only keys that are exposed via the public API greenlist may be set.
14011
+
DatasourceCredentialStatus:
14012
+
type: string
14013
+
enum:
14014
+
- VALID
14015
+
- VALID_WITH_WARNINGS
14016
+
- VALIDATING
14017
+
- INVALID
14018
+
- MISSING
14019
+
description: |
14020
+
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.
14050
+
`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
14051
ChatRequestStream:
13845
14052
required:
13846
14053
- messages
@@ -13914,6 +14121,14 @@ components:
13914
14121
schema:
13915
14122
type: string
13916
14123
example: o365sharepoint_abc123
14124
+
datasourceInstanceId:
14125
+
name: datasourceInstanceId
14126
+
in: path
14127
+
description: The full datasource instance identifier (e.g. o365sharepoint_abc123)
0 commit comments