ExpirationPolicy

@Serializable
data class ExpirationPolicy(val anchor: String, val days: Long)

The expiration policy for a vector store.

Constructors

Link copied to clipboard
constructor(anchor: String, days: Long)

Properties

Link copied to clipboard
@SerialName(value = "anchor")
val anchor: String

Anchor timestamp after which the expiration policy applies. Supported anchors: last_active_at.

Link copied to clipboard
@SerialName(value = "days")
val days: Long

The number of days after the anchor time that the vector store will expire.