{"openapi":"3.1.0","info":{"title":"Seoffix Apex Neural Engine","version":"1.0.0","summary":"OpenAI-compatible chat completions for Seoffix public models."},"servers":[{"url":"https://seoffix.com/api/v1"}],"paths":{"/health":{"get":{"operationId":"health","summary":"Gateway health","responses":{"200":{"description":"Health payload"}}}},"/chat/completions":{"post":{"operationId":"createChatCompletion","summary":"Create a chat completion","description":"Returns one JSON chat completion. A bearer key is optional. Without a key the caller uses the anonymous hourly limit.","security":[{"bearerAuth":[]},[]],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["messages"],"properties":{"model":{"type":"string","enum":["seoffix-apex","seoffix-apexnlp","seoffix-humanbypass","seoffix-brandforge","seoffix-codesynth","seoffix-appforge","seoffix-vectorcraft","seoffix-promptsphere","seoffix-toolradar"],"default":"seoffix-apex"},"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"type":"string","enum":["system","user","assistant"]},"content":{"type":"string"}}},"maxItems":16},"max_tokens":{"type":"integer","minimum":16,"maximum":1200},"temperature":{"type":"number","minimum":0,"maximum":1.5}}}}}},"responses":{"200":{"description":"Chat completion","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","const":"chat.completion"},"created":{"type":"integer"},"model":{"type":"string"},"choices":{"type":"array"},"usage":{"type":"object"}}}}}},"401":{"description":"Invalid API key"},"429":{"description":"Quota exceeded"}}}},"/tools":{"post":{"operationId":"runTool","summary":"Run a DNS, WHOIS, or PDF tool","description":"Used by @seoffix/mcp. tool is dns, whois, or pdf. PDF accepts extract_text or compress. A bearer key is optional.","security":[{"bearerAuth":[]},[]],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["tool"],"properties":{"tool":{"type":"string","enum":["dns","whois","pdf"]},"host":{"type":"string"},"domain":{"type":"string"},"record_type":{"type":"string","enum":["A","AAAA","MX","CNAME","TXT","NS"]},"action":{"type":"string","enum":["extract_text","compress"]},"source_url":{"type":"string"},"pdf_base64":{"type":"string"}}}}}},"responses":{"200":{"description":"Tool result"},"401":{"description":"Invalid API key"},"429":{"description":"Quota exceeded"}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"sfx_live_","description":"Production key issued on the subscription page. Format: sfx_live_ plus 48 hex characters."}}}}