Class BetaManagedAgentsMemoryStore
-
- All Implemented Interfaces:
public final class BetaManagedAgentsMemoryStoreA
memory_store: a named container for agent memories, scoped to a workspace. Attach a store to a session viaresources[]to mount it as a directory the agent can read and write.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsMemoryStore.BuilderA builder for BetaManagedAgentsMemoryStore.
public final classBetaManagedAgentsMemoryStore.Typepublic final classBetaManagedAgentsMemoryStore.MetadataArbitrary key-value tags for your own bookkeeping (such as the end user a store belongs to). Up to 16 pairs; keys 1–64 characters; values up to 512 characters. Returned on retrieve/list but not filterable.
-
Method Summary
Modifier and Type Method Description final Stringid()Unique identifier for the memory store (a memstore_...tagged ID).final OffsetDateTimecreatedAt()A timestamp in RFC 3339 format final Stringname()Human-readable name for the store. final BetaManagedAgentsMemoryStore.Typetype()final OffsetDateTimeupdatedAt()A timestamp in RFC 3339 format final Optional<OffsetDateTime>archivedAt()A timestamp in RFC 3339 format final Optional<String>description()Free-text description of what the store contains, up to 1024 characters. final Optional<BetaManagedAgentsMemoryStore.Metadata>metadata()Arbitrary key-value tags for your own bookkeeping (such as the end user a store belongs to). final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<OffsetDateTime>_createdAt()Returns the raw JSON value of createdAt. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<BetaManagedAgentsMemoryStore.Type>_type()Returns the raw JSON value of type. final JsonField<OffsetDateTime>_updatedAt()Returns the raw JSON value of updatedAt. final JsonField<OffsetDateTime>_archivedAt()Returns the raw JSON value of archivedAt. final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<BetaManagedAgentsMemoryStore.Metadata>_metadata()Returns the raw JSON value of metadata. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsMemoryStore.BuildertoBuilder()final BetaManagedAgentsMemoryStorevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsMemoryStore.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsMemoryStore. -
-
Method Detail
-
id
final String id()
Unique identifier for the memory store (a
memstore_...tagged ID). Use this when attaching the store to a session, or in the{memory_store_id}path parameter of subsequent calls.
-
createdAt
final OffsetDateTime createdAt()
A timestamp in RFC 3339 format
-
name
final String name()
Human-readable name for the store. 1–255 characters. The store's mount-path slug under
/mnt/memory/is derived from this name.
-
type
final BetaManagedAgentsMemoryStore.Type type()
-
updatedAt
final OffsetDateTime updatedAt()
A timestamp in RFC 3339 format
-
archivedAt
final Optional<OffsetDateTime> archivedAt()
A timestamp in RFC 3339 format
-
description
final Optional<String> description()
Free-text description of what the store contains, up to 1024 characters. Included in the agent's system prompt when the store is attached, so word it to be useful to the agent. Empty string when unset.
-
metadata
final Optional<BetaManagedAgentsMemoryStore.Metadata> metadata()
Arbitrary key-value tags for your own bookkeeping (such as the end user a store belongs to). Up to 16 pairs; keys 1–64 characters; values up to 512 characters. Returned on retrieve/list but not filterable.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_createdAt
final JsonField<OffsetDateTime> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<BetaManagedAgentsMemoryStore.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_updatedAt
final JsonField<OffsetDateTime> _updatedAt()
Returns the raw JSON value of updatedAt.
Unlike updatedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_archivedAt
final JsonField<OffsetDateTime> _archivedAt()
Returns the raw JSON value of archivedAt.
Unlike archivedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_description
final JsonField<String> _description()
Returns the raw JSON value of description.
Unlike description, this method doesn't throw if the JSON field has an unexpected type.
-
_metadata
final JsonField<BetaManagedAgentsMemoryStore.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsMemoryStore.Builder toBuilder()
-
validate
final BetaManagedAgentsMemoryStore validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaManagedAgentsMemoryStore.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsMemoryStore.
The following fields are required:
.id() .createdAt() .name() .type() .updatedAt()
-
-
-
-