v5

latestSwagger 2.02026-07-13122840.3 KB

Shield Prompt

A synchronous API for shielding prompt from direct and indirect injection attacks.

post/text:shieldPrompt

Query parameters

api-versionstring required

The API version to use for this operation.

Request body

userPromptstring

The user prompt to be analyzed, which may contain direct injection attacks.

documentsstring[]

The documents to be analyzed, which may contain direct or indirect injection attacks.

Response

The request has succeeded.