diagrid call state get
Retrieve state item
Description
Retrieve a state item from an existing state component
diagrid call state get <key> [flags]
Examples
# Retrieve the value for a given state key using an existing state component
diagrid call state get mystatekey --component my-state-store --app-id my-appid
Options
-a, --app-id string [Required]: App ID used to retrieve state
-c, --component string [Required]: Component name for target state store
-p, --project string Name of existing project
-o, --output string Output format, supported [table, yaml, json] (default "table")
-v, --verbose Include verbose output such as curl command and response body
-h, --help help for get
Options inherited from parent commands
--api-key string Diagrid Cloud API key
SEE ALSO
- diagrid call state - Call State API