Skip to navigation

Interactions

View as Markdown

Performs a detailed security analysis of the input and/or output of LLM interactions.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Headers

HL-Project-IdstringOptional
The ID or alias for the Project to govern the request processing.

Request

This endpoint expects an object.
metadataobjectRequired
inputobjectOptional
outputobjectOptional

Response

Successful Response
metadataobject
analysislist of objects
analyzed_dataobject

The language model input and/or output that was analyzed.

modified_dataobject
The potentially modified language model input and output after applying any redactions or modifications based on the analysis.
evaluationobjectOptional
The evaluation of the analysis results.

Errors

422
Unprocessable Entity Error