Get ES|QL datasets
- GET /_query/dataset/{name}
- GET /_query/dataset
Returns one or more datasets used in ES|QL data federation.
A concrete-name miss returns 404; a wildcard pattern or list-all request with no match
returns 200 with an empty array.
Required authorization
- Index privileges manage
Response
application/json
-
datasetsobjectrequired -
The matching datasets.
-
resourcestringrequired -
The URI that identifies the data to read, resolved against the referenced data source. It can include glob patterns, for example a recursive pattern that matches Parquet files under
s3://logs-bucket/access. -
settingsmap string to object -
Format- and parsing-specific settings that configure how the resource is read. Common keys include
formatandpartition_detection. Additional keys depend on the format reader; compression can be inferred from the resource URI. -
mappingsobject -
The user-declared mapping on the dataset definition.