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

EndpointTierPer callDescription
POST /v1/agent-input-firewallcomposite$0.025Scan untrusted input: injection risk + PII redaction + sanitized text + allow/review/block verdict
POST /v1/agent-output-validatorcomposite$0.025Validate LLM output: repair JSON, enforce schema, check grounding against a source, extract citations
POST /v1/pii-redactoratomic$0.005Redact emails, phones, SSNs, cards (Luhn), IPs, API keys and JWTs
POST /v1/prompt-injection-scanneratomic$0.005Score text for prompt-injection patterns
POST /v1/token-compressoratomic$0.005Compress text to a target ratio of its original length
POST /v1/json-auto-repairatomic$0.005Repair malformed JSON from LLM output
POST /v1/schema-enforceratomic$0.005Validate and coerce data to a JSON Schema
POST /v1/hallucination-diffatomic$0.005Flag answer sentences unsupported by the source text
POST /v1/citation-extractoratomic$0.005Extract URLs, DOIs, arXiv ids and author-year citations
POST /v1/context-chunkeratomic$0.005Split 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}" } } } }