API Reference
Use the Dev Platform API to manage environments and monitors from CI/CD, scripts, or your app.
Base URL: devplat.ch/apiJSONBearer auth
Authentication
All requests need Authorization: Bearer <key>.
export DP_API_KEY=dpk_live_xxx

Generate keys in Settings → API Keys.

Code examples
Create an environment
Provision a temporary database or Linux environment.
curl -X POST https://devplat.ch/api/user/envs \
  -H "Authorization: Bearer $DP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"kind":"postgres","ttl":"8h","name":"ci-test-db"}'
List environments
Retrieve all environments for the current account.
curl https://devplat.ch/api/user/envs \
  -H "Authorization: Bearer $DP_API_KEY"
Create a monitor
Start monitoring an HTTP endpoint with a 1-minute interval.
curl -X POST https://devplat.ch/api/monitors/check \
  -H "Authorization: Bearer $DP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Prod API","url":"https://api.myapp.com/health","intervalSec":60}'
Delete an environment
Stop a running environment before its TTL expires.
curl -X DELETE https://devplat.ch/api/user/envs/env_abc123 \
  -H "Authorization: Bearer $DP_API_KEY"
Rate limits
EndpointFreeProUltimate
POST /user/envs10/min60/min300/min
GET /user/envs60/min300/min1000/min
POST /monitors/check10/min60/min300/min
All other30/min200/min1000/min
Need help?

Check the FAQ or contact sales.