Safe AI Workbench Developer DocsAI-powered workspace with PHI protectionHIPAA-compliant API
API Playground
Test Safe AI Workbench endpoints interactively with live PHI detection
⚠️ You need to be logged in to use the API playground. Log in or go to dashboard
Select Endpoint
Request Body
Use "new" for a new conversation or existing ID to continue
AI task ID (e.g., "draft-email", "meeting-summarizer")
Task variables as JSON (e.g., {"content": "..."})
Request
cURL Command
curl https://api.guardianhealth.dev/api/ai/chat \
-X POST \
-H "Authorization: Bearer YOUR_JWT_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"conversationId": "new",
"taskId": "draft-email",
"variables": "{\"content\": \"Draft a professional email to schedule a team meeting next Tuesday at 2pm\"}"
}'Response
Execute a request to see the response