Reference
request_type (read or write)
and query. Query bundles are not supported.
Local queries post to the auth-disabled local /v2/query; --host, --port, and read-only --warm
are local options. With no target, the CLI uses local dev or the sole linked instance; ambiguous
projects must specify an instance or an explicit tenant:<id> / cluster:<id>. Cloud queries use the
WorkOS session:
readuses the backend read-query RPC and requiresdatabase.query.read.writeuses the backend write-query RPC and requiresdatabase.query.write.- The backend rejects an operation/envelope mismatch before gateway dispatch.
- No database key, custom auth header, or direct gateway URL is accepted.
- A mutation is never retried after dispatch, timeout, or ambiguous transport failure.