ArcSek

ArcShield Documentation

Back to Dashboard

Categories

Setup & Integration

▶ Setting up ArcShield in n8n

1. Add HTTP Request node – Method: POST, URL: https://api.arcsek.com/check

2. Headers: X-API-Key: YOUR_API_KEY, Content-Type: application/json

3. Body: JSON with {"text": "{{$json.user_input}}"}

4. Process response: If status is "DANGER", block the message; else proceed.

{
  "text": "{{$json.prompt}}"
}

Download example n8n workflow

▶ Integration with Python (Flask / FastAPI)
import requests

def check_prompt(user_input):
    response = requests.post(
        "https://api.arcsek.com/check",
        headers={"X-API-Key": "your_key"},
        json={"text": user_input}
    )
    return response.json()["status"]

Then in your AI endpoint, if status == "DANGER", return a safe error message instead of processing.

▶ Node.js / Express integration
const axios = require('axios');

async function checkPrompt(text) {
  const res = await axios.post('https://api.arcsek.com/check', { text }, {
    headers: { 'X-API-Key': 'your_key' }
  });
  return res.data.status;
}