Overview
Authentication API
Management API
- bl apply
- Bl metrics
- bl get
- bl get agents
- Bl get environments
- bl get functions
- bl get integrationconnections
- Bl get locations
- bl get jobs
- bl get models
- bl get policies
- bl get sandboxes
- bl delete
- bl delete agent
- bl delete function
- bl delete integrationconnection
- bl delete job
- bl delete model
- bl delete policy
- bl delete sandbox
Developer API
bl serve
bl serve
Serve a blaxel project
Synopsis
Serve a blaxel project
Copy
Ask AI
bl serve [flags]
Examples
Copy
Ask AI
bl serve --remote --hotreload --port 1338
Options
Copy
Ask AI
-d, --directory string Serve the project from a sub directory
-e, --env-file strings Environment file to load (default [.env])
-h, --help help for serve
-H, --host string Bind socket to this port. If 0, an available port will be picked (default "0.0.0.0")
--hotreload Watch for changes in the project
-p, --port int Bind socket to this host (default 1338)
-r, --recursive Serve the project recursively (default true)
-s, --secrets strings Secrets to deploy
Options inherited from parent commands
Copy
Ask AI
-o, --output string Output format. One of: pretty,yaml,json,table
--skip-version-warning Skip version warning
-u, --utc Enable UTC timezone
-v, --verbose Enable verbose output
-w, --workspace string Specify the workspace name
SEE ALSO
- bl - Blaxel CLI is a command line tool to interact with Blaxel APIs.
Was this page helpful?
Assistant
Responses are generated using AI and may contain mistakes.