Skip to content

Composite Intelligence

Base URL: https://app.neureus.ai
Auth: Authorization: Bearer <api_key>

Endpoints

MethodPathDescription
POST/composite/executeRun a composite pattern
GET/composite/patternsList available patterns
GET/composite/profilesList industry profiles

POST /composite/execute

Request body:

{
pattern: 'consensus' | 'critique' | 'chain-of-thought' | 'mixture-of-experts'
| 'debate' | 'ensemble' | 'self-reflection';
profile: 'healthcare' | 'financial' | 'coding' | 'legal' | 'content' | 'support';
input: string;
models?: string[]; // override default model selection
}

Response:

{
output: string;
regulated: boolean; // true for healthcare/financial profiles
disclaimer?: string; // appended for regulated profiles
pattern: string;
stepsExecuted: number;
}

Compliance guards

For healthcare and financial profiles, Neureus runs PHI/PII detection before any LLM call:

  • Healthcare: rejects SSN, MRN, DOB, patient IDs → 422
  • Financial: rejects SSNs, card numbers, bank account numbers → 422

Clean regulated inputs receive a compliance disclaimer appended to the output. regulated: true in the response signals a regulated profile was used.