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
Copy file name to clipboardExpand all lines: .speakeasy/glean-merged-spec.yaml
+82-10Lines changed: 82 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -2245,7 +2245,7 @@ paths:
2245
2245
/api/index/v1/indexdocuments:
2246
2246
post:
2247
2247
summary: Index documents
2248
-
description: Adds or updates multiple documents in the index. Please refer to the [bulk indexing](https://developers.glean.com/docs/indexing_api_bulk_indexing/#choosing-indexdocuments-vs-bulkindexdocuments) documentation for an explanation of when to use this endpoint.
2248
+
description: Adds or updates multiple documents in the index. Please refer to the [bulk indexing](https://developers.glean.com/api-info/indexing/documents/bulk-indexing#choosing-indexdocuments-vs-bulkindexdocuments) documentation for an explanation of when to use this endpoint.
2249
2249
tags:
2250
2250
- Documents
2251
2251
requestBody:
@@ -2271,7 +2271,7 @@ paths:
2271
2271
/api/index/v1/bulkindexdocuments:
2272
2272
post:
2273
2273
summary: Bulk index documents
2274
-
description: Replaces the documents in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/docs/indexing_api_bulk_indexing/#bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
2274
+
description: Replaces the documents in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/api-info/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
2275
2275
tags:
2276
2276
- Documents
2277
2277
requestBody:
@@ -2403,7 +2403,7 @@ paths:
2403
2403
/api/index/v1/bulkindexusers:
2404
2404
post:
2405
2405
summary: Bulk index users
2406
-
description: Replaces the users in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/docs/indexing_api_bulk_indexing/#bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
2406
+
description: Replaces the users in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/api-info/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
2407
2407
tags:
2408
2408
- Permissions
2409
2409
requestBody:
@@ -2451,7 +2451,7 @@ paths:
2451
2451
/api/index/v1/bulkindexgroups:
2452
2452
post:
2453
2453
summary: Bulk index groups
2454
-
description: Replaces the groups in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/docs/indexing_api_bulk_indexing/#bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
2454
+
description: Replaces the groups in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/api-info/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
2455
2455
tags:
2456
2456
- Permissions
2457
2457
requestBody:
@@ -2499,7 +2499,7 @@ paths:
2499
2499
/api/index/v1/bulkindexmemberships:
2500
2500
post:
2501
2501
summary: Bulk index memberships for a group
2502
-
description: Replaces the memberships for a group in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/docs/indexing_api_bulk_indexing/#bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
2502
+
description: Replaces the memberships for a group in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/api-info/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
2503
2503
tags:
2504
2504
- Permissions
2505
2505
requestBody:
@@ -2797,7 +2797,7 @@ paths:
2797
2797
description: |
2798
2798
Intended for debugging/validation. Fetches the current upload and indexing status of documents.
2799
2799
2800
-
Tip: Use [/debug/{datasource}/document](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/#debug-datasource-document) for richer information.
2800
+
Tip: Use [/debug/{datasource}/document](https://developers.glean.com/api-info/indexing/debugging/datasource-document) for richer information.
2801
2801
tags:
2802
2802
- Troubleshooting
2803
2803
requestBody:
@@ -2829,7 +2829,7 @@ paths:
2829
2829
description: |
2830
2830
Fetches document count for the specified custom datasource.
2831
2831
2832
-
Tip: Use [/debug/{datasource}/status](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/#debug-datasource-status) for richer information.
2832
+
Tip: Use [/debug/{datasource}/status](https://developers.glean.com/api-info/indexing/debugging/datasource-status) for richer information.
2833
2833
tags:
2834
2834
- Troubleshooting
2835
2835
requestBody:
@@ -2861,7 +2861,7 @@ paths:
2861
2861
description: |
2862
2862
Fetches user count for the specified custom datasource.
2863
2863
2864
-
Tip: Use [/debug/{datasource}/status](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/#debug-datasource-status) for richer information.
2864
+
Tip: Use [/debug/{datasource}/status](https://developers.glean.com/api-info/indexing/debugging/datasource-status) for richer information.
2865
2865
tags:
2866
2866
- Troubleshooting
2867
2867
requestBody:
@@ -3006,7 +3006,7 @@ paths:
3006
3006
/api/index/v1/bulkindexemployees:
3007
3007
post:
3008
3008
summary: Bulk index employees
3009
-
description: Replaces all the currently indexed employees using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/docs/indexing_api_bulk_indexing/#bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
3009
+
description: Replaces all the currently indexed employees using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/api-info/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
3010
3010
tags:
3011
3011
- People
3012
3012
requestBody:
@@ -3121,7 +3121,7 @@ paths:
3121
3121
/api/index/v1/bulkindexteams:
3122
3122
post:
3123
3123
summary: Bulk index teams
3124
-
description: Replaces all the currently indexed teams using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/docs/indexing_api_bulk_indexing/#bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
3124
+
description: Replaces all the currently indexed teams using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/api-info/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
3125
3125
tags:
3126
3126
- People
3127
3127
requestBody:
@@ -3868,6 +3868,71 @@ components:
3868
3868
ratingScale:
3869
3869
type: integer
3870
3870
description: The scale of comparison for a rating associated with the feedback. Rating values start from one and go up to the maximum specified by ratingScale. For example, a five-option satisfaction rating will have a ratingScale of 5 and a thumbs-up/thumbs-down rating will have a ratingScale of 2.
3871
+
SideBySideImplementation:
3872
+
properties:
3873
+
implementationId:
3874
+
type: string
3875
+
description: Unique identifier for this implementation variant.
3876
+
implementationName:
3877
+
type: string
3878
+
description: Human-readable name for this implementation (e.g., "Variant A", "GPT-4", "Claude").
3879
+
searchParams:
3880
+
type: object
3881
+
description: The search/chat parameters used for this implementation.
3882
+
additionalProperties:
3883
+
type: string
3884
+
response:
3885
+
type: string
3886
+
description: The full response generated by this implementation.
3887
+
responseMetadata:
3888
+
type: object
3889
+
description: Metadata about the response (e.g., latency, token count).
3890
+
properties:
3891
+
latencyMs:
3892
+
type: integer
3893
+
description: Time taken to generate the response in milliseconds.
3894
+
tokenCount:
3895
+
type: integer
3896
+
description: Number of tokens in the response.
3897
+
modelUsed:
3898
+
type: string
3899
+
description: The specific model version used.
3900
+
ManualFeedbackSideBySideInfo:
3901
+
properties:
3902
+
email:
3903
+
type: string
3904
+
description: The email address of the user who submitted the side-by-side feedback.
3905
+
source:
3906
+
type: string
3907
+
description: The source associated with the side-by-side feedback event.
3908
+
enum:
3909
+
- LIVE_EVAL
3910
+
- CHAT
3911
+
- SEARCH
3912
+
query:
3913
+
type: string
3914
+
description: The query or prompt that was evaluated across multiple implementations.
3915
+
implementations:
3916
+
type: array
3917
+
description: Array of implementations that were compared side-by-side.
0 commit comments