B_Act Labs API
The E-Model reads a text message and returns a five-dimension behavioral annotation in under 5ms, with no LLM call and no token cost. It sits upstream of your model so you can route risky or high-urgency messages before they reach it.
Base URL
Text
https://api.bactlabs.africaAll requests are authenticated with a Bearer API key and go through the metered gateway at /v1/analyze. Create a key from Settings → API Keys.
Quick start
Shell
curl -X POST https://api.bactlabs.africa/v1/analyze \
-H "Authorization: Bearer sk_bact_your_key" \
-H "Content-Type: application/json" \
-d '{"message": "Cancel my account. Your bot is useless."}'The five dimensions
- Emotional Valence — positive / neutral / negative / mixed
- Cognitive Load — low / moderate / high / overload
- Urgency Level — passive / low / medium / high / critical
- Engagement State — disengaged / browsing / focused / immersed
- Social Register + Cultural Context — formal / semi-formal / informal / crisis / cultural modifier
Next
Read Authentication, the /v1/analyze reference, and Rate limits & quotas.