Class: Anthropic::Models::Beta::MemoryStores::MemoryVersionListParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::MemoryStores::MemoryVersionListParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/anthropic/models/beta/memory_stores/memory_version_list_params.rb,
sig/anthropic/models/beta/memory_stores/memory_version_list_params.rbs
Overview
Constant Summary
Constants included from Internal::Type::RequestParameters
Internal::Type::RequestParameters::Anthropic
Instance Attribute Summary collapse
-
#api_key_id ⇒ String?
Return only versions written with the API key that has this ID.
-
#betas ⇒ Array<Symbol, String, Anthropic::Models::AnthropicBeta>?
Optional header to specify the beta version(s) you want to use.
-
#created_at_gte ⇒ Time?
Return versions created at or after this time (inclusive).
-
#created_at_lte ⇒ Time?
Return versions created at or before this time (inclusive).
-
#limit ⇒ Integer?
The maximum number of versions to return per page.
-
#memory_id ⇒ String?
Return only versions of the memory with this ID (
mem_...). -
#memory_store_id ⇒ String
The ID of the memory store whose version history to list (
memstore_...). -
#operation ⇒ Symbol, ...
Return only versions that record this kind of change.
-
#page ⇒ String?
The
next_pagevalue from a previous response, to get the next page. -
#service_account_id ⇒ String?
Return only versions written by the service account with this ID (
svac_...). -
#session_id ⇒ String?
Return only versions written by the session with this ID.
-
#view ⇒ Symbol, ...
Selects which projection of a
memoryormemory_versionthe server returns. -
#workspace_id ⇒ String?
Optional header to select the Workspace for this request.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(memory_store_id:, api_key_id: nil, created_at_gte: nil, created_at_lte: nil, limit: nil, memory_id: nil, operation: nil, page: nil, service_account_id: nil, session_id: nil, view: nil, betas: nil, workspace_id: nil, request_options: {}) ⇒ void
constructor
Some parameter documentations has been truncated, see MemoryVersionListParams 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:, api_key_id: nil, created_at_gte: nil, created_at_lte: nil, limit: nil, memory_id: nil, operation: nil, page: nil, service_account_id: nil, session_id: nil, view: nil, betas: nil, workspace_id: nil, request_options: {}) ⇒ void
Some parameter documentations has been truncated, see Anthropic::Models::Beta::MemoryStores::MemoryVersionListParams for more details.
|
|
# File 'lib/anthropic/models/beta/memory_stores/memory_version_list_params.rb', line 103
|
Instance Attribute Details
#api_key_id ⇒ String?
Return only versions written with the API key that has this ID.
22 |
# File 'lib/anthropic/models/beta/memory_stores/memory_version_list_params.rb', line 22 optional :api_key_id, String |
#betas ⇒ Array<Symbol, String, Anthropic::Models::AnthropicBeta>?
Optional header to specify the beta version(s) you want to use.
90 |
# File 'lib/anthropic/models/beta/memory_stores/memory_version_list_params.rb', line 90 optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] } |
#created_at_gte ⇒ Time?
Return versions created at or after this time (inclusive).
28 |
# File 'lib/anthropic/models/beta/memory_stores/memory_version_list_params.rb', line 28 optional :created_at_gte, Time |
#created_at_lte ⇒ Time?
Return versions created at or before this time (inclusive).
34 |
# File 'lib/anthropic/models/beta/memory_stores/memory_version_list_params.rb', line 34 optional :created_at_lte, Time |
#limit ⇒ Integer?
The maximum number of versions to return per page. Defaults to 20.
40 |
# File 'lib/anthropic/models/beta/memory_stores/memory_version_list_params.rb', line 40 optional :limit, Integer |
#memory_id ⇒ String?
Return only versions of the memory with this ID (mem_...).
The filter still works after the memory is deleted. The results then include the
version whose operation is deleted.
49 |
# File 'lib/anthropic/models/beta/memory_stores/memory_version_list_params.rb', line 49 optional :memory_id, String |
#memory_store_id ⇒ String
The ID of the memory store whose version history to list (memstore_...).
16 |
# File 'lib/anthropic/models/beta/memory_stores/memory_version_list_params.rb', line 16 required :memory_store_id, String |
#operation ⇒ Symbol, ...
Return only versions that record this kind of change.
55 |
# File 'lib/anthropic/models/beta/memory_stores/memory_version_list_params.rb', line 55 optional :operation, enum: -> { Anthropic::Beta::MemoryStores::BetaManagedAgentsMemoryVersionOperation } |
#page ⇒ String?
The next_page value from a previous response, to get the next page. Omit it to
get the first page.
62 |
# File 'lib/anthropic/models/beta/memory_stores/memory_version_list_params.rb', line 62 optional :page, String |
#service_account_id ⇒ String?
Return only versions written by the service account with this ID (svac_...).
68 |
# File 'lib/anthropic/models/beta/memory_stores/memory_version_list_params.rb', line 68 optional :service_account_id, String |
#session_id ⇒ String?
Return only versions written by the session with this ID.
74 |
# File 'lib/anthropic/models/beta/memory_stores/memory_version_list_params.rb', line 74 optional :session_id, String |
#view ⇒ Symbol, ...
Selects which projection of a memory or memory_version the server returns.
basic returns the object with content set to null; full populates
content. When omitted, the default is endpoint-specific: retrieve operations
default to full; list, create, and update operations default to basic.
Listing with view=full caps limit at 20.
84 |
# File 'lib/anthropic/models/beta/memory_stores/memory_version_list_params.rb', line 84 optional :view, enum: -> { Anthropic::Beta::MemoryStores::BetaManagedAgentsMemoryView } |
#workspace_id ⇒ String?
Optional header to select the Workspace for this request. The value is a
Workspace ID (for example, wrkspc_011CZkZaBF1tNoB5wlCeusgy).
Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
101 |
# File 'lib/anthropic/models/beta/memory_stores/memory_version_list_params.rb', line 101 optional :workspace_id, String |
Instance Method Details
#to_hash ⇒ {
100 |
# File 'sig/anthropic/models/beta/memory_stores/memory_version_list_params.rbs', line 100
def to_hash: -> {
|