What is the max value in expiry_after for vector store?

From the documentation, i got to know that the efault expiry of vector store is 7 days and threads with messages can last 60 days.

but my question is what is the max days i can use for expiry (i.e. can I keep 365 days or 60 days) ?

if it is 7 days only then can i reactivate the expired vector store only.

You can create your own documentation where it doesn’t exist by trying.

vector_store = client.beta.vector_stores.create(
  name="Long store",
  expires_after={"anchor":"last_active_at", "days": 365}
)

Try more? Result:

BadRequestError: Error code: 400 - {'error': {'message': "Invalid 'expires_after.days': integer above maximum value. Expected a value <= 365, but got 3650 instead.", 'type': 'invalid_request_error', 'param': 'expires_after.days', 'code': 'integer_above_max_value'}}

Expiration means the ID is gone. You can create a new vector store ID from files still in storage. You can also “keep it active”.

The default is never expiring, unless it is a vector store automatically created by file attachment to a user message of a thread, which is then seven days.