Skip to content

Get an item from a kv store

GET
/api/v2/organizations/{organization}/projects/{project}/kv/{store_id}/items/{key}
curl --request GET \
--url https://dashboard.quantcdn.io/api/v2/organizations/test-org/projects/test-project/kv/0000/items/example \
--header 'Authorization: Bearer <token>'

Retrieves an item from the KV store. Security Note: If the item was stored as a secret (secret=true), the value will be redacted and returned as ‘[ENCRYPTED]’ for security. Secrets should be accessed directly via the Quant Cloud platform KVStore abstraction.

organization
required
string

Organization identifier

Example
test-org
project
required
string

Project identifier

Example
test-project
store_id
required
string
Example
0000
key
required
string

The request has succeeded.

Media typeapplication/json
object
key
string
value
One of:
string
Example
{
"key": "user-session-123"
}

Access is forbidden.

Media typeapplication/json
object
message
required

Error message

string
error
required

Error flag

boolean
Example
{
"message": "The requested resource was not found",
"error": true
}

Item not found.

Media typeapplication/json
object
message
required

Error message

string
error
required

Error flag

boolean
Example
{
"message": "The requested resource was not found",
"error": true
}