Perform sparse embedding inference on the service POST /_inference/sparse_embedding/{inference_id} Auth Path 1 parameter Query 1 parameter Body 2 properties Responses 1 response Path Query Body Responses Expand all Expand all Path parameters inference_id string required The inference Id Query parameters timeout union oneOf · default: 30s Specifies the amount of time to wait for the inference request to complete. Values: -1 0 Request body { } input union string | string[] required Inference input. Either a string or an array of strings. task_settings object Optional task settings Responses 200 application/json sparse_embedding object[] required − Hide 2 properties is_truncated boolean required Indicates if the text input was truncated in the request sent to the service embedding object required