Skip to main content
POST
/
guardrails
/
adherence
Guardrails Adherence
curl --request POST \
  --url https://api.enkryptai.com/guardrails/adherence \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '
{
  "llm_answer": "<string>",
  "context": "<string>"
}
'
{
  "summary": {
    "adherence_score": 0.5
  },
  "details": {
    "atomic_facts": [
      "<string>"
    ],
    "adherence_list": [
      123
    ],
    "adherence_response": "<string>",
    "adherence_latency": 123
  }
}

Authorizations

apikey
string
header
required

Body

application/json
llm_answer
string
required
context
string
required

Response

200 - application/json

Successful Response

summary
GuardrailsAdherenceResponseSummary ยท object
required
details
Analysis Details ยท object