Skip to content

Commit 25b04ec

Browse files
miguelgrinberggithub-actions[bot]
authored andcommitted
Add format query option to esql.async_query_get endpoint (#4685)
(cherry picked from commit d5db0ed)
1 parent 0efbcef commit 25b04ec

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

specification/esql/async_query_get/AsyncQueryGetRequest.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import { RequestBase } from '@_types/Base'
2121
import { Id } from '@_types/common'
2222
import { Duration } from '@_types/Time'
23+
import { EsqlFormat } from '@esql/_types/QueryParameters'
2324

2425
/**
2526
* Get async ES|QL query results.
@@ -46,6 +47,10 @@ export interface Request extends RequestBase {
4647
* @server_default false
4748
*/
4849
drop_null_columns?: boolean
50+
/**
51+
* A short version of the Accept header, for example `json` or `yaml`.
52+
*/
53+
format?: EsqlFormat
4954
/**
5055
* The period for which the query and its results are stored in the cluster.
5156
* When this period expires, the query and its results are deleted, even if the query is still ongoing.

0 commit comments

Comments
 (0)