Skip to content
中文

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; praxis_token enables platform API calls without a key in application code, reaching only what the Worker’s grants name, while praxis_vault_ref is not available. In the Praxis Application Model an application is the system of engagement: pages, APIs and orchestration. Business data, the facts of the business that survive a change of implementation (orders, customers, collected records), belongs in the system of record: Database, Knowledge, Media and File, reached through public APIs. Application state, data that exists only because of how the application is built (sessions, jobs, cursors, checkpoints, locks, retries, caches), belongs in the Worker’s own d1, kv or r2 components. Business processes run in the execution layer (Automation workflows and scripts, agents), not inside Worker code. Start with praxis.application.publish, which uploads, versions and deploys in one call.

Base URL

https://api.deepraxis.com/application/v1

Authentication

Authorization: Bearer <PRAXIS_API_KEY>

Endpoints