falkordb-admin CLI. Anything you can do in the console you can do over this
API.
Every endpoint on the following pages is generated from the server’s own
OpenAPI document, so it always matches the running build.
Base URL
The gateway routes/api to the Admin Server, so the base URL is the same host
you use for the Admin UI.
http://localhost:3000/api.
Authenticate
Sign in withPOST /api/auth/login. On success the server sets a JWT in an
httpOnly cookie named token; send that cookie on subsequent requests.
- OAuth —
GET /api/auth/oauth/{provider}starts a browser sign-in flow. See Google or Microsoft Entra ID. - Check a session —
GET /api/auth/validatereturns the current user, or401if the cookie is missing or expired. - Sign out —
POST /api/auth/logoutclears the cookie.
Authorization
Requests are authorized against the caller’s role. A permission is a(resource, action, namespace) tuple, so the same token may be allowed to
create deployments in one namespace and only read them in another. A request
that passes authentication but fails authorization returns 403.
The chart ships the admin, operator, and viewer roles. See
Helm values to customize them.
Errors
Failures return a JSON body:Asynchronous operations
Mutating a running deployment does not block. Endpoints such as scale, restart, and reconfigure create a KubeBlocks OpsRequest and return immediately with its name. PollGET /api/clusters/{name}/operations for progress, or watch the
underlying resource directly — see
KubeBlocks resources.
Get the specification
The running server publishes its own OpenAPI document, which is the most accurate source for the version you have deployed:/api-docs unless it has been disabled
with ENABLE_SWAGGER=false.
Next steps
Command line
Use
falkordb-admin instead of raw HTTP callsKubeBlocks resources
Work with the underlying custom resources