Playground

Compose the request before you compose the UI.

This page intentionally generates request scaffolds only. It does not fabricate response data. The point is to make the API shape concrete without pretending a mock console is live.

Request composer

Household calculation scaffold

cURL

Command scaffold

curl https://api.cosilico.ai/calculate \
  -H "Authorization: Bearer $COSILICO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "year": 2025,
  "location": "CA",
  "household": {
    "filing_status": "single",
    "employment_income": 75000
  }
}'

Illustrative request scaffold. Replace the API key and payload with production values.

JSON payload

Body shape

{
  "year": 2025,
  "location": "CA",
  "household": {
    "filing_status": "single",
    "employment_income": 75000
  }
}

/calculate

/calculate

Deterministic household tax and benefit calculations with an audit trail back to encoded rule logic.

/rules

/rules

Structured lookup into encoded rules, thresholds, applicability, citations, and dependencies for retrieval and agent workflows.

/microsim

/microsim

Population-scale reform analysis, distributional breakdowns, and scoring runs over calibrated households.

/impute

/impute

Complete partial records with statistically grounded attribute prediction and calibration-aware enrichment.