Class: Anthropic::Models::Beta::MemoryStores::MemoryListParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::MemoryStores::MemoryListParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/anthropic/models/beta/memory_stores/memory_list_params.rb,
sig/anthropic/models/beta/memory_stores/memory_list_params.rbs
Overview
Constant Summary
Constants included from Internal::Type::RequestParameters
Internal::Type::RequestParameters::Anthropic
Instance Attribute Summary collapse
-
#betas ⇒ Array<String, Symbol, Anthropic::Models::AnthropicBeta>?
Optional header to specify the beta version(s) you want to use.
-
#depth ⇒ Integer?
0(or omitted) returns all descendants belowpath_prefix(recursive). -
#limit ⇒ Integer?
Maximum number of items to return per page.
- #memory_store_id ⇒ String
-
#page ⇒ String?
Opaque pagination cursor (a
page_...value). -
#path_prefix ⇒ String?
Optional path prefix filter.
-
#view ⇒ Symbol, ...
Which projection of each
memoryto return.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(memory_store_id:, depth: nil, limit: nil, page: nil, path_prefix: nil, view: nil, betas: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see MemoryListParams for more details.
- #to_hash ⇒ {
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(memory_store_id:, depth: nil, limit: nil, page: nil, path_prefix: nil, view: nil, betas: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Anthropic::Models::Beta::MemoryStores::MemoryListParams for more details.
|
|
# File 'lib/anthropic/models/beta/memory_stores/memory_list_params.rb', line 62
|
Instance Attribute Details
#betas ⇒ Array<String, Symbol, Anthropic::Models::AnthropicBeta>?
Optional header to specify the beta version(s) you want to use.
60 |
# File 'lib/anthropic/models/beta/memory_stores/memory_list_params.rb', line 60 optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] } |
#depth ⇒ Integer?
0 (or omitted) returns all descendants below path_prefix (recursive). 1
returns immediate children only; deeper entries roll up as memory_prefix
items. depth=1 behaves like ls; omitting depth behaves like find.
23 |
# File 'lib/anthropic/models/beta/memory_stores/memory_list_params.rb', line 23 optional :depth, Integer |
#limit ⇒ Integer?
Maximum number of items to return per page. Must be between 1 and 100. Defaults
to 20 when omitted. Capped at 20 when view=full. Both memory and
memory_prefix items count toward the limit.
31 |
# File 'lib/anthropic/models/beta/memory_stores/memory_list_params.rb', line 31 optional :limit, Integer |
#memory_store_id ⇒ String
15 |
# File 'lib/anthropic/models/beta/memory_stores/memory_list_params.rb', line 15 required :memory_store_id, String |
#page ⇒ String?
Opaque pagination cursor (a page_... value). Pass the next_page value from a
previous response to fetch the next page; omit for the first page.
38 |
# File 'lib/anthropic/models/beta/memory_stores/memory_list_params.rb', line 38 optional :page, String |
#path_prefix ⇒ String?
Optional path prefix filter. Must end with / (segment-aligned), e.g.,
/notes/. This value appears in request URLs. Do not include secrets or
personally identifiable information.
46 |
# File 'lib/anthropic/models/beta/memory_stores/memory_list_params.rb', line 46 optional :path_prefix, String |
#view ⇒ Symbol, ...
Which projection of each memory to return. Defaults to basic (content
omitted). full populates content on each item and caps limit at 20; use
this as the bulk-read path for export and sync.
54 |
# File 'lib/anthropic/models/beta/memory_stores/memory_list_params.rb', line 54 optional :view, enum: -> { Anthropic::Beta::MemoryStores::BetaManagedAgentsMemoryView } |
Instance Method Details
#to_hash ⇒ {
62 |
# File 'sig/anthropic/models/beta/memory_stores/memory_list_params.rbs', line 62
def to_hash: -> {
|