Evaluate Prompt API

The evaluate endpoint acts as a proxy between your application and Anthropic's Claude. It automatically scrubs PII and validates against safety policies.

Endpoint

POST https://ethicuse.in/api/evaluate.php

Example Request (cURL)

curl -X POST https://ethicuse.in/api/evaluate.php \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer eth_live_xxxxxxxxxxxx" \
  -d '{
    "prompt": "Here is my data: John Doe, +1-555-010-2938",
    "model": "claude-3-5-sonnet"
  }'