Appearance
Example: Secure Prompt Flow
This example combines injection detection, compliance checks, and execution.
Steps
- Run injection detection.
- Run compliance check.
- Execute prompt if checks pass.
Example sequence
bash
# 1) Injection detection
curl https://app.veriprompt.tech/api/gateway/injection-detection \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input": "User request..."}'
# 2) Compliance check
curl https://app.veriprompt.tech/api/v1/compliance/check \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input": "User request...", "standard": "gdpr"}'
# 3) Execute
curl https://app.veriprompt.tech/api/gateway/execute \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input": "User request..."}'