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 +9201,10 @@ components:
9052
9201
properties:
9053
9202
monthlyActiveUsers:
9054
9203
type: integer
9055
-
description: Number of current Monthly Active Users, in the specified departments.
9204
+
description: Number of current Monthly Active Users.
9056
9205
weeklyActiveUsers:
9057
9206
type: integer
9058
-
description: Number of current Weekly Active Users, in the specified departments.
9207
+
description: Number of current Weekly Active Users.
9059
9208
InsightsSearchSummary:
9060
9209
allOf:
9061
9210
- $ref: "#/components/schemas/CurrentActiveUsers"
@@ -9286,6 +9435,33 @@ components:
9286
9435
downvoteCount:
9287
9436
type: integer
9288
9437
description: Total number of downvotes for this agent over the specified time period.
9438
+
AgentUseCaseInsight:
9439
+
properties:
9440
+
useCase:
9441
+
type: string
9442
+
description: Use case name
9443
+
runCount:
9444
+
type: integer
9445
+
description: Total number of runs for this use case over the specified time period.
9446
+
trend:
9447
+
type: number
9448
+
format: float
9449
+
description: Percentage change in runs compared to the previous equivalent time period.
9450
+
topDepartments:
9451
+
type: string
9452
+
description: Comma-separated list of the top departments using this use case.
9453
+
topAgentId:
9454
+
type: string
9455
+
description: ID of the most-used agent for this use case.
9456
+
topAgentName:
9457
+
type: string
9458
+
description: Name of the most-used agent for this use case.
9459
+
topAgentIcon:
9460
+
$ref: "#/components/schemas/IconConfig"
9461
+
description: Icon of the most-used agent for this use case.
9462
+
topAgentIsDeleted:
9463
+
type: boolean
9464
+
description: Indicates whether the top agent has been deleted.
9289
9465
AgentsUsageByDepartmentInsight:
9290
9466
properties:
9291
9467
department:
@@ -9375,6 +9551,10 @@ components:
9375
9551
type: array
9376
9552
items:
9377
9553
$ref: "#/components/schemas/PerAgentInsight"
9554
+
topUseCasesInsights:
9555
+
type: array
9556
+
items:
9557
+
$ref: "#/components/schemas/AgentUseCaseInsight"
9378
9558
agentsUsageByDepartmentInsights:
9379
9559
type: array
9380
9560
items:
@@ -10196,7 +10376,10 @@ components:
10196
10376
- FOLLOW_UP
10197
10377
- MILESTONE_TIMELINE_CHECK
10198
10378
- PROJECT_DISCUSSION_DIGEST
10379
+
- PROJECT_FOCUS_BLOCK
10199
10380
- PROJECT_NEXT_STEP
10381
+
- DEMO_CARD
10382
+
- OOO_PLANNER
10200
10383
description: Categories of content requested. An allowlist gives flexibility to request content separately or together.
10201
10384
requestOptions:
10202
10385
$ref: "#/components/schemas/FeedRequestOptions"
@@ -10533,6 +10716,7 @@ components:
10533
10716
- SHORTCUTS_TYPE
10534
10717
- SLIDE_TYPE
10535
10718
- SPREADSHEET_TYPE
10719
+
- INLINE_HTML_TYPE
10536
10720
- WORKFLOWS_TYPE
10537
10721
FavoriteInfo:
10538
10722
type: object
@@ -10587,6 +10771,9 @@ components:
10587
10771
lastDraftSavedAt:
10588
10772
type: integer
10589
10773
description: Server Unix timestamp of the last time the draft was saved.
10774
+
lastDraftSavedBy:
10775
+
description: The person who last saved the draft.
10776
+
$ref: "#/components/schemas/Person"
10590
10777
lastUpdatedBy:
10591
10778
$ref: "#/components/schemas/Person"
10592
10779
Workflow:
@@ -10706,7 +10893,10 @@ components:
10706
10893
- FOLLOW_UP
10707
10894
- MILESTONE_TIMELINE_CHECK
10708
10895
- PROJECT_DISCUSSION_DIGEST
10896
+
- PROJECT_FOCUS_BLOCK
10709
10897
- PROJECT_NEXT_STEP
10898
+
- DEMO_CARD
10899
+
- OOO_PLANNER
10710
10900
description: Type of the justification.
10711
10901
justification:
10712
10902
type: string
@@ -10789,7 +10979,10 @@ components:
10789
10979
- FOLLOW_UP
10790
10980
- MILESTONE_TIMELINE_CHECK
10791
10981
- PROJECT_DISCUSSION_DIGEST
10982
+
- PROJECT_FOCUS_BLOCK
10792
10983
- PROJECT_NEXT_STEP
10984
+
- DEMO_CARD
10985
+
- OOO_PLANNER
10793
10986
description: Category of the result, one of the requested categories in incoming request.
10794
10987
primaryEntry:
10795
10988
$ref: "#/components/schemas/FeedEntry"
@@ -13841,6 +14034,46 @@ components:
13841
14034
- configuration
13842
14035
description: |
13843
14036
Request to update greenlisted configuration values for a datasource instance. Only keys that are exposed via the public API greenlist may be set.
14037
+
DatasourceCredentialStatus:
14038
+
type: string
14039
+
enum:
14040
+
- VALID
14041
+
- VALID_WITH_WARNINGS
14042
+
- VALIDATING
14043
+
- INVALID
14044
+
- MISSING
14045
+
description: |
14046
+
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.
14076
+
`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
14077
ChatRequestStream:
13845
14078
required:
13846
14079
- messages
@@ -13914,6 +14147,14 @@ components:
13914
14147
schema:
13915
14148
type: string
13916
14149
example: o365sharepoint_abc123
14150
+
datasourceInstanceId:
14151
+
name: datasourceInstanceId
14152
+
in: path
14153
+
description: The full datasource instance identifier (e.g. o365sharepoint_abc123)
0 commit comments