# Evaluate a trained model **POST /_ml/trained_models/{model_id}/_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)