Developer layer
API reference
Core endpoints of the scientific engine. Authenticate with an API key (Authorization: Bearer csi_…) for domain routes, or with a session for governance and account surfaces.
Base URL: https://camileai.com/scientific-intelligence
Authentication & account
| POST | /api/auth/signup | public | Create an account. |
| POST | /api/auth/login | public | Sign in; returns the session cookie. |
| GET | /api/auth/me | public | Identity, memberships and active tenant scope. |
| POST | /api/auth/logout | session | Revoke the current session. |
| POST | /api/auth/forgot | public | Start password recovery. |
| POST | /api/auth/reset | public | Complete password recovery. |
Research campaigns
| GET | /api/research/campaigns | key | List the tenant's campaigns. |
| POST | /api/research/campaigns | key | Create a campaign (entitlement-checked; budgetCycles clamped to the plan). |
| GET | /api/research/campaigns/{id} | public | Campaign detail (PUBLIC campaigns are world-readable).* |
| POST | /api/research/campaigns/{id}/cycle | key | Run one research cycle (monthly cycle cap enforced). |
| GET | /api/research/metrics | key | Tenant research metrics. |
| GET | /api/research/benchmark | public | Public benchmark leaderboard. |
CSIM engine
| GET | /api/csim/health | public | Institutional status (summary). |
| GET | /api/csim/overview | key | Engine overview: ledger, portfolio, campaigns. |
| GET | /api/csim/campaigns | key | Engine campaigns of the tenant. |
| POST | /api/csim/campaigns/{id}/cycle | key | Advance an engine campaign by one cycle. |
| GET | /api/csim/ledger | key | Integrity ledger (hash-chained). |
| GET | /api/csim/telemetry | key | Runtime telemetry. |
| GET | /api/csim/registry | key | Research registry. |
Tenancy & usage
| GET | /api/tenants | session | Tenants you belong to (scoped by membership). |
| GET | /api/tenants/{id}/usage | session | Monthly usage report and plan limits. |
| GET | /api/tenants/{id}/keys | session | List API keys (ADMIN+; hash never returned). |
| POST | /api/tenants/{id}/keys | session | Issue a key (full secret returned once) or revoke (action=revoke). |
| GET | /api/tenants/{id}/audit | session | Tenant audit chain. |
Public surface
| GET | /api/public/research | public | Open research gallery. |
| POST | /api/public/translate | public | Interface translation bridge. |
* Campaigns marked PUBLIC are world-readable by design (open research). Everything else follows the tenant boundary: a key resolves exactly one tenant; sessions resolve by membership.