Delete an inference endpoint

Auth

Path parameters

task_type enum optional

The task type

Leave it out to use /_inference/{inference_id}.

Values: sparse_embedding text_embedding rerank completion chat_completion
inference_id string required

The inference identifier.

Query parameters

dry_run boolean · default: false

When true, the endpoint is not deleted and a list of ingest processors which reference this endpoint is returned.

force boolean · default: false

When true, the inference endpoint is forcefully deleted even if it is still being used by ingest processors or semantic text fields.

Response

application/json
acknowledged boolean required

For a successful response, this value is always true. On failure, an exception is returned instead.

pipelines string[] required