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.
4064
+
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: Total number of downvotes for this agent over the specified time period.
9380
+
AgentUseCaseInsight:
9381
+
properties:
9382
+
useCase:
9383
+
type: string
9384
+
description: Use case name
9385
+
runCount:
9386
+
type: integer
9387
+
description: Total number of runs for this use case over the specified time period.
9388
+
trend:
9389
+
type: number
9390
+
format: float
9391
+
description: Percentage change in runs compared to the previous equivalent time period.
9392
+
topDepartments:
9393
+
type: string
9394
+
description: Comma-separated list of the top departments using this use case.
9395
+
topAgentId:
9396
+
type: string
9397
+
description: ID of the most-used agent for this use case.
9398
+
topAgentName:
9399
+
type: string
9400
+
description: Name of the most-used agent for this use case.
9401
+
topAgentIcon:
9402
+
$ref: "#/components/schemas/IconConfig"
9403
+
description: Icon of the most-used agent for this use case.
9404
+
topAgentIsDeleted:
9405
+
type: boolean
9406
+
description: Indicates whether the top agent has been deleted.
9289
9407
AgentsUsageByDepartmentInsight:
9290
9408
properties:
9291
9409
department:
@@ -9375,6 +9493,10 @@ components:
9375
9493
type: array
9376
9494
items:
9377
9495
$ref: "#/components/schemas/PerAgentInsight"
9496
+
topUseCasesInsights:
9497
+
type: array
9498
+
items:
9499
+
$ref: "#/components/schemas/AgentUseCaseInsight"
9378
9500
agentsUsageByDepartmentInsights:
9379
9501
type: array
9380
9502
items:
@@ -10196,6 +10318,7 @@ components:
10196
10318
- FOLLOW_UP
10197
10319
- MILESTONE_TIMELINE_CHECK
10198
10320
- PROJECT_DISCUSSION_DIGEST
10321
+
- PROJECT_FOCUS_BLOCK
10199
10322
- PROJECT_NEXT_STEP
10200
10323
description: Categories of content requested. An allowlist gives flexibility to request content separately or together.
10201
10324
requestOptions:
@@ -10533,6 +10656,7 @@ components:
10533
10656
- SHORTCUTS_TYPE
10534
10657
- SLIDE_TYPE
10535
10658
- SPREADSHEET_TYPE
10659
+
- INLINE_HTML_TYPE
10536
10660
- WORKFLOWS_TYPE
10537
10661
FavoriteInfo:
10538
10662
type: object
@@ -10706,6 +10830,7 @@ components:
10706
10830
- FOLLOW_UP
10707
10831
- MILESTONE_TIMELINE_CHECK
10708
10832
- PROJECT_DISCUSSION_DIGEST
10833
+
- PROJECT_FOCUS_BLOCK
10709
10834
- PROJECT_NEXT_STEP
10710
10835
description: Type of the justification.
10711
10836
justification:
@@ -10789,6 +10914,7 @@ components:
10789
10914
- FOLLOW_UP
10790
10915
- MILESTONE_TIMELINE_CHECK
10791
10916
- PROJECT_DISCUSSION_DIGEST
10917
+
- PROJECT_FOCUS_BLOCK
10792
10918
- PROJECT_NEXT_STEP
10793
10919
description: Category of the result, one of the requested categories in incoming request.
10794
10920
primaryEntry:
@@ -13841,6 +13967,46 @@ components:
13841
13967
- configuration
13842
13968
description: |
13843
13969
Request to update greenlisted configuration values for a datasource instance. Only keys that are exposed via the public API greenlist may be set.
13970
+
DatasourceCredentialStatus:
13971
+
type: string
13972
+
enum:
13973
+
- VALID
13974
+
- VALID_WITH_WARNINGS
13975
+
- VALIDATING
13976
+
- INVALID
13977
+
- MISSING
13978
+
description: |
13979
+
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.
14009
+
`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.
|`agents_time_saved_insights`| List[[models.AgentsTimeSavedInsight](../models/agentstimesavedinsight.md)]|:heavy_minus_sign:| Insights for agents time saved over the specified time period. |
0 commit comments