Everything the console, the CLI and agents do goes through this API. The machine-readable contract is /v1/openapi.yaml.
apps
GET/apps
List apps the caller can see
| Response | Description |
200 | Apps |
curl https://breezecloud.app/v1/apps \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
POST/apps
Create an app and queue its first release
Requires the operate scope and an admin role in the workspace.
| Body field | Type | Description |
branch required | string | |
name required | string | |
repo_name required | string | |
repo_owner required | string | |
build_command | string | Optional build command. Omit or leave empty to detect it. |
process | string: web, worker | web serves a site. worker runs only the background process and has no public URL. Omit for web. A worker needs a worker command or a Procfile worker. |
root_dir | string | Subdirectory to detect and build from, such as web. Omit or leave empty for the repository root. |
run_command | string | Optional start command. Omit or leave empty to detect it. |
worker_command | string | Optional background worker command. Omit or leave empty to detect a Procfile worker. |
worker_replicas | integer | How many worker processes to run. Omit to use one. |
worker_size | string | Worker container size id. Omit to use the default. |
workspace_id | string | Omit to install into the workspace whose GitHub account is the repository owner, including an organization. A personal workspace is used only when that account is not connected, and it can clone public repositories. |
| Response | Description |
201 | App created |
curl -X POST https://breezecloud.app/v1/apps \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN" \
-H "Content-Type: application/json" \
-d '{"branch":"…","name":"…","repo_name":"…","repo_owner":"…"}'
GET/apps/{id}
Get one app
| Parameter | In | Type | Description |
id required | path | string | |
| Response | Description |
200 | The app |
curl https://breezecloud.app/v1/apps/{id} \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
PATCH/apps/{id}
Change the branch or auto-deploy setting
Requires the operate scope. Omitted fields stay as they are.
| Parameter | In | Type | Description |
id required | path | string | |
| Body field | Type | Description |
auto_deploy | boolean | |
branch | string | |
build_command | string | Optional build command. Empty means detect it. Omit to leave the current value. |
container_size | string | Omit to leave the current size. |
process | string: web, worker | web or worker. Omit to leave the current choice. worker has no public URL and applies on the next deploy. A one-click app stays a website. |
root_dir | string | Subdirectory to detect and build from. Empty builds from the repository root. Omit to leave the current value. |
run_command | string | Optional start command. Empty means detect it. Omit to leave the current value. |
worker_command | string | Optional background worker command. Empty means detect a Procfile worker. Omit to leave the current value. |
worker_replicas | integer | How many worker processes to run. Omit to leave the current count. The plan caps the workspace total. Applies without a rebuild. |
worker_size | string | Worker container size id. Omit to leave the current size. The plan must include it. Applies without a rebuild. |
| Response | Description |
200 | Updated app |
curl -X PATCH https://breezecloud.app/v1/apps/{id} \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'
POST/apps/{id}/deploys
Queue a release
Requires the deploy scope. An empty sha builds the branch tip.
| Parameter | In | Type | Description |
id required | path | string | |
| Body field | Type | Description |
sha | string | Commit to build. Empty builds the branch tip. |
| Response | Description |
201 | Release queued |
curl -X POST https://breezecloud.app/v1/apps/{id}/deploys \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'
GET/apps/{id}/logs
Read current container logs
Requires the deploy scope and the deployer role on the app. Empty when apps are not deployed to a cluster.
| Parameter | In | Type | Description |
id required | path | string | |
| Response | Description |
200 | Container state and recent lines |
curl https://breezecloud.app/v1/apps/{id}/logs \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
POST/apps/{id}/pause
Pause the app
Requires the deploy scope. Needs a cluster (DEPLOY_MODE=kubectl). The app stays off, including after a deploy, until it is resumed.
| Parameter | In | Type | Description |
id required | path | string | |
| Response | Description |
200 | App paused |
curl -X POST https://breezecloud.app/v1/apps/{id}/pause \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
POST/apps/{id}/restart
Restart the running pods
Requires the deploy scope. Needs a cluster (DEPLOY_MODE=kubectl). A paused app stays paused; resume it instead.
| Parameter | In | Type | Description |
id required | path | string | |
| Response | Description |
200 | Restart started |
curl -X POST https://breezecloud.app/v1/apps/{id}/restart \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
POST/apps/{id}/resume
Resume a paused app
Requires the deploy scope. Needs a cluster (DEPLOY_MODE=kubectl). Brings the app back at its previous size.
| Parameter | In | Type | Description |
id required | path | string | |
| Response | Description |
200 | Resume started |
curl -X POST https://breezecloud.app/v1/apps/{id}/resume \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
GET/apps/{id}/runs
List one-off commands
| Parameter | In | Type | Description |
id required | path | string | |
| Response | Description |
200 | Recent commands, newest first |
curl https://breezecloud.app/v1/apps/{id}/runs \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
POST/apps/{id}/runs
Run a command in the current release
Requires the operate scope and a token that can read secrets, because the command runs with the app's config, database and secrets. Uses the serving release's image. One run at a time. Stops after 15 minutes. Ask a person before an agent calls this.
| Parameter | In | Type | Description |
id required | path | string | |
| Body field | Type | Description |
command required | string | |
| Response | Description |
201 | Command queued |
curl -X POST https://breezecloud.app/v1/apps/{id}/runs \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN" \
-H "Content-Type: application/json" \
-d '{"command":"…"}'
GET/apps/{id}/runs/{run}
Get one command, including its output
Requires the operate scope and a token that can read secrets. The output can hold anything the command printed.
| Parameter | In | Type | Description |
id required | path | string | |
run required | path | string | |
| Response | Description |
200 | The command |
curl https://breezecloud.app/v1/apps/{id}/runs/{run} \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
GET/apps/{id}/schedules
List an app's schedules
| Parameter | In | Type | Description |
id required | path | string | |
| Response | Description |
200 | The clocks |
curl https://breezecloud.app/v1/apps/{id}/schedules \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
POST/apps/{id}/schedules
Save a schedule
Requires the operate scope and a token that can read secrets. The app must be serving a release. cron is five fields in West Africa Time. preset may be hourly, daily, or nightly instead. At most 8 schedules.
| Parameter | In | Type | Description |
id required | path | string | |
| Body field | Type | Description |
command required | string | |
cron | string | |
enabled | boolean | |
preset | string: hourly, daily, nightly, custom | |
| Response | Description |
201 | Schedule saved |
409 | The app already has 8 schedules |
curl -X POST https://breezecloud.app/v1/apps/{id}/schedules \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN" \
-H "Content-Type: application/json" \
-d '{"command":"…"}'
DELETE/apps/{id}/schedules/{schedule}
Remove a schedule
Requires the operate scope and a token that can read secrets.
| Parameter | In | Type | Description |
id required | path | string | |
schedule required | path | string | |
| Response | Description |
200 | Schedule removed |
curl -X DELETE https://breezecloud.app/v1/apps/{id}/schedules/{schedule} \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
GET/workspaces
List workspaces the caller belongs to
| Response | Description |
200 | Workspaces |
curl https://breezecloud.app/v1/workspaces \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
GET/workspaces/{id}/usage
Reserved capacity a workspace used in a month
Counted each minute from what is reserved, not what is busy: an app's container size times its replicas while it serves a live release, a cache's limits while it is available, each Postgres database, and build time. Resources deleted since still appear.
| Parameter | In | Type | Description |
id required | path | string | |
month | query | string | Month in West Africa Time, like 2026-10. Defaults to this month. |
| Response | Description |
200 | Usage for the month |
400 | The month is not like 2026-10 |
curl https://breezecloud.app/v1/workspaces/{id}/usage \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
releases
GET/apps/{id}/releases
List releases, newest first, at most 20
| Parameter | In | Type | Description |
id required | path | string | |
| Response | Description |
200 | Releases, newest first |
curl https://breezecloud.app/v1/apps/{id}/releases \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
GET/apps/{id}/releases/{release}
Get one release
| Parameter | In | Type | Description |
id required | path | string | |
release required | path | string | |
| Response | Description |
200 | The release |
curl https://breezecloud.app/v1/apps/{id}/releases/{release} \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
POST/apps/{id}/releases/{release}/cancel
Cancel a queued or building release
Requires the deploy scope.
| Parameter | In | Type | Description |
id required | path | string | |
release required | path | string | |
| Response | Description |
200 | Release cancelled, or a building release asked to stop |
curl -X POST https://breezecloud.app/v1/apps/{id}/releases/{release}/cancel \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
GET/apps/{id}/releases/{release}/log
Read a release's build log
| Parameter | In | Type | Description |
id required | path | string | |
release required | path | string | |
after | query | integer | Return lines whose id is greater than this. |
| Response | Description |
200 | Release and log lines |
curl https://breezecloud.app/v1/apps/{id}/releases/{release}/log \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
POST/apps/{id}/releases/{release}/rollback
Roll back to an earlier release
Requires the deploy scope. Reuses the image and does not run the release command.
| Parameter | In | Type | Description |
id required | path | string | |
release required | path | string | |
| Response | Description |
201 | Rollback queued |
curl -X POST https://breezecloud.app/v1/apps/{id}/releases/{release}/rollback \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
config
GET/apps/{id}/config
List config var names
Names only. Values require the reveal endpoint and a secrets token.
| Parameter | In | Type | Description |
id required | path | string | |
| Response | Description |
200 | Names |
curl https://breezecloud.app/v1/apps/{id}/config \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
POST/apps/{id}/config
Set a config var and redeploy
Requires the operate scope.
| Parameter | In | Type | Description |
id required | path | string | |
| Body field | Type | Description |
key required | string | |
value required | string | |
| Response | Description |
200 | Saved |
curl -X POST https://breezecloud.app/v1/apps/{id}/config \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key":"…","value":"…"}'
POST/apps/{id}/config/reveal
Reveal config var values
Requires the operate scope and a token created with the secrets flag. Writes an audit event.
| Parameter | In | Type | Description |
id required | path | string | |
| Response | Description |
200 | Values |
curl -X POST https://breezecloud.app/v1/apps/{id}/config/reveal \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
DELETE/apps/{id}/config/{key}
Remove a config var and redeploy
Requires the operate scope.
| Parameter | In | Type | Description |
id required | path | string | |
key required | path | string | |
| Response | Description |
200 | Removed |
curl -X DELETE https://breezecloud.app/v1/apps/{id}/config/{key} \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
domains
GET/apps/{id}/domains
List custom domains
| Parameter | In | Type | Description |
id required | path | string | |
| Response | Description |
200 | Domains and the DNS records each one needs |
curl https://breezecloud.app/v1/apps/{id}/domains \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
POST/apps/{id}/domains
Add a custom domain
Requires the operate scope.
| Parameter | In | Type | Description |
id required | path | string | |
| Body field | Type | Description |
hostname required | string | |
| Response | Description |
201 | Domain added |
curl -X POST https://breezecloud.app/v1/apps/{id}/domains \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN" \
-H "Content-Type: application/json" \
-d '{"hostname":"…"}'
DELETE/apps/{id}/domains/{domain}
Remove a custom domain
Requires the operate scope.
| Parameter | In | Type | Description |
id required | path | string | |
domain required | path | string | |
| Response | Description |
200 | Removal started |
curl -X DELETE https://breezecloud.app/v1/apps/{id}/domains/{domain} \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
POST/apps/{id}/domains/{domain}/check
Ask for the domain to be checked again
Requires the operate scope. The worker checks within 30 seconds.
| Parameter | In | Type | Description |
id required | path | string | |
domain required | path | string | |
| Response | Description |
200 | Check queued |
curl -X POST https://breezecloud.app/v1/apps/{id}/domains/{domain}/check \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
postgres
GET/apps/{id}/postgres
Postgres status
The URL is masked. The password is never included.
| Parameter | In | Type | Description |
id required | path | string | |
| Response | Description |
200 | Attachment state |
curl https://breezecloud.app/v1/apps/{id}/postgres \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
POST/apps/{id}/postgres
Attach Postgres
Requires the operate scope.
| Parameter | In | Type | Description |
id required | path | string | |
| Response | Description |
201 | Attached |
curl -X POST https://breezecloud.app/v1/apps/{id}/postgres \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
POST/apps/{id}/postgres/detach
Detach Postgres
Requires the operate scope. The database is left in place and DATABASE_URL is no longer injected.
| Parameter | In | Type | Description |
id required | path | string | |
| Response | Description |
200 | Detached |
curl -X POST https://breezecloud.app/v1/apps/{id}/postgres/detach \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
POST/apps/{id}/postgres/reveal
Reveal DATABASE_URL
Requires the operate scope and a token created with the secrets flag. Writes an audit event.
| Parameter | In | Type | Description |
id required | path | string | |
| Response | Description |
200 | Connection URL |
curl -X POST https://breezecloud.app/v1/apps/{id}/postgres/reveal \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
mariadb
MariaDB 11.4, compatible with MySQL.
GET/apps/{id}/mariadb
MariaDB status
The URL is masked. The password is never included.
| Parameter | In | Type | Description |
id required | path | string | |
| Response | Description |
200 | Attachment state |
curl https://breezecloud.app/v1/apps/{id}/mariadb \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
POST/apps/{id}/mariadb
Attach MariaDB
Requires the operate scope. Pass database_id to share a database from the workspace, or omit it to create one named after the app. Injects MYSQL_URL, MYSQL_HOST, MYSQL_PORT, MYSQL_DATABASE, MYSQL_USER and MYSQL_PASSWORD.
| Parameter | In | Type | Description |
id required | path | string | |
| Response | Description |
201 | Attached |
curl -X POST https://breezecloud.app/v1/apps/{id}/mariadb \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
POST/apps/{id}/mariadb/detach
Detach MariaDB
Requires the operate scope. The database is kept and MYSQL_URL is no longer injected.
| Parameter | In | Type | Description |
id required | path | string | |
| Response | Description |
200 | Detached |
curl -X POST https://breezecloud.app/v1/apps/{id}/mariadb/detach \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
POST/apps/{id}/mariadb/reveal
Reveal MYSQL_URL
Requires the operate scope and a token created with the secrets flag. Writes an audit event.
| Parameter | In | Type | Description |
id required | path | string | |
| Response | Description |
200 | Connection URL |
curl -X POST https://breezecloud.app/v1/apps/{id}/mariadb/reveal \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
GET/mariadb
List MariaDB databases
MariaDB 11.4, compatible with MySQL. Pass workspace to limit the list. URLs are masked.
| Parameter | In | Type | Description |
workspace | query | string | |
| Response | Description |
200 | Databases |
curl https://breezecloud.app/v1/mariadb \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
POST/mariadb
Create a MariaDB database
Requires the operate scope and the admin role in the workspace.
| Body field | Type | Description |
name required | string | |
workspace_id required | string | |
| Response | Description |
201 | Created |
curl -X POST https://breezecloud.app/v1/mariadb \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"…","workspace_id":"…"}'
GET/mariadb/{id}
Show a MariaDB database
| Parameter | In | Type | Description |
id required | path | string | |
| Response | Description |
200 | Database |
curl https://breezecloud.app/v1/mariadb/{id} \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
PUT/mariadb/{id}/external
Turn external access on or off
Requires the operate scope. On lets anyone with the password connect from the internet over TLS.
| Parameter | In | Type | Description |
id required | path | string | |
| Body field | Type | Description |
enabled required | boolean | |
| Response | Description |
200 | Database |
curl -X PUT https://breezecloud.app/v1/mariadb/{id}/external \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN" \
-H "Content-Type: application/json" \
-d '{"enabled":true}'
mongodb
MongoDB 8. Document databases for apps.
GET/apps/{id}/mongodb
MongoDB status
The URL is masked. The password is never included.
| Parameter | In | Type | Description |
id required | path | string | |
| Response | Description |
200 | Attachment state |
curl https://breezecloud.app/v1/apps/{id}/mongodb \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
POST/apps/{id}/mongodb
Attach MongoDB
Requires the operate scope. Pass database_id to share a database from the workspace, or omit it to create one named after the app. Injects MONGODB_URI, MONGODB_HOST, MONGODB_PORT, MONGODB_DATABASE, MONGODB_USER and MONGODB_PASSWORD.
| Parameter | In | Type | Description |
id required | path | string | |
| Response | Description |
201 | Attached |
curl -X POST https://breezecloud.app/v1/apps/{id}/mongodb \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
POST/apps/{id}/mongodb/detach
Detach MongoDB
Requires the operate scope. The database is kept and MONGODB_URI is no longer injected.
| Parameter | In | Type | Description |
id required | path | string | |
| Response | Description |
200 | Detached |
curl -X POST https://breezecloud.app/v1/apps/{id}/mongodb/detach \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
POST/apps/{id}/mongodb/reveal
Reveal MONGODB_URI
Requires the operate scope and a token created with the secrets flag. Writes an audit event.
| Parameter | In | Type | Description |
id required | path | string | |
| Response | Description |
200 | Connection URL |
curl -X POST https://breezecloud.app/v1/apps/{id}/mongodb/reveal \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
GET/mongodb
List MongoDB databases
MongoDB 8. Pass workspace to limit the list. URLs are masked.
| Parameter | In | Type | Description |
workspace | query | string | |
| Response | Description |
200 | Databases |
curl https://breezecloud.app/v1/mongodb \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
POST/mongodb
Create a MongoDB database
Requires the operate scope and the admin role in the workspace.
| Body field | Type | Description |
name required | string | |
workspace_id required | string | |
| Response | Description |
201 | Created |
curl -X POST https://breezecloud.app/v1/mongodb \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"…","workspace_id":"…"}'
GET/mongodb/{id}
Show a MongoDB database
| Parameter | In | Type | Description |
id required | path | string | |
| Response | Description |
200 | Database |
curl https://breezecloud.app/v1/mongodb/{id} \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
PUT/mongodb/{id}/external
Turn external access on or off
Requires the operate scope. On lets anyone with the password connect from the internet over TLS.
| Parameter | In | Type | Description |
id required | path | string | |
| Body field | Type | Description |
enabled required | boolean | |
| Response | Description |
200 | Database |
curl -X PUT https://breezecloud.app/v1/mongodb/{id}/external \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN" \
-H "Content-Type: application/json" \
-d '{"enabled":true}'
Breeze Cache
Compatible with Redis OSS. Powered by Valkey.
GET/apps/{id}/valkey
Breeze Cache attached to an app
Compatible with Redis OSS. The URL is masked.
| Parameter | In | Type | Description |
id required | path | string | |
| Response | Description |
200 | Attachment |
curl https://breezecloud.app/v1/apps/{id}/valkey \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
POST/apps/{id}/valkey
Attach Breeze Cache to an app
Requires the operate scope. The next deploy injects VALKEY_URL and REDIS_URL.
| Parameter | In | Type | Description |
id required | path | string | |
| Body field | Type | Description |
instance_id required | string | |
| Response | Description |
200 | Attached |
curl -X POST https://breezecloud.app/v1/apps/{id}/valkey \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN" \
-H "Content-Type: application/json" \
-d '{"instance_id":"…"}'
POST/apps/{id}/valkey/detach
Detach Breeze Cache
Requires the operate scope. The instance is left in place.
| Parameter | In | Type | Description |
id required | path | string | |
| Response | Description |
200 | Detached |
curl -X POST https://breezecloud.app/v1/apps/{id}/valkey/detach \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
POST/apps/{id}/valkey/reveal
Reveal VALKEY_URL
Requires the operate scope and a token created with the secrets flag. REDIS_URL is the same value. Writes an audit event.
| Parameter | In | Type | Description |
id required | path | string | |
| Response | Description |
200 | Connection URLs |
curl -X POST https://breezecloud.app/v1/apps/{id}/valkey/reveal \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
GET/valkey
List Breeze Cache instances
Compatible with Redis OSS. The URL is masked.
| Parameter | In | Type | Description |
workspace | query | string | |
| Response | Description |
200 | Instances |
curl https://breezecloud.app/v1/valkey \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
POST/valkey
Create a Breeze Cache instance
Breeze Cache, compatible with Redis OSS. Requires the operate scope. The instance is cluster-internal. HA is rejected.
| Body field | Type | Description |
name required | string | |
plan required | string | |
workspace_id required | string | |
| Response | Description |
201 | Created |
curl -X POST https://breezecloud.app/v1/valkey \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"…","plan":"…","workspace_id":"…"}'
GET/valkey/plans
Breeze Cache sizes for a workspace
Breeze Cache, compatible with Redis OSS. Prices are proposals. HA sizes are not listed until that tier is provisioned.
| Parameter | In | Type | Description |
workspace required | query | string | |
| Response | Description |
200 | Sizes the plan includes |
curl https://breezecloud.app/v1/valkey/plans \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
GET/valkey/{id}
Get a Breeze Cache instance
The URL is masked. The password is never included.
| Parameter | In | Type | Description |
id required | path | string | |
| Response | Description |
200 | Instance |
curl https://breezecloud.app/v1/valkey/{id} \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
PATCH/valkey/{id}
Resize a Breeze Cache instance
Requires the operate scope. The new plan must be the same tier. Storage cannot shrink.
| Parameter | In | Type | Description |
id required | path | string | |
| Body field | Type | Description |
plan required | string | |
| Response | Description |
200 | Resized |
curl -X PATCH https://breezecloud.app/v1/valkey/{id} \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN" \
-H "Content-Type: application/json" \
-d '{"plan":"…"}'
PUT/valkey/{id}/external
Set external access
Requires the operate scope and the Pro plan or above. Turning it on makes the instance reachable from the internet over TLS at {name}.cache.{platform domain}, protected by its password. An empty allow_cidrs admits any client address. The allowlist is replaced, not merged.
| Parameter | In | Type | Description |
id required | path | string | |
| Body field | Type | Description |
enabled required | boolean | |
allow_cidrs | array of string | IP addresses or CIDR ranges. A bare address becomes a single-host range. |
| Response | Description |
200 | Updated |
curl -X PUT https://breezecloud.app/v1/valkey/{id}/external \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN" \
-H "Content-Type: application/json" \
-d '{"enabled":true}'
storage
S3-compatible object storage buckets. Powered by Garage.
GET/apps/{id}/bucket
The app's bucket
| Parameter | In | Type | Description |
id required | path | string | |
| Response | Description |
200 | Attachment state |
curl https://breezecloud.app/v1/apps/{id}/bucket \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
POST/apps/{id}/bucket
Attach a bucket
Requires the operate scope. Redeploys the app if it is already live, injecting S3_BUCKET, S3_ENDPOINT, S3_REGION, S3_ACCESS_KEY_ID, S3_SECRET_ACCESS_KEY and S3_FORCE_PATH_STYLE, plus AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_ENDPOINT_URL_S3 and AWS_REGION unless it sets its own AWS_ACCESS_KEY_ID.
| Parameter | In | Type | Description |
id required | path | string | |
| Body field | Type | Description |
bucket_id required | string | |
| Response | Description |
201 | Attached |
curl -X POST https://breezecloud.app/v1/apps/{id}/bucket \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN" \
-H "Content-Type: application/json" \
-d '{"bucket_id":"…"}'
POST/apps/{id}/bucket/detach
Detach the app's bucket
Requires the operate scope. The bucket and its files stay.
| Parameter | In | Type | Description |
id required | path | string | |
| Response | Description |
200 | Detached |
curl -X POST https://breezecloud.app/v1/apps/{id}/bucket/detach \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
GET/buckets
List buckets
Pass workspace to limit the list. Secret keys are never included.
| Parameter | In | Type | Description |
workspace | query | string | |
| Response | Description |
200 | Buckets |
curl https://breezecloud.app/v1/buckets \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
POST/buckets
Create a bucket
Requires the operate scope and the admin role in the workspace. The name is the S3 bucket name, unique on the platform. The plan sets the quota. Pro plan and above.
| Body field | Type | Description |
name required | string | 3 to 63 lowercase letters, digits and hyphens. |
workspace_id required | string | |
| Response | Description |
201 | Created |
curl -X POST https://breezecloud.app/v1/buckets \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"…","workspace_id":"…"}'
GET/buckets/{id}
Show a bucket
| Parameter | In | Type | Description |
id required | path | string | |
| Response | Description |
200 | Bucket |
curl https://breezecloud.app/v1/buckets/{id} \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"
PUT/buckets/{id}/quota
Change a bucket's quota
Requires the operate scope. Up to the plan's limit per bucket. Writes past the quota are refused.
| Parameter | In | Type | Description |
id required | path | string | |
| Body field | Type | Description |
quota_gb required | integer | |
| Response | Description |
200 | Bucket |
curl -X PUT https://breezecloud.app/v1/buckets/{id}/quota \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN" \
-H "Content-Type: application/json" \
-d '{"quota_gb":1}'
POST/buckets/{id}/reveal
Reveal a bucket's secret key
Requires the operate scope and a token created with the secrets flag. Writes an audit event.
| Parameter | In | Type | Description |
id required | path | string | |
| Response | Description |
200 | Credentials |
curl -X POST https://breezecloud.app/v1/buckets/{id}/reveal \
-H "Authorization: Bearer $BREEZECLOUD_TOKEN"