API reference

Everything the console, the CLI and agents do goes through this API. The machine-readable contract is /v1/openapi.yaml.

Base URL

https://breezecloud.app/v1

Authentication

Send an API token in the Authorization header. Create one on Connect an agent. A token can do no more than its scope (read, deploy or operate) and no more than the person who created it. Secret values, commands and their output need a token created with the secrets flag.

curl https://breezecloud.app/v1/apps \
  -H "Authorization: Bearer $BREEZECLOUD_TOKEN"

Errors

Errors are JSON with an error message written for a person: {"error": "this token's scope is read, which does not allow that"}. 401 means the token is missing or wrong, 403 that its scope does not allow the call, 404 that the resource does not exist or is not yours, and 409 that the resource is busy or in the wrong state.

apps

GET/apps

List apps the caller can see

ResponseDescription
200Apps
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 fieldTypeDescription
branch requiredstring
name requiredstring
repo_name requiredstring
repo_owner requiredstring
build_commandstringOptional build command. Omit or leave empty to detect it.
processstring: web, workerweb 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_dirstringSubdirectory to detect and build from, such as web. Omit or leave empty for the repository root.
run_commandstringOptional start command. Omit or leave empty to detect it.
worker_commandstringOptional background worker command. Omit or leave empty to detect a Procfile worker.
worker_replicasintegerHow many worker processes to run. Omit to use one.
worker_sizestringWorker container size id. Omit to use the default.
workspace_idstringOmit 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.
ResponseDescription
201App 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

ParameterInTypeDescription
id requiredpathstring
ResponseDescription
200The 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.

ParameterInTypeDescription
id requiredpathstring
Body fieldTypeDescription
auto_deployboolean
branchstring
build_commandstringOptional build command. Empty means detect it. Omit to leave the current value.
container_sizestringOmit to leave the current size.
processstring: web, workerweb 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_dirstringSubdirectory to detect and build from. Empty builds from the repository root. Omit to leave the current value.
run_commandstringOptional start command. Empty means detect it. Omit to leave the current value.
worker_commandstringOptional background worker command. Empty means detect a Procfile worker. Omit to leave the current value.
worker_replicasintegerHow many worker processes to run. Omit to leave the current count. The plan caps the workspace total. Applies without a rebuild.
worker_sizestringWorker container size id. Omit to leave the current size. The plan must include it. Applies without a rebuild.
ResponseDescription
200Updated 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.

ParameterInTypeDescription
id requiredpathstring
Body fieldTypeDescription
shastringCommit to build. Empty builds the branch tip.
ResponseDescription
201Release 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.

ParameterInTypeDescription
id requiredpathstring
ResponseDescription
200Container 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.

ParameterInTypeDescription
id requiredpathstring
ResponseDescription
200App 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.

ParameterInTypeDescription
id requiredpathstring
ResponseDescription
200Restart 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.

ParameterInTypeDescription
id requiredpathstring
ResponseDescription
200Resume started
curl -X POST https://breezecloud.app/v1/apps/{id}/resume \
  -H "Authorization: Bearer $BREEZECLOUD_TOKEN"

GET/apps/{id}/runs

List one-off commands

ParameterInTypeDescription
id requiredpathstring
ResponseDescription
200Recent 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.

ParameterInTypeDescription
id requiredpathstring
Body fieldTypeDescription
command requiredstring
ResponseDescription
201Command 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.

ParameterInTypeDescription
id requiredpathstring
run requiredpathstring
ResponseDescription
200The command
curl https://breezecloud.app/v1/apps/{id}/runs/{run} \
  -H "Authorization: Bearer $BREEZECLOUD_TOKEN"

GET/apps/{id}/schedules

List an app's schedules

ParameterInTypeDescription
id requiredpathstring
ResponseDescription
200The 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.

ParameterInTypeDescription
id requiredpathstring
Body fieldTypeDescription
command requiredstring
cronstring
enabledboolean
presetstring: hourly, daily, nightly, custom
ResponseDescription
201Schedule saved
409The 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.

ParameterInTypeDescription
id requiredpathstring
schedule requiredpathstring
ResponseDescription
200Schedule 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

ResponseDescription
200Workspaces
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.

ParameterInTypeDescription
id requiredpathstring
monthquerystringMonth in West Africa Time, like 2026-10. Defaults to this month.
ResponseDescription
200Usage for the month
400The 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

ParameterInTypeDescription
id requiredpathstring
ResponseDescription
200Releases, newest first
curl https://breezecloud.app/v1/apps/{id}/releases \
  -H "Authorization: Bearer $BREEZECLOUD_TOKEN"

GET/apps/{id}/releases/{release}

Get one release

ParameterInTypeDescription
id requiredpathstring
release requiredpathstring
ResponseDescription
200The 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.

ParameterInTypeDescription
id requiredpathstring
release requiredpathstring
ResponseDescription
200Release 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

ParameterInTypeDescription
id requiredpathstring
release requiredpathstring
afterqueryintegerReturn lines whose id is greater than this.
ResponseDescription
200Release 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.

ParameterInTypeDescription
id requiredpathstring
release requiredpathstring
ResponseDescription
201Rollback 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.

ParameterInTypeDescription
id requiredpathstring
ResponseDescription
200Names
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.

ParameterInTypeDescription
id requiredpathstring
Body fieldTypeDescription
key requiredstring
value requiredstring
ResponseDescription
200Saved
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.

ParameterInTypeDescription
id requiredpathstring
ResponseDescription
200Values
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.

ParameterInTypeDescription
id requiredpathstring
key requiredpathstring
ResponseDescription
200Removed
curl -X DELETE https://breezecloud.app/v1/apps/{id}/config/{key} \
  -H "Authorization: Bearer $BREEZECLOUD_TOKEN"

domains

GET/apps/{id}/domains

List custom domains

ParameterInTypeDescription
id requiredpathstring
ResponseDescription
200Domains 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.

ParameterInTypeDescription
id requiredpathstring
Body fieldTypeDescription
hostname requiredstring
ResponseDescription
201Domain 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.

ParameterInTypeDescription
id requiredpathstring
domain requiredpathstring
ResponseDescription
200Removal 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.

ParameterInTypeDescription
id requiredpathstring
domain requiredpathstring
ResponseDescription
200Check 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.

ParameterInTypeDescription
id requiredpathstring
ResponseDescription
200Attachment state
curl https://breezecloud.app/v1/apps/{id}/postgres \
  -H "Authorization: Bearer $BREEZECLOUD_TOKEN"

POST/apps/{id}/postgres

Attach Postgres

Requires the operate scope.

ParameterInTypeDescription
id requiredpathstring
ResponseDescription
201Attached
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.

ParameterInTypeDescription
id requiredpathstring
ResponseDescription
200Detached
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.

ParameterInTypeDescription
id requiredpathstring
ResponseDescription
200Connection 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.

ParameterInTypeDescription
id requiredpathstring
ResponseDescription
200Attachment 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.

ParameterInTypeDescription
id requiredpathstring
ResponseDescription
201Attached
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.

ParameterInTypeDescription
id requiredpathstring
ResponseDescription
200Detached
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.

ParameterInTypeDescription
id requiredpathstring
ResponseDescription
200Connection 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.

ParameterInTypeDescription
workspacequerystring
ResponseDescription
200Databases
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 fieldTypeDescription
name requiredstring
workspace_id requiredstring
ResponseDescription
201Created
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

ParameterInTypeDescription
id requiredpathstring
ResponseDescription
200Database
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.

ParameterInTypeDescription
id requiredpathstring
Body fieldTypeDescription
enabled requiredboolean
ResponseDescription
200Database
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.

ParameterInTypeDescription
id requiredpathstring
ResponseDescription
200Attachment 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.

ParameterInTypeDescription
id requiredpathstring
ResponseDescription
201Attached
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.

ParameterInTypeDescription
id requiredpathstring
ResponseDescription
200Detached
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.

ParameterInTypeDescription
id requiredpathstring
ResponseDescription
200Connection 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.

ParameterInTypeDescription
workspacequerystring
ResponseDescription
200Databases
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 fieldTypeDescription
name requiredstring
workspace_id requiredstring
ResponseDescription
201Created
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

ParameterInTypeDescription
id requiredpathstring
ResponseDescription
200Database
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.

ParameterInTypeDescription
id requiredpathstring
Body fieldTypeDescription
enabled requiredboolean
ResponseDescription
200Database
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.

ParameterInTypeDescription
id requiredpathstring
ResponseDescription
200Attachment
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.

ParameterInTypeDescription
id requiredpathstring
Body fieldTypeDescription
instance_id requiredstring
ResponseDescription
200Attached
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.

ParameterInTypeDescription
id requiredpathstring
ResponseDescription
200Detached
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.

ParameterInTypeDescription
id requiredpathstring
ResponseDescription
200Connection 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.

ParameterInTypeDescription
workspacequerystring
ResponseDescription
200Instances
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 fieldTypeDescription
name requiredstring
plan requiredstring
workspace_id requiredstring
ResponseDescription
201Created
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.

ParameterInTypeDescription
workspace requiredquerystring
ResponseDescription
200Sizes 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.

ParameterInTypeDescription
id requiredpathstring
ResponseDescription
200Instance
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.

ParameterInTypeDescription
id requiredpathstring
Body fieldTypeDescription
plan requiredstring
ResponseDescription
200Resized
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.

ParameterInTypeDescription
id requiredpathstring
Body fieldTypeDescription
enabled requiredboolean
allow_cidrsarray of stringIP addresses or CIDR ranges. A bare address becomes a single-host range.
ResponseDescription
200Updated
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

ParameterInTypeDescription
id requiredpathstring
ResponseDescription
200Attachment 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.

ParameterInTypeDescription
id requiredpathstring
Body fieldTypeDescription
bucket_id requiredstring
ResponseDescription
201Attached
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.

ParameterInTypeDescription
id requiredpathstring
ResponseDescription
200Detached
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.

ParameterInTypeDescription
workspacequerystring
ResponseDescription
200Buckets
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 fieldTypeDescription
name requiredstring3 to 63 lowercase letters, digits and hyphens.
workspace_id requiredstring
ResponseDescription
201Created
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

ParameterInTypeDescription
id requiredpathstring
ResponseDescription
200Bucket
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.

ParameterInTypeDescription
id requiredpathstring
Body fieldTypeDescription
quota_gb requiredinteger
ResponseDescription
200Bucket
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.

ParameterInTypeDescription
id requiredpathstring
ResponseDescription
200Credentials
curl -X POST https://breezecloud.app/v1/buckets/{id}/reveal \
  -H "Authorization: Bearer $BREEZECLOUD_TOKEN"

other

GET/openapi.yaml

This document

ResponseDescription
200OpenAPI document
curl https://breezecloud.app/v1/openapi.yaml