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.
description: The server will send a stream of events in server-sent events (SSE) format.
1144
+
description: The server will send a stream of events in server-sent events (SSE) format. If execution fails after the stream has started, the stream may terminate with an error message in a normal `message` event.
1094
1145
example: |
1095
1146
id: 1
1096
1147
event: message
@@ -4658,6 +4709,8 @@ components:
4658
4709
APIToken:
4659
4710
scheme: bearer
4660
4711
type: http
4712
+
description: >-
4713
+
HTTP bearer token. Accepts a Glean-issued API token, an OAuth access token from the Glean OAuth Authorization Server (including Dynamic Client Registration clients), or an OAuth access token issued by an external identity provider. External-IdP OAuth tokens must also include the `X-Glean-Auth-Type: OAUTH` request header. OAuth is supported on the Client API only; the Indexing API requires a Glean-issued token.
4661
4714
schemas:
4662
4715
ActivityEventParams:
4663
4716
properties:
@@ -6002,6 +6055,8 @@ components:
6002
6055
GroupType:
6003
6056
type: string
6004
6057
description: The type of user group
6058
+
x-enumDescriptions:
6059
+
COLLECTION_AUDIENCE: Refers to any viewers of the Collection.
6005
6060
enum:
6006
6061
- DEPARTMENT
6007
6062
- ALL
@@ -6011,6 +6066,9 @@ components:
6011
6066
- LOCATION
6012
6067
- REGION
6013
6068
- EXTERNAL_GROUP
6069
+
- COLLECTION_AUDIENCE
6070
+
x-speakeasy-enum-descriptions:
6071
+
COLLECTION_AUDIENCE: Refers to any viewers of the Collection.
description: When present, indicates this workflow is admin-verified. Set via the dedicated admin settings endpoint, not by regular edits.
9094
+
showOrganizationAsAuthor:
9095
+
type: boolean
9096
+
readOnly: true
9097
+
description: When true, displays organization name instead of author name in agent card. Set via the dedicated admin settings endpoint, not by regular edits.
9098
+
WorkflowResult:
9099
+
type: object
9100
+
required:
9101
+
- workflow
9102
+
properties:
9103
+
workflow:
9104
+
$ref: "#/components/schemas/Workflow"
9105
+
CreateWorkflowResponse:
9106
+
allOf:
9107
+
- $ref: "#/components/schemas/WorkflowResult"
8976
9108
Agent:
8977
9109
title: Agent
8978
9110
type: object
@@ -9025,16 +9157,6 @@ components:
9025
9157
message:
9026
9158
type: string
9027
9159
description: Client-facing error message describing what went wrong
description: This tracks how many times this prompt template was run. If user runs a prompt template after modifying the original one, it still counts as a run for the original template.
11372
-
WorkflowMetadata:
11373
-
allOf:
11374
-
- type: object
11375
-
properties:
11376
-
author:
11377
-
$ref: "#/components/schemas/Person"
11378
-
createTimestamp:
11379
-
type: integer
11380
-
description: Server Unix timestamp of the creation time.
11381
-
lastUpdateTimestamp:
11382
-
type: integer
11383
-
description: Server Unix timestamp of the last update time.
11384
-
lastDraftSavedAt:
11385
-
type: integer
11386
-
description: Server Unix timestamp of the last time the draft was saved.
11387
-
lastDraftSavedBy:
11388
-
description: The person who last saved the draft.
11389
-
$ref: "#/components/schemas/Person"
11390
-
lastDraftGitAuthorId:
11391
-
type: string
11392
-
description: ID of the VCS user (e.g. GitHub username) who last saved the draft. Set only by the draft save path via the external Git integration API.
description: When present, indicates this workflow is admin-verified. Set via the dedicated admin settings endpoint, not by regular edits.
11410
-
showOrganizationAsAuthor:
11411
-
type: boolean
11412
-
readOnly: true
11413
-
description: When true, displays organization name instead of author name in agent card. Set via the dedicated admin settings endpoint, not by regular edits.
11414
-
WorkflowResult:
11415
-
type: object
11416
-
required:
11417
-
- workflow
11418
-
properties:
11419
-
workflow:
11420
-
$ref: "#/components/schemas/Workflow"
11421
11494
UserActivity:
11422
11495
properties:
11423
11496
actor:
@@ -11514,6 +11587,7 @@ components:
11514
11587
- MID_DAY_CATCH_UP
11515
11588
- QUERY_SUGGESTION
11516
11589
- COWORK_CUJ_PROMO
11590
+
- CARD_STACK_PROMO
11517
11591
- WEEKLY_MEETINGS
11518
11592
- FOLLOW_UP
11519
11593
- MILESTONE_TIMELINE_CHECK
@@ -11602,6 +11676,7 @@ components:
11602
11676
- MID_DAY_CATCH_UP
11603
11677
- QUERY_SUGGESTION
11604
11678
- COWORK_CUJ_PROMO
11679
+
- CARD_STACK_PROMO
11605
11680
- WEEKLY_MEETINGS
11606
11681
- FOLLOW_UP
11607
11682
- MILESTONE_TIMELINE_CHECK
@@ -11622,6 +11697,12 @@ components:
11622
11697
rank:
11623
11698
type: integer
11624
11699
description: Rank of the result. Rank is suggested by server. Client side rank may differ.
11700
+
placementReason:
11701
+
type: string
11702
+
enum:
11703
+
- ORGANIC
11704
+
- PROMO
11705
+
description: Placement source for ranked feed results. ORGANIC means the card was emitted by normal feed ranking. PROMO means the card was inserted by the homepage cards promo framework.
11625
11706
FeedResponse:
11626
11707
required:
11627
11708
- serverTimestamp
@@ -14272,7 +14353,12 @@ components:
14272
14353
items:
14273
14354
type: string
14274
14355
description: list of words and phrases to consider as whitelisted content
14275
-
description: Terms that are allow-listed during the scans. If any finding picked up by a rule exactly matches a term in the allow-list, it will not be counted as a violation.
14356
+
regexes:
14357
+
type: array
14358
+
items:
14359
+
type: string
14360
+
description: list of regular expressions whose matches are considered whitelisted content
14361
+
description: Terms and regexes that are allow-listed during the scans. If any finding picked up by a rule exactly matches a term, or matches a regex, in the allow-list, it will not be counted as a violation.
0 commit comments