Class RedTeamRetrieveNextActionParams

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

    
    public final class RedTeamRetrieveNextActionParams
     implements Params
                        

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

    Poll for next action - CLIENT'S MAIN POLLING ENDPOINT.

    This endpoint is designed to be polled repeatedly by the client. Returns immediately with current state:

    • If attack ready: Returns attack_task with prompt

    • If processing: Returns processing=true (client continues polling)

    • If complete: Returns action_type=complete