# Evaluate a trained model
**POST /_ml/trained_models/{model_id}/deployment/_infer**
**All methods and paths for this operation:**
POST
/_ml/trained_models/{model_id}/_infer
POST
/_ml/trained_models/{model_id}/deployment/_infer
## Servers
- http://api.example.com: http://api.example.com ()
## Authentication methods
- Api key auth
- Basic auth
- Bearer auth
## Parameters
### Path parameters
- **model_id** (string)
The unique identifier of the trained model.
### Query parameters
- **timeout** (string)
Controls the amount of time to wait for inference results.
### Body: application/json (object)
- **docs** (array[object])
An array of objects to pass to the model for inference. The objects should contain a fields matching your
configured trained model input. Typically, for NLP models, the field name is `text_field`.
Currently, for NLP models, only a single value is allowed.
- **inference_config** (object)
The inference configuration updates to apply on the API call
## Responses
### 200
#### Body: application/json (object)
- **inference_results** (array[object])
[Powered by Bump.sh](https://bump.sh)