KosmoKrator

data

Redis Cloud CLI for AI Agents

Use the Redis Cloud CLI from KosmoKrator to call Redis Cloud tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

7 functions 7 read 0 write API key auth

Redis Cloud CLI Setup

Redis Cloud can be configured headlessly with `kosmokrator integrations:configure redis-cloud`.

# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash

# Configure and verify this integration.
kosmokrator integrations:configure redis-cloud --set api_key="$REDIS_CLOUD_API_KEY" --set secret_key="$REDIS_CLOUD_SECRET_KEY" --enable --read allow --write ask --json
kosmokrator integrations:doctor redis-cloud --json
kosmokrator integrations:status --json

Credentials

Authentication type: API key api_key. Configure credentials once, then use the same stored profile from scripts, coding CLIs, Lua code mode, and the MCP gateway.

KeyEnv varTypeRequiredLabel
api_key REDIS_CLOUD_API_KEY Secret secret yes API Key
secret_key REDIS_CLOUD_SECRET_KEY Secret secret yes Secret Key

Call Redis Cloud Headlessly

Use the generic call form when another coding CLI or script needs a stable universal interface.

kosmo integrations:call redis-cloud.redis_cloud_get_current_account '{}' --json

Use the provider shortcut form for shorter human-facing commands.

kosmo integrations:redis-cloud redis_cloud_get_current_account '{}' --json

Agent Discovery Commands

These commands return structured output for coding agents that need to inspect capabilities before choosing a function.

kosmo integrations:docs redis-cloud --json
kosmo integrations:docs redis-cloud.redis_cloud_get_current_account --json
kosmo integrations:schema redis-cloud.redis_cloud_get_current_account --json
kosmo integrations:search "Redis Cloud" --json
kosmo integrations:list --json

All CLI Functions

Every function below can be called headlessly. The generic form is stable across all integrations; the provider shortcut is shorter but specific to Redis Cloud.

redis-cloud.redis_cloud_get_current_account

Read read

Get the current Redis Cloud account information, including owner email, payment method, and plan details.

Parameters
none

Generic CLI call

kosmo integrations:call redis-cloud.redis_cloud_get_current_account '{}' --json

Provider shortcut

kosmo integrations:redis-cloud redis_cloud_get_current_account '{}' --json

redis-cloud.redis_cloud_list_subscriptions

Read read

List all subscriptions in the Redis Cloud account. Returns subscription IDs, names, regions, statuses, and database counts.

Parameters
none

Generic CLI call

kosmo integrations:call redis-cloud.redis_cloud_list_subscriptions '{}' --json

Provider shortcut

kosmo integrations:redis-cloud redis_cloud_list_subscriptions '{}' --json

redis-cloud.redis_cloud_get_subscription

Read read

Get details for a specific Redis Cloud subscription by ID, including plan, region, memory, throughput, and database list.

Parameters
subscription_id

Generic CLI call

kosmo integrations:call redis-cloud.redis_cloud_get_subscription '{"subscription_id":1}' --json

Provider shortcut

kosmo integrations:redis-cloud redis_cloud_get_subscription '{"subscription_id":1}' --json

redis-cloud.redis_cloud_list_databases

Read read

List all databases within a Redis Cloud subscription. Returns database IDs, names, endpoints, and statuses.

Parameters
subscription_id

Generic CLI call

kosmo integrations:call redis-cloud.redis_cloud_list_databases '{"subscription_id":1}' --json

Provider shortcut

kosmo integrations:redis-cloud redis_cloud_list_databases '{"subscription_id":1}' --json

redis-cloud.redis_cloud_get_database

Read read

Get details for a specific Redis Cloud database by subscription and database ID, including endpoint, memory usage, throughput, and replication status.

Parameters
subscription_id, database_id

Generic CLI call

kosmo integrations:call redis-cloud.redis_cloud_get_database '{"subscription_id":1,"database_id":1}' --json

Provider shortcut

kosmo integrations:redis-cloud redis_cloud_get_database '{"subscription_id":1,"database_id":1}' --json

redis-cloud.redis_cloud_list_teams

Read read

List all teams (ACL roles) in the Redis Cloud account. Returns team IDs, names, and member counts.

Parameters
none

Generic CLI call

kosmo integrations:call redis-cloud.redis_cloud_list_teams '{}' --json

Provider shortcut

kosmo integrations:redis-cloud redis_cloud_list_teams '{}' --json

redis-cloud.redis_cloud_get_team

Read read

Get details for a specific Redis Cloud team (ACL role) by ID, including roles, permissions, and assigned databases.

Parameters
team_id

Generic CLI call

kosmo integrations:call redis-cloud.redis_cloud_get_team '{"team_id":1}' --json

Provider shortcut

kosmo integrations:redis-cloud redis_cloud_get_team '{"team_id":1}' --json

Function Schemas

Use these parameter tables when building CLI payloads without calling integrations:schema first.

redis-cloud.redis_cloud_get_current_account

Get the current Redis Cloud account information, including owner email, payment method, and plan details.

Operation
Read read
Schema command
kosmo integrations:schema redis-cloud.redis_cloud_get_current_account --json
ParameterTypeRequiredDescription
No parameters.

redis-cloud.redis_cloud_list_subscriptions

List all subscriptions in the Redis Cloud account. Returns subscription IDs, names, regions, statuses, and database counts.

Operation
Read read
Schema command
kosmo integrations:schema redis-cloud.redis_cloud_list_subscriptions --json
ParameterTypeRequiredDescription
No parameters.

redis-cloud.redis_cloud_get_subscription

Get details for a specific Redis Cloud subscription by ID, including plan, region, memory, throughput, and database list.

Operation
Read read
Schema command
kosmo integrations:schema redis-cloud.redis_cloud_get_subscription --json
ParameterTypeRequiredDescription
subscription_id integer yes The Redis Cloud subscription ID.

redis-cloud.redis_cloud_list_databases

List all databases within a Redis Cloud subscription. Returns database IDs, names, endpoints, and statuses.

Operation
Read read
Schema command
kosmo integrations:schema redis-cloud.redis_cloud_list_databases --json
ParameterTypeRequiredDescription
subscription_id integer yes The Redis Cloud subscription ID to list databases for.

redis-cloud.redis_cloud_get_database

Get details for a specific Redis Cloud database by subscription and database ID, including endpoint, memory usage, throughput, and replication status.

Operation
Read read
Schema command
kosmo integrations:schema redis-cloud.redis_cloud_get_database --json
ParameterTypeRequiredDescription
subscription_id integer yes The Redis Cloud subscription ID.
database_id integer yes The database ID within the subscription.

redis-cloud.redis_cloud_list_teams

List all teams (ACL roles) in the Redis Cloud account. Returns team IDs, names, and member counts.

Operation
Read read
Schema command
kosmo integrations:schema redis-cloud.redis_cloud_list_teams --json
ParameterTypeRequiredDescription
No parameters.

redis-cloud.redis_cloud_get_team

Get details for a specific Redis Cloud team (ACL role) by ID, including roles, permissions, and assigned databases.

Operation
Read read
Schema command
kosmo integrations:schema redis-cloud.redis_cloud_get_team --json
ParameterTypeRequiredDescription
team_id integer yes The Redis Cloud team ID.

Permissions

Headless calls still follow the integration read/write permission policy. Configure read/write defaults with integrations:configure. Add --force only for trusted automation that should bypass that policy.