Create an OpenAI inference endpoint

  • PUT /_inference/{task_type}/{openai_inference_id}

Create an inference endpoint to perform an inference task with the openai service or openai compatible APIs.

  • Cluster privileges: manage_inference

Query Parameters

timeout string Duration · default: 30s

Specifies the amount of time to wait for the inference endpoint to be created.

Response