Skip to content

Commit a138c2f

Browse files
authored
fix(specs): add queryID to search response (#2801)
1 parent b12d41a commit a138c2f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

specs/search/common/schemas/SearchResponse.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,12 @@ baseSearchResponse:
174174
type: string
175175
description: Host name of the server that processed the request.
176176
example: 'c2-uk-3.algolia.net'
177-
userData:
177+
userData:
178178
$ref: '../../../common/schemas/IndexSettings.yml#/userData'
179+
queryID:
180+
type: string
181+
description: Unique identifier for the query. This is used for [click analytics](https://www.algolia.com/doc/guides/analytics/click-analytics/).
182+
example: 'a00dbc80a8d13c4565a442e7e2dca80a'
179183

180184
nbHits:
181185
type: integer

0 commit comments

Comments
 (0)