API Overview
SkyKoi platform API — currently internal, public API coming soon.
💡The SkyKoi API is currently **internal** — used by the dashboard to manage provisioning, billing, and agent configuration. A public API for programmatic access is **coming soon**.
The SkyKoi platform uses a Next.js API layer (hosted on Vercel) for all dashboard operations. Key internal endpoints are documented below for reference.
Authentication
All API requests are authenticated via Clerk session tokens (for dashboard use) or API keys (coming soon for programmatic access).
Internal Endpoints
These endpoints power the SkyKoi dashboard:
Agents
/api/agentsList all agents in your organization
/api/agentsCreate a new agent (triggers EC2 provisioning)
/api/agents/:idGet agent details including instance status
/api/agents/:idUpdate agent configuration
/api/agents/:idStop the agent and terminate the EC2 instance
Infrastructure
/api/infra/deploymentsLaunch a dedicated EC2 instance for an agent
/api/infra/instancesList running EC2 instances with health status
/api/infra/modelsList available AI models (currently Claude Opus 4.6 via AWS Bedrock)
Billing
/api/billing/checkoutCreate a Stripe Checkout session
/api/billing/subscriptionGet current subscription status
/api/billing/usageGet current-period usage metrics
Team
/api/teamList all team members and pending invites
/api/teamSend an invitation (requires ADMIN role)
Public API (Coming Soon)
A public REST API with API key authentication is planned. It will enable:
- •Programmatic agent provisioning and management
- •Sending messages to agents via API
- •Retrieving usage metrics and billing data
- •Webhook configuration for agent events
