Application API
Application API
Application hosts your Workers: upload code and static assets as a version, deploy it, and serve it on its own *.praxisusercontent.com URL (use the url that publish returns). Concepts and behavior follow Cloudflare Workers (Workers, versions, deployments, static assets with _headers/_redirects, secrets, bindings), so Cloudflare experience applies. Differences: there are no Service Bindings, so applications call each other with fetch on their public URL; a deployment runs exactly one version at 100 percent (no gradual rollout); changing a secret creates a new version and deploys it. Application runtime data belongs in its own d1, kv or r2 components; Database, File and Knowledge are shared content stores that applications can read through public APIs, not private runtime storage. Start with praxis.application.publish, which uploads, versions and deploys in one call.
Base URL
Authentication
Authorization: Bearer <PRAXIS_API_KEY>
Endpoints
- Get account subdomain —
GET /application/v1/subdomain - Change account subdomain —
PUT /application/v1/subdomain - List Workers —
GET /application/v1/workers - Create Worker —
POST /application/v1/workers - Get Worker —
GET /application/v1/workers/{worker_id} - Update Worker —
PATCH /application/v1/workers/{worker_id} - Delete Worker —
DELETE /application/v1/workers/{worker_id} - Restore Worker —
POST /application/v1/workers/{worker_id}/restore - List versions —
GET /application/v1/workers/{worker_id}/versions - Create version —
POST /application/v1/workers/{worker_id}/versions - Get version —
GET /application/v1/workers/{worker_id}/versions/{version_id} - List deployments —
GET /application/v1/workers/{worker_id}/deployments - Create deployment —
POST /application/v1/workers/{worker_id}/deployments - Get deployment —
GET /application/v1/workers/{worker_id}/deployments/{deployment_id} - List components —
GET /application/v1/workers/{worker_id}/components - List secrets —
GET /application/v1/workers/{worker_id}/secrets - Put secret —
PUT /application/v1/workers/{worker_id}/secrets/{name} - Delete secret —
DELETE /application/v1/workers/{worker_id}/secrets/{name} - List grants —
GET /application/v1/workers/{worker_id}/grants - Create grant —
POST /application/v1/workers/{worker_id}/grants - Delete grant —
DELETE /application/v1/workers/{worker_id}/grants/{grant_id} - List events —
GET /application/v1/workers/{worker_id}/events - Create asset upload session —
POST /application/v1/workers/{worker_id}/assets-upload-session - Upload assets —
POST /application/v1/assets/upload