Retrieve a value by key from the specified entity namespace.
- entity: Entity namespace (
user or event)
- key: Key identifier
Returns the stored value with metadata and sets appropriate response headers:
Content-Type: The content type of the stored value
X-KV-Created-At: When the key was created
X-KV-Updated-At: When the key was last updated
X-KV-Expires-At: When the key expires (if TTL was set)
Cache-Control: Caching directive based on TTL
| Path Parameters |
|---|
entity KVEntity — REQUIREDPossible values: [user, event] Entity namespace types for KV storage |
key Key — REQUIRED |
| Responses |
|---|
| Schema — OPTIONAL |
|---|
ok Ok — OPTIONALIndicates if the request was successful or not. | data objectResponse data for get operation entity KVEntityPossible values: [user, event] Entity namespace types for KV storage | key Key | value Value | content_type Content Type | metadata | created_at date-time | updated_at date-time | expires_at Expires At | size_bytes Size Bytes |
|
|
| Schema — OPTIONAL |
|---|
ok Ok — OPTIONALIndicates if the request was successful or not. | errors object[]type uriPossible values: 1 ≤ length ≤ 2083 A string containing a URI reference that identifies the problem type. | status StatusPossible values: 399 < value < 600 A number indicating the HTTP status code. | title TitlePossible values: 5 ≤ length A string containing a short, human-readable summary of the problem type. | detail DetailPossible values: 5 ≤ length A string containing a human-readable explanation specific to this occurrence of the problem. | instance InstancePossible values: 1 ≤ length A string containing a URI reference that identifies the specific occurrence of the problem. | error_code Error CodeA Number that indicates the error type that occurred. |
|
|