{
  "name": "SDR AI",
  "description": "AI sales development agent that researches prospects and generates personalized outreach email sequences. Provide a company name and optional contact details; receive structured intelligence and ready-to-send email drafts.",
  "url": "https://sdrai.ai",
  "version": "1.0.0",
  "capabilities": {
    "prospect_research": "Research a company and/or contact. Returns company summary, recent news, pain points, and personalization hooks.",
    "email_drafts": "Generate a sequence of personalized outreach emails from prospect research data and sender context.",
    "research_history": "List, retrieve, and manage saved research results and associated email drafts.",
    "icp_profiles": "Create and manage Ideal Customer Profile configurations that guide research and outreach tone."
  },
  "authentication": {
    "methods": [
      {
        "scheme": "Bearer",
        "type": "JWT",
        "register": "/api/auth/register",
        "login": "/api/auth/login",
        "description": "For human users. Register, login to get JWT, include as Authorization: Bearer <token>."
      },
      {
        "scheme": "Payment",
        "type": "MPP",
        "protocol": "Machine Payments Protocol (draft-httpauth-payment-00)",
        "charge_method": "lightning",
        "description": "For AI agents. No account needed. Hit endpoint, get 402 with BOLT11 invoice, pay via Lightning, retry with preimage proof.",
        "discovery": "/.well-known/mpp"
      }
    ]
  },
  "payment": {
    "methods": ["stripe", "lightning_mpp"],
    "stripe": {
      "balance_endpoint": "/api/payments/balance",
      "topup_endpoint": "/api/payments/create-checkout",
      "description": "Prepaid USD balance for Bearer auth users. Top up via Stripe (min $5)."
    },
    "lightning_mpp": {
      "description": "Pay-per-request via Lightning. No account needed. 402 response includes BOLT11 invoice.",
      "flow": "1. POST endpoint -> 402 + WWW-Authenticate: Payment header with invoice. 2. Pay invoice, get preimage. 3. Retry with Authorization: Payment <base64url-credential>."
    }
  },
  "pricing": {
    "model": "pay-per-use with prepaid USD balance (Stripe top-up, min $5)",
    "research_quick": {"cost_cents": 20, "description": "Quick prospect research (~5s)"},
    "research_standard": {"cost_cents": 50, "description": "Standard prospect research (~15s)"},
    "research_deep": {"cost_cents": 150, "description": "Deep prospect research (~30s)"},
    "email_draft": {"cost_cents": 4, "description": "Per email in outreach sequence (4x markup on ~1c API cost)"},
    "free_tier": "1 quick research per day at zero balance",
    "volume_discounts": {
      "pro": "25% off after $100 lifetime spend",
      "power": "50% off after $1000 lifetime spend"
    }
  },
  "endpoints": {
    "api": "/api/v1/",
    "openapi": "/openapi.json",
    "docs": "/docs",
    "llms_txt": "/llms.txt",
    "health": "/api/health"
  },
  "contact": "https://sdrai.ai"
}
