Class RuntimeEvaluateRequestParams

  • All Implemented Interfaces:
    com.hiddenlayer.api.core.Params

    
    public final class RuntimeEvaluateRequestParams
     implements Params
                        

    BETA This endpoint is not GA or Production ready and is subject to changes at any time. Breaking changes may occur.

    Analyzes an LLM request payload for security threats before it is sent to the model.

    Accepts any valid provider request payload and returns:

    • If detect or redact action: the request payload (potentially modified) in the provider's request format

    • If block action: a canned block message in the provider's response format

    Use this endpoint inline in your LLM pipeline to evaluate prompts before they reach the model.

    Supported provider formats: