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.
@@ -401,6 +401,63 @@ paths:
401
401
security:
402
402
- APIToken: []
403
403
/api/skills/{skill_id}:
404
+
patch:
405
+
tags:
406
+
- Skills
407
+
summary: Update skill
408
+
description: |
409
+
Update mutable metadata for a skill. V1 supports enabling or disabling a skill without changing its content.
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.
5642
5699
schemas:
5700
+
PlatformWarning:
5701
+
type: object
5702
+
additionalProperties: false
5703
+
required:
5704
+
- code
5705
+
- message
5706
+
description: Non-blocking warning attached to a successful Platform response.
5707
+
properties:
5708
+
code:
5709
+
type: string
5710
+
minLength: 1
5711
+
description: |
5712
+
Open snake_case warning code. Clients must tolerate unknown values; the set of codes is not a closed enum.
5713
+
example: results_incomplete
5714
+
message:
5715
+
type: string
5716
+
minLength: 1
5717
+
description: Human-readable warning message.
5643
5718
PlatformAgentsSearchRequest:
5644
5719
type: object
5645
5720
additionalProperties: false
@@ -6205,18 +6280,6 @@ components:
6205
6280
is_manifest:
6206
6281
type: boolean
6207
6282
description: Whether this file is the skill manifest.
|`results`| List[[models.PlatformResult](../models/platformresult.md)]|:heavy_check_mark:| Ordered list of search results. |
9
+
|`has_more`|*bool*|:heavy_check_mark:| Indicates whether additional pages of results are available. |
10
+
|`next_cursor`|*Nullable[str]*|:heavy_check_mark:| Opaque token to pass as `cursor` in the next request. |
11
+
|`request_id`|*str*|:heavy_check_mark:| Platform-generated request ID for support correlation. |
12
+
|`warnings`| List[[models.PlatformWarning](../models/platformwarning.md)]|:heavy_check_mark:| Non-blocking warnings for this response. Always present; empty means `[]`. Clients must tolerate unknown warning codes.<br/> |
0 commit comments