# Get datafeeds configuration info
**GET /_ml/datafeeds/{datafeed_id}**
**All methods and paths for this operation:**
GET
/_ml/datafeeds
GET
/_ml/datafeeds/{datafeed_id}
You can get information for multiple datafeeds in a single API request by
using a comma-separated list of datafeeds or a wildcard expression. You can
get information for all datafeeds by using `_all`, by specifying `*` as the
``, or by omitting the ``.
This API returns a maximum of 10,000 datafeeds.
## Required authorization
* Cluster privileges: `monitor_ml`
## Servers
- http://api.example.com: http://api.example.com ()
## Authentication methods
- Api key auth
- Basic auth
- Bearer auth
## Parameters
### Path parameters
- **datafeed_id** (string | array[string])
Identifier for the datafeed. It can be a datafeed identifier or a
wildcard expression. If you do not specify one of these options, the API
returns information about all datafeeds.
### Query parameters
- **allow_no_match** (boolean)
Specifies what to do when the request:
1. Contains wildcard expressions and there are no datafeeds that match.
2. Contains the `_all` string or no identifiers and there are no matches.
3. Contains wildcard expressions and there are only partial matches.
The default value is `true`, which returns an empty `datafeeds` array
when there are no matches and the subset of results when there are
partial matches. If this parameter is `false`, the request returns a
`404` status code when there are no matches or only partial matches.
- **exclude_generated** (boolean)
Indicates if certain fields should be removed from the configuration on
retrieval. This allows the configuration to be in an acceptable format to
be retrieved and then added to another cluster.
## Responses
### 200
#### Body: application/json (object)
- **count** (number)
- **datafeeds** (array[object])
[Powered by Bump.sh](https://bump.sh)