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
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>?
This endpoint is in beta: requests must send
agent-memory-2026-07-22ormanaged-agents-2026-04-01in this header. -
#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, from 1 to 100.
-
#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, ...
Whether a
memoryormemory_versionin the response includes itscontent. -
#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: {}) ⇒ MemoryVersionListParams
constructor
Some parameter documentations has been truncated, see MemoryVersionListParams for more details.
- #to_hash ⇒ { memory_store_id: String, api_key_id: String, created_at_gte: Time, created_at_lte: Time, limit: Integer, memory_id: String, operation: Anthropic::Models::Beta::MemoryStores::beta_managed_agents_memory_version_operation, page: String, service_account_id: String, session_id: String, view: Anthropic::Models::Beta::MemoryStores::beta_managed_agents_memory_view, betas: ::Array[Anthropic::Models::anthropic_beta], workspace_id: String, request_options: Anthropic::RequestOptions }
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: {}) ⇒ MemoryVersionListParams
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 107
|
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>?
This endpoint is in beta: requests must send agent-memory-2026-07-22 or
managed-agents-2026-04-01 in this header.
94 |
# File 'lib/anthropic/models/beta/memory_stores/memory_version_list_params.rb', line 94 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, from 1 to 100. Defaults to 20.
With view=full, a page holds at most 20 versions.
43 |
# File 'lib/anthropic/models/beta/memory_stores/memory_version_list_params.rb', line 43 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. While that memory's versions
are retained, the results include the version whose operation is deleted.
52 |
# File 'lib/anthropic/models/beta/memory_stores/memory_version_list_params.rb', line 52 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.
58 |
# File 'lib/anthropic/models/beta/memory_stores/memory_version_list_params.rb', line 58 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.
65 |
# File 'lib/anthropic/models/beta/memory_stores/memory_version_list_params.rb', line 65 optional :page, String |
#service_account_id ⇒ String?
Return only versions written by the service account with this ID (svac_...).
71 |
# File 'lib/anthropic/models/beta/memory_stores/memory_version_list_params.rb', line 71 optional :service_account_id, String |
#session_id ⇒ String?
Return only versions written by the session with this ID.
77 |
# File 'lib/anthropic/models/beta/memory_stores/memory_version_list_params.rb', line 77 optional :session_id, String |
#view ⇒ Symbol, ...
Whether a memory or memory_version in the response includes its content.
Defaults to full on retrieve operations and to basic on list, create, and
update operations.
With full, list operations return at most 20 items per page.
87 |
# File 'lib/anthropic/models/beta/memory_stores/memory_version_list_params.rb', line 87 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.
105 |
# File 'lib/anthropic/models/beta/memory_stores/memory_version_list_params.rb', line 105 optional :workspace_id, String |
Instance Method Details
#to_hash ⇒ { memory_store_id: String, api_key_id: String, created_at_gte: Time, created_at_lte: Time, limit: Integer, memory_id: String, operation: Anthropic::Models::Beta::MemoryStores::beta_managed_agents_memory_version_operation, page: String, service_account_id: String, session_id: String, view: Anthropic::Models::Beta::MemoryStores::beta_managed_agents_memory_view, betas: ::Array[Anthropic::Models::anthropic_beta], workspace_id: String, request_options: Anthropic::RequestOptions }
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 |
# File 'sig/anthropic/models/beta/memory_stores/memory_version_list_params.rbs', line 100
def to_hash: -> {
memory_store_id: String,
api_key_id: String,
created_at_gte: Time,
created_at_lte: Time,
limit: Integer,
memory_id: String,
operation: Anthropic::Models::Beta::MemoryStores::beta_managed_agents_memory_version_operation,
page: String,
service_account_id: String,
session_id: String,
view: Anthropic::Models::Beta::MemoryStores::beta_managed_agents_memory_view,
betas: ::Array[Anthropic::Models::anthropic_beta],
workspace_id: String,
request_options: Anthropic::RequestOptions
}
|