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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRedTeamRetrieveNextActionParams.BuilderA builder for RedTeamRetrieveNextActionParams.
-
Method Summary
Modifier and Type Method Description final Optional<String>workflowId()The workflow identifier final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final RedTeamRetrieveNextActionParams.BuildertoBuilder()final String_pathParam(Integer index)Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static RedTeamRetrieveNextActionParamsnone()final static RedTeamRetrieveNextActionParams.Builderbuilder()Returns a mutable builder for constructing an instance of RedTeamRetrieveNextActionParams. -
-
Method Detail
-
workflowId
final Optional<String> workflowId()
The workflow identifier
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final RedTeamRetrieveNextActionParams.Builder toBuilder()
-
_pathParam
final String _pathParam(Integer index)
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
none
final static RedTeamRetrieveNextActionParams none()
-
builder
final static RedTeamRetrieveNextActionParams.Builder builder()
Returns a mutable builder for constructing an instance of RedTeamRetrieveNextActionParams.
-
-
-
-