Skip to main content
POST
Python (SDK)

Autorizações

Authorization
string
header
obrigatório

Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.

Cabeçalhos

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Corpo

application/json
content
string
obrigatório

Conteúdo para testar contra os limites.

Resposta

200 - application/json

OK

object
any
obrigatório
passed
boolean
obrigatório
triggered_guardrail
enum<string>
Opções disponíveis:
ban_words,
prompt_injection,
leakage
rejection_message
string
user_input
string
details
object