Create a new edge application from a WebAssembly binary. The app is configured with execution limits, environment variables, and network assignments. Apps start in draft status (0) and must be explicitly enabled to receive traffic.
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token.
Example: apikey 1234$abcdef
App details
Unique application name (alphanumeric, hyphens allowed)
1 - 64^[a-z0-9][a-z0-9-]*[a-z0-9]$"my-edge-app"
ID of the WebAssembly binary to deploy
x >= 112345
Template ID
Status code:
0 - draft (inactive)
1 - enabled
2 - disabled
5 - suspended
0 <= x <= 21
Environment variables
{ "var1": "value1", "var2": "value2" }Extra headers to add to the response
{ "header1": "value1", "header2": "value2" }Logging channel. Use 'kafka' to enable log collection (queryable via API), or 'none' to disable logging.
kafka, none "kafka"
Enable verbose debug logging for 30 minutes. Automatically expires to prevent performance impact.
false
Optional human-readable description of the application's purpose
1024"Production API gateway for customer portal"
Application secrets
Application edge stores
Application created successfully, returns app metadata
App ID
x >= 1App name
Status code:
0 - draft (inactive)
1 - enabled
2 - disabled
3 - hourly call limit exceeded
4 - daily call limit exceeded
5 - suspended
Binary ID
Wasm API type
Application plan ID
App URL
Description of the binary
When debugging finishes
Template ID
Template name
Networks
ID of the binary the app can be upgraded to
Application plan name