Skip to main content

Founder API Reference

All Founder endpoints are prefixed with /api/v1/agent/founder/ and require JWT authentication with a founder-authorized role (super_admin, platform_admin, founder, or owner).

Base URL

Production:  https://api.olympuscloud.ai/api/v1/agent/founder
Staging: https://staging.api.olympuscloud.ai/api/v1/agent/founder
Development: https://dev.api.olympuscloud.ai/api/v1/agent/founder
Authentication Required

All endpoints require a JWT Bearer token with one of: super_admin, platform_admin, founder, owner roles. Unauthorized requests return 403 Forbidden.

Rex AI Chat (Phase 2)

EndpointMethodDescription
/chat/conversationsGETList Rex conversation threads
/chat/conversationsPOSTCreate new conversation
/chat/conversations/{id}GETGet conversation with messages
/chat/conversations/{id}/messagesPOSTSend message to Rex
/chat/conversations/{id}DELETEDelete conversation
/chat/conversations/{id}/contextPUTUpdate conversation context type

Send Message to Rex

curl -X POST /api/v1/agent/founder/chat/conversations/{id}/messages \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"content": "Rex, how is revenue this month?"}'

Response:

{
"id": "msg_uuid",
"role": "assistant",
"content": "Based on Fortuna's data, your MRR is $47K...",
"agent_id": "rex",
"sub_agents_consulted": ["fortuna"],
"navigation_target": "finance",
"created_at": "2026-02-28T10:00:00Z"
}

Command Center (Phase 3)

EndpointMethodDescription
/kpi-summaryGETDaily briefing with KPIs from Saturn
/agent-activityGETRecent agent actions across Pantheon fleet
/dev-pulseGETDevelopment metrics from Jupiter + GitHub

KPI Summary Response

{
"briefing": "Good morning! Here are today's highlights...",
"kpis": {
"mrr_cents": 4700000,
"active_tenants": 47,
"platform_uptime_pct": 99.97,
"ai_cost_today_cents": 1250
},
"attention_items": [
{"title": "Unusual expense flagged by Pluto", "urgency": "high"},
{"title": "Auth service deploy ready", "urgency": "normal"}
]
}

Agents & ACP (Phase 5)

EndpointMethodDescription
/agents/fleet-statusGETPantheon fleet status (15 agents)
/agents/approval-queueGETPending agent-requested actions
/agents/{id}/approvePOSTApprove agent action
/agents/{id}/rejectPOSTReject agent action
/agents/acp-statusGETACP platform usage and health

Finance (Phase 6)

EndpointMethodDescription
/finance/treasuryGETCash position, burn rate, runway (Pluto)
/finance/revenueGETMRR/ARR, revenue by product (Fortuna)
/finance/billingGETSubscription billing data
/finance/investorsGETInvestor CRM contact list
/finance/investorsPOSTCreate investor contact
/finance/investors/cap-tableGETCap table with multi-class stock
/finance/investor-update/draftPOSTAI-draft investor update (Saturn)
/finance/investor-update/sendPOSTSend investor update via Minerva
/finance/crowdfunding/campaignsGETCrowdfunding campaign status
/finance/crowdfunding/campaignsPOSTCreate crowdfunding campaign

Treasury Response

{
"cash_position_cents": 240000000,
"burn_rate_monthly_cents": 8500000,
"runway_months": 28.2,
"revenue_mtd_cents": 4700000,
"expenses_mtd_cents": 3200000,
"net_income_mtd_cents": 1500000,
"funding_round_status": "none",
"total_raised_cents": 0,
"anomalies": ["AWS credit expiring next month"]
}

Customers (Phase 7)

EndpointMethodDescription
/customers/summaryGETTenant summary (count, health, MRR, NPS)
/customers/healthGETPer-tenant health table
/customers/voice-usageGETPer-tenant voice agent usage

Infrastructure & AIOps (Phase 8)

EndpointMethodDescription
/infra/servicesGETCloud Run service status grid
/infra/deploymentsGETDeployment history
/infra/deployPOSTRequest deployment (Jupiter)
/infra/rollbackPOSTRollback service (Jupiter)
/infra/ci-statusGETGitHub Actions workflow status
/infra/healthGETInfrastructure health (Spanner, Redis, Pub/Sub, Workers)
/infra/logsGETCloud Logging query
/infra/tracesGETCloud Trace spans
/infra/errorsGETError groups
/infra/alertsGETActive alerts

Team (Phase 9)

EndpointMethodDescription
/team/rosterGETEmployee list with roles and access
/team/invitePOSTInvite employee by email
/team/{id}/accessPUTUpdate employee access
/team/hiringGETHiring pipeline (Proserpina)
/team/schedulingGETSchedule and HR data (Juno)
/team/partnersGET/POST/DELETEManage external stakeholders
/team/org-chartGETOrganizational chart

Security (Phase 10)

EndpointMethodDescription
/security/overviewGETSecurity score, incidents, compliance
/security/complianceGETCompliance status (Aequitas)

Settings (Phase 11)

EndpointMethodDescription
/settingsGET/PUTCompany settings
/settings/productsGET/PUTProduct line configuration
/settings/permissionsGET/PUTEmployee permission defaults

Lifecycle (Phase 17)

EndpointMethodDescription
/lifecycle/stageGETCurrent lifecycle stage + metrics
/lifecycle/stagePUTOverride stage
/lifecycle/recommendationsGETStage-appropriate action items
/lifecycle/entity-formationPOSTStart entity formation wizard
/lifecycle/compliance/{state}GETState requirements
/lifecycle/pitch-deck/generatePOSTAI pitch deck
/lifecycle/financial-model/generatePOSTFinancial model builder
/lifecycle/exit/valuationGETExit valuation scenarios

Locations (Phase 17)

EndpointMethodDescription
/locationsGETList locations with hierarchy
/locationsPOSTCreate location
/locations/{id}PUTUpdate location
/locations/{id}/dashboardGETLocation KPIs
/locations/comparisonGETMulti-location comparison
/locations/{id}/complianceGETLocation compliance

Error Responses

All endpoints return standard error format:

{
"error": {
"code": "FORBIDDEN",
"message": "Founder role required"
},
"meta": {
"request_id": "req_abc123"
}
}
CodeHTTP StatusDescription
UNAUTHORIZED401Missing or invalid JWT
FORBIDDEN403User lacks founder role
NOT_FOUND404Resource not found
VALIDATION_ERROR422Invalid request body
INTERNAL_ERROR500Server error