🌍 Global Mirror — Visit original CN site →
Skip to main content
GET
/
store
/
items
Retrieve a single item.
curl --request GET \
  --url https://api.example.com/store/items
{
  "namespace": [
    "<string>"
  ],
  "key": "<string>",
  "value": {},
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Query Parameters

key
string
required
namespace
string[]
refresh_ttl
boolean

Whether to refresh the TTL on this read operation. If not provided, uses the store's default behavior.

Response

Success

Represents a single document or data entry in the graph's Store. Items are used to store cross-thread memories.

namespace
string[]
required

The namespace of the item. A namespace is analogous to a document's directory.

key
string
required

The unique identifier of the item within its namespace. In general, keys needn't be globally unique.

value
object
required

The value stored in the item. This is the document itself.

created_at
string<date-time>
required

The timestamp when the item was created.

updated_at
string<date-time>
required

The timestamp when the item was last updated.