File size: 1,501 Bytes
9c0d2fa
 
4f87d5a
 
 
9c0d2fa
 
 
 
 
4f87d5a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
bc06d10
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
title: ARF Sandbox API
emoji: 🧪
colorFrom: blue
colorTo: indigo
sdk: docker
pinned: false
license: apache-2.0
---

# ARF Sandbox API – Mock Endpoint

> 🧪 **This is a fully simulated, mock API.**  
> It does **not** use the protected Bayesian engine.  
> No real data is processed – all responses are deterministic examples.

Use this endpoint to test integrations and see the expected request/response format.

## 🔗 Endpoints

- `POST /v1/evaluate` – Simulate an incident evaluation.
- `GET /health` – Health check.
- `GET /docs` – Interactive Swagger UI.

## 📦 Example Request

```bash
curl -X POST https://A-R-F-ARF-Sandbox-API.hf.space/v1/evaluate \
  -H "Content-Type: application/json" \
  -d '{"service_name":"api","event_type":"latency","severity":"high","metrics":{"latency_ms":450}}'
```

📤 Example Response
-------------------

```json
{
  "status": "success",
  "recommendation": "ESCALATE",
  "risk_score": 0.68,
  "confidence": 0.72,
  "justification": "High latency (450ms) exceeds threshold; simulated response.",
  "policy_violations": []
}
```

🔒 Real Engine
--------------

The actual ARF core engine is **access‑controlled** and available under outcome‑based pricing.Request pilot access at [arf-frontend-sandy.vercel.app/signup](https://arf-frontend-sandy.vercel.app/signup).

📚 See Also
-----------

*   [Official Specification](https://arf-foundation.github.io/arf-spec/)
    
*   [Public Demo UI](https://arf-frontend-sandy.vercel.app/)