Search

PythonReactSEOPDF
GitHub Skill

agentuity-cli-cloud-keyvalue-set

Set a key and value in the keyvalue storage. Requires authentication. Use for Agentuity cloud platform operations

agentuity☆ 4 Repository stars1 Repository forks

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

View source ↗Guides

Skill instructions

Cloud Keyvalue Set

Set a key and value in the keyvalue storage

Prerequisites

  • Authenticated with agentuity auth login

Usage

agentuity cloud keyvalue set <namespace> <key> <value> [ttl]

Arguments

Argument Type Required Description
<namespace> string Yes -
<key> string Yes -
<value> string Yes -
<ttl> string No -

Examples

Store user data:

bunx @agentuity/cli kv set production user:123 '{"name":"Alice","email":"alice@example.com"}'

Store session with 1h TTL:

bunx @agentuity/cli kv set cache session:abc "session-data-here" --ttl 3600

Cache homepage for 10m:

bunx @agentuity/cli kv set staging cache:homepage "<!DOCTYPE html>..." --ttl 600

Output

Returns JSON object:

{
  "success": "boolean",
  "namespace": "string",
  "key": "string",
  "contentType": "string",
  "durationMs": "number",
  "ttl": "number"
}
Field Type Description
success boolean Whether the operation succeeded
namespace string Namespace name
key string Key name
contentType string Content type (application/json or text/plain)
durationMs number Operation duration in milliseconds
ttl number TTL in seconds if set

Examples

Read the usage examples in the source repository.

View source ↗

Source history

Indexed on
2026-01-20
Index updated
2026-01-26
Branch
main

Index and sync dates describe this directory. View the source repository for code history.

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!