API Reference
Use the Dev Platform API to manage environments and monitors from CI/CD, scripts, or your app.
Base URL: api.devplat.ch/v1JSONBearer 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://api.devplat.ch/v1/envs -H "Authorization: Bearer $DP_API_KEY"
List environments
Retrieve all environments for the current account.
curl https://api.devplat.ch/v1/envs -H "Authorization: Bearer $DP_API_KEY"
Create a monitor
Start monitoring an HTTP endpoint with a 1-minute interval.
curl -X POST https://api.devplat.ch/v1/monitors -H "Authorization: Bearer $DP_API_KEY"
Delete an environment
Stop a running environment before its TTL expires.
curl -X DELETE https://api.devplat.ch/v1/envs/env_abc123 -H "Authorization: Bearer $DP_API_KEY"
Rate limits
EndpointFreeProEnterprise
POST /envs10/min60/min300/min
GET /envs60/min300/min1000/min
POST /monitors10/min60/min300/min
All other30/min200/min1000/min
Need help?

Check the FAQ or contact sales.