-
Notifications
You must be signed in to change notification settings - Fork 127
Expand file tree
/
Copy pathesql.async_query.json
More file actions
57 lines (57 loc) · 2.08 KB
/
esql.async_query.json
File metadata and controls
57 lines (57 loc) · 2.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"esql.async_query": {
"documentation": {
"url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-esql-async-query",
"description": "Run an async ES|QL query"
},
"stability": "stable",
"visibility": "public",
"headers": {
"accept": ["application/json"],
"content_type": ["application/json"]
},
"url": {
"paths": [
{
"path": "/_query/async",
"methods": ["POST"]
}
]
},
"params": {
"format": {
"type": "enum",
"description": "A short version of the Accept header, e.g. json, yaml.\n\n`csv`, `tsv`, and `txt` formats will return results in a tabular format, excluding other metadata fields from the response.\n\nFor async requests, nothing will be returned if the async query doesn't finish within the timeout.\nThe 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.",
"options": [
"csv",
"json",
"tsv",
"txt",
"yaml",
"cbor",
"smile",
"arrow"
]
},
"delimiter": {
"type": "string",
"description": "The character to use between values within a CSV row. Only valid for the csv format.",
"default": ","
},
"drop_null_columns": {
"type": "boolean",
"description": "Should entirely null columns be removed from the results? Their name and type will be returning in a new `all_columns` section.",
"default": false
},
"allow_partial_results": {
"type": "boolean",
"description": "If `true`, partial results will be returned if there are shard failures, but\nthe query can continue to execute on other clusters and shards.\nIf `false`, the entire query will fail if there are\nany failures.",
"default": true
}
},
"body": {
"description": "Use the `query` element to start a query. Use `columnar` to format the answer.",
"required": true
}
}
}