API suite
Agent Safety API
Input firewall, output validator, PII redaction, prompt-injection scanning, JSON repair and schema enforcement.
10Endpoints
2 composite$0.025 per call
8 atomic$0.005 per call
Endpoints
All 10 Agent Safety endpoints
| Endpoint | Tier | Per call | Description |
|---|---|---|---|
POST /v1/agent-input-firewall | composite | $0.025 | Scan untrusted input: injection risk + PII redaction + sanitized text + allow/review/block verdict |
POST /v1/agent-output-validator | composite | $0.025 | Validate LLM output: repair JSON, enforce schema, check grounding against a source, extract citations |
POST /v1/pii-redactor | atomic | $0.005 | Redact emails, phones, SSNs, cards (Luhn), IPs, API keys and JWTs |
POST /v1/prompt-injection-scanner | atomic | $0.005 | Score text for prompt-injection patterns |
POST /v1/token-compressor | atomic | $0.005 | Compress text to a target ratio of its original length |
POST /v1/json-auto-repair | atomic | $0.005 | Repair malformed JSON from LLM output |
POST /v1/schema-enforcer | atomic | $0.005 | Validate and coerce data to a JSON Schema |
POST /v1/hallucination-diff | atomic | $0.005 | Flag answer sentences unsupported by the source text |
POST /v1/citation-extractor | atomic | $0.005 | Extract URLs, DOIs, arXiv ids and author-year citations |
POST /v1/context-chunker | atomic | $0.005 | Split text into token-bounded overlapping chunks |
Access
Three ways to call it
RapidAPI$0 to startSubscribe on the marketplace listing; the free Basic plan includes 15 requests per month. Open the listing.
Direct API keyX-Caelara-KeySend the key as a header on every request to https://agent.caelaralabs.com. Request a key.
Keyless x402 USDC$0.005 / $0.025 on BaseAtomic / composite per call. A call without credentials returns HTTP 402 with payment terms; pay in USDC (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) on Base and retry with
X-PAYMENT.Model Context Protocol
Remote MCP server
Connect an MCP client over Streamable HTTP with no local install. Endpoint https://agent.caelaralabs.com/mcp, listed in the Official MCP Registry as com.caelaralabs/agent. initialize and tools/list work without credentials; tool calls need an API key sent as X-Caelara-Key. Keyless x402 payment applies to the direct HTTP routes, not to MCP tool calls.
{
"mcpServers": {
"caelara-agent": {
"type": "http",
"url": "https://agent.caelaralabs.com/mcp",
"headers": {
"X-Caelara-Key": "${CAELARA_KEY}"
}
}
}
}