Docs/API Reference/API Overview

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

GET/api/agents

List all agents in your organization

POST/api/agents

Create a new agent (triggers EC2 provisioning)

GET/api/agents/:id

Get agent details including instance status

PUT/api/agents/:id

Update agent configuration

DELETE/api/agents/:id

Stop the agent and terminate the EC2 instance

Infrastructure

POST/api/infra/deployments

Launch a dedicated EC2 instance for an agent

GET/api/infra/instances

List running EC2 instances with health status

GET/api/infra/models

List available AI models (currently Claude Opus 4.6 via AWS Bedrock)

Billing

POST/api/billing/checkout

Create a Stripe Checkout session

GET/api/billing/subscription

Get current subscription status

GET/api/billing/usage

Get current-period usage metrics

Team

GET/api/team

List all team members and pending invites

POST/api/team

Send 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