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: docs/reference/api-reference.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4620,7 +4620,12 @@ If false, the query and its results are stored in the cluster only if the reques
4620
4620
It is valid only for the CSV format.
4621
4621
- **`drop_null_columns` (Optional, boolean)**: Indicates whether columns that are entirely `null` will be removed from the `columns` and `values` portion of the results.
4622
4622
If `true`, the response will include an extra section under the name `all_columns` which has the name of all the columns.
4623
-
- **`format` (Optional, Enum("csv" \| "json" \| "tsv" \| "txt" \| "yaml" \| "cbor" \| "smile" \| "arrow"))**: A short version of the Accept header, for example `json` or `yaml`.
4623
+
- **`format` (Optional, Enum("csv" \| "json" \| "tsv" \| "txt" \| "yaml" \| "cbor" \| "smile" \| "arrow"))**: A short version of the Accept header, e.g. json, yaml.
4624
+
4625
+
`csv`, `tsv`, and `txt` formats will return results in a tabular format, excluding other metadata fields from the response.
4626
+
4627
+
For async requests, nothing will be returned if the async query doesn't finish within the timeout.
4628
+
The query ID and running status are available in the `X-Elasticsearch-Async-Id` and `X-Elasticsearch-Async-Is-Running` HTTP headers of the response, respectively.
@@ -4721,6 +4726,8 @@ name and the next level key is the column name.
4721
4726
object with information about the clusters that participated in the search along with info such as shards
4722
4727
count.
4723
4728
- **`format` (Optional, Enum("csv" \| "json" \| "tsv" \| "txt" \| "yaml" \| "cbor" \| "smile" \| "arrow"))**: A short version of the Accept header, e.g. json, yaml.
4729
+
4730
+
`csv`, `tsv`, and `txt` formats will return results in a tabular format, excluding other metadata fields from the response.
4724
4731
- **`delimiter` (Optional, string)**: The character to use between values within a CSV row. Only valid for the CSV format.
4725
4732
- **`drop_null_columns` (Optional, boolean)**: Should columns that are entirely `null` be removed from the `columns` and `values` portion of the results?
4726
4733
Defaults to `false`. If `true` then the response will include an extra section under the name `all_columns` which has the name of all columns.
/** Indicates whether columns that are entirely `null` will be removed from the `columns` and `values` portion of the results.
17932
17938
* If `true`, the response will include an extra section under the name `all_columns` which has the name of all the columns. */
17933
17939
drop_null_columns?: boolean
17934
-
/** A short version of the Accept header, for example `json` or `yaml`. */
17940
+
/** A short version of the Accept header, e.g. json, yaml.
17941
+
*
17942
+
* `csv`, `tsv`, and `txt` formats will return results in a tabular format, excluding other metadata fields from the response.
17943
+
*
17944
+
* For async requests, nothing will be returned if the async query doesn't finish within the timeout.
17945
+
* The query ID and running status are available in the `X-Elasticsearch-Async-Id` and `X-Elasticsearch-Async-Is-Running` HTTP headers of the response, respectively. */
17935
17946
format?: EsqlEsqlFormat
17936
17947
/** By default, ES|QL returns results as rows. For example, FROM returns each individual document as one row. For the JSON, YAML, CBOR and smile formats, ES|QL can return the results in a columnar fashion where one row represents all the values of a certain column in the results. */
0 commit comments