Setup
Get started with the Cloud Coding API in just a few simple steps.Get your API keys
Get your API keys
You’ll need two API keys to use Cloud Coding:
- Cloud Coding API Key: Get this from cloudcoding.ai/home
- GitHub Token: Create a personal access token with repo access at github.com/settings/tokens
API Reference
The Cloud Coding API provides a powerful, production-ready streaming endpoint for all your coding tasks.The
/invoke/stdout endpoint is recommended for production use. It provides a real-time, unfiltered stream of events from the agent, including stdout from executed tools.Endpoint
Headers
Request Body
Note: You must provide either
messages or parallel_tasks.
Response Stream
The API returns a stream of Server-Sent Events (SSE). Each event has anevent type (updates or custom) and a data payload.
Example updates event:
custom event (tool stdout):
Quick Examples
Single Task Invocation
Invoke the agent to perform a single task.Parallel Task Invocation
Run multiple tasks concurrently. The stream will contain interleaved events from each task, identified bytask_name.
Next Steps
Parallel Execution
Run multiple tasks concurrently for faster development
Dashboard
Manage your API keys and monitor usage
Pricing
Understand our transparent pricing model