> ## Documentation Index
> Fetch the complete documentation index at: /llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Make your first calibrated decision API call in under 5 minutes

## 1. Authentication

Inevitable endpoints require a Bearer token supplied in the `Authorization` header:

```bash
Authorization: Bearer <YOUR_INEVITABLE_API_KEY>
```

You can obtain an API key from your institutional console at [signalpattern.ai](https://signalpattern.ai) or contact your deployment administrator for an In-VPC cluster key.

***

## 2. Make Your First Call

Submit an observation `state` and structured `questions` with optional `reasons: true` to `/v1/systemone`:

```bash cURL
curl -X POST "https://api.inevitableco.ai/v1/systemone" \
  -H "Authorization: Bearer $INEVITABLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "state": "Borrower debt-to-equity ratio reached 3.42x at Q3 close. Covenant ceiling is 3.50x. EBITDA dropped 14% year-over-year. Unrestricted cash is $4.2M.",
    "model": "inevitable-senatus-1.0",
    "reasons": true,
    "questions": {
      "covenant_risk": {
        "type": "choice",
        "instructions": "Classify borrower covenant posture for the subsequent quarter",
        "options": ["COMPLIANT", "WATCHLIST", "BREACH"],
        "criteria": {
          "COMPLIANT": "Covenant cushion exceeds 15% with stable operational cash flow",
          "WATCHLIST": "Covenant cushion within 10% threshold or EBITDA down >10%",
          "BREACH": "Covenant ratio breaches 3.50x or technical default declared"
        }
      },
      "liquidity_check": {
        "type": "noul",
        "instructions": "Is cash runway sufficient to service Q4 obligations?"
      }
    }
  }'
```

```python Python SDK
import httpx

url = "https://api.inevitableco.ai/v1/systemone"
headers = {
    "Authorization": f"Bearer {INEVITABLE_API_KEY}",
    "Content-Type": "application/json"
}

payload = {
    "state": "Borrower debt-to-equity ratio reached 3.42x at Q3 close. Covenant ceiling is 3.50x. EBITDA dropped 14% year-over-year. Unrestricted cash is $4.2M.",
    "model": "inevitable-senatus-1.0",
    "reasons": True,
    "questions": {
        "covenant_risk": {
            "type": "choice",
            "instructions": "Classify borrower covenant posture for the subsequent quarter",
            "options": ["COMPLIANT", "WATCHLIST", "BREACH"],
            "criteria": {
                "COMPLIANT": "Covenant cushion exceeds 15% with stable operational cash flow",
                "WATCHLIST": "Covenant cushion within 10% threshold or EBITDA down >10%",
                "BREACH": "Covenant ratio breaches 3.50x or technical default declared"
            }
        },
        "liquidity_check": {
            "type": "noul",
            "instructions": "Is cash runway sufficient to service Q4 obligations?"
        }
    }
}

response = httpx.post(url, headers=headers, json=payload, timeout=30.0)
result = response.json()

covenant_ans = result["answers"]["covenant_risk"]
print(f"Decision: {covenant_ans['choice']}")
print(f"Calibrated Probability: {covenant_ans['confidence']:.2%}")
print(f"Distribution: {covenant_ans['probabilities']}")
print(f"Grounded Reasons (For): {covenant_ans['reasons']['for']}")
print(f"Grounded Reasons (Against): {covenant_ans['reasons']['against']}")
print(f"Audit Hash: {result['audit']['hash']}")
```

```typescript TypeScript
import axios from 'axios';

const url = 'https://api.inevitableco.ai/v1/systemone';

const payload = {
  state: 'Borrower debt-to-equity ratio reached 3.42x at Q3 close. Covenant ceiling is 3.50x. EBITDA dropped 14% year-over-year. Unrestricted cash is $4.2M.',
  model: 'inevitable-senatus-1.0',
  reasons: true,
  questions: {
    covenant_risk: {
      type: 'choice',
      instructions: 'Classify borrower covenant posture for the subsequent quarter',
      options: ['COMPLIANT', 'WATCHLIST', 'BREACH'],
      criteria: {
        COMPLIANT: 'Covenant cushion exceeds 15% with stable operational cash flow',
        WATCHLIST: 'Covenant cushion within 10% threshold or EBITDA down >10%',
        BREACH: 'Covenant ratio breaches 3.50x or technical default declared',
      },
    },
    liquidity_check: {
      type: 'noul',
      instructions: 'Is cash runway sufficient to service Q4 obligations?',
    },
  },
};

const response = await axios.post(url, payload, {
  headers: {
    Authorization: `Bearer ${process.env.INEVITABLE_API_KEY}`,
    'Content-Type': 'application/json',
  },
});

console.log('Answer:', response.data.answers.covenant_risk.choice);
console.log('Probabilities:', response.data.answers.covenant_risk.probabilities);
console.log('Reasons:', response.data.answers.covenant_risk.reasons);
console.log('Audit Hash:', response.data.audit.hash);
```

***

## 3. Understand the Response

The response is typed JSON with zero prose formatting:

```json
{
  "model": "inevitable-senatus-1.0",
  "answers": {
    "covenant_risk": {
      "choice": "WATCHLIST",
      "confidence": 0.8420,
      "probabilities": {
        "COMPLIANT": 0.0520,
        "WATCHLIST": 0.8420,
        "BREACH": 0.1060
      },
      "reasons": {
        "for": [
          {
            "fact": "Borrower debt-to-equity ratio reached 3.42x at Q3 close. Covenant ceiling is 3.50x.",
            "effect": "Cushion beneath covenant threshold has narrowed to 8 basis points (2.3% margin)."
          },
          {
            "fact": "EBITDA dropped 14% year-over-year.",
            "effect": "Satisfies the watchlist trigger condition of operational earnings decline exceeding 10%."
          }
        ],
        "against": [
          {
            "fact": "Unrestricted cash is $4.2M, sufficient for 2 quarters.",
            "effect": "Near-term liquidity provides adequate runway preventing imminent technical breach."
          }
        ]
      }
    },
    "liquidity_check": {
      "choice": "yes",
      "noul": 0.8920,
      "confidence": 0.8920,
      "probabilities": {
        "yes": 0.8920,
        "no": 0.1080
      }
    }
  },
  "latency_ms": 114.8,
  "audit": {
    "hash": "sha256:1d80d1d47aea41c43a3060f99478f793eef92e92da3072bd94553315a6b7d0a2",
    "standard": "OCC SR 11-7 / Federal Reserve SR 11-7",
    "receipt": "Deterministic linear weight trace verified against SR 11-7 regulatory standard."
  }
}
```

***

## Next Steps

> [card] [API Reference](/api-reference/systemone.md)
>
> Full documentation for the 3 input types, options schema, and explainability.

> [card] [Model Specifications](/models/senatus-62b.md)
>
> Explore the architecture behind Senatus 62B, Urus 31B, and Messis 31B.

> [card] [Dual Council Consensus](/guides/dual-council.md)
>
> Learn how the Messis 31B and Urus 31B Mixture of Experts operates.

> [card] [In-VPC Deployment](/guides/in-vpc-deployment.md)
>
> Deploy dedicated GPU clusters within your private enterprise subnet.
