API Documentation

REST API reference for the Dream Chain platform

Authentication

All API requests require a Bearer token in the Authorization header:

Authorization: Bearer <your-jwt-token>

JWT tokens are automatically managed when authenticated via the dashboard. For programmatic access, use an API key .

Base URL:https://api.dreamchain.app
21 endpoints9 categories

Apps4

Builds3

Deployments2

Evolution4

Agents3

Models1

Reports2

Auth & Keys1

Tools1

WebSocket Events

Connect via Socket.IO to receive real-time events. Use the gateway client's subscribe() method.

EventDescription
build:stageBuild pipeline stage update (stage, status, stageIndex)
build:completeBuild pipeline completed with generated files
build:errorBuild pipeline error
build:approval_neededBuild waiting for user approval at gate
deploy:completeDeployment succeeded (includes URL)
evolution:proposalNew evolution improvement proposed
dream:task:completeEvolution task completed
agent:spawnedNew agent instance spawned
agent:consciousnessAgent thought/state update
monitor:health_checkApp health check result
chain:step:completeWorkflow chain step completed
chain:completeFull workflow chain completed