X-40
API Reference

Hosted API

Base URL: https://x40-api.neoamorfic.ai

POST /v1/llm/run
{
  "model": "gpt-4.1",
  "profile": "facts",
  "prompt": "…",
  "trace_mode": "summary",
  "text_mode": "text",
  "max_output_tokens": 64
}
Response includes policy decision, reason codes, and audit fields. Some fields are profile-dependent.
Authentication
X-Api-Key: <YOUR_X40_KEY>