diff --git a/generated_types.json b/generated_types.json index 8196778a..a59d2143 100644 --- a/generated_types.json +++ b/generated_types.json @@ -138,6 +138,14 @@ "format": "date-time", "description": "Date of last AI secret update" }, + "secret_updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "Date of last update to the encrypted secret value itself" + }, "org_id": { "type": "string", "format": "uuid", @@ -2322,6 +2330,14 @@ "format": "date-time", "description": "Date of environment variable creation" }, + "secret_updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "Date of last update to the encrypted secret value itself" + }, "used": { "type": [ "string", @@ -2338,6 +2354,13 @@ "additionalProperties": {}, "description": "Optional metadata associated with the environment variable when managed via the function secrets API" }, + "preview_secret": { + "type": [ + "string", + "null" + ], + "description": "Redacted preview of the stored secret value" + }, "secret_type": { "type": [ "string", diff --git a/py/src/braintrust/_generated_types.py b/py/src/braintrust/_generated_types.py index 80496f19..c6b68593 100644 --- a/py/src/braintrust/_generated_types.py +++ b/py/src/braintrust/_generated_types.py @@ -43,6 +43,10 @@ class AISecret(TypedDict): """ Date of last AI secret update """ + secret_updated_at: NotRequired[str | None] + """ + Date of last update to the encrypted secret value itself + """ org_id: str """ Unique identifier for the organization @@ -608,6 +612,10 @@ class EnvVar(TypedDict): """ Date of environment variable creation """ + secret_updated_at: NotRequired[str | None] + """ + Date of last update to the encrypted secret value itself + """ used: NotRequired[str | None] """ Date the environment variable was last used @@ -616,6 +624,10 @@ class EnvVar(TypedDict): """ Optional metadata associated with the environment variable when managed via the function secrets API """ + preview_secret: NotRequired[str | None] + """ + Redacted preview of the stored secret value + """ secret_type: NotRequired[str | None] """ Optional classification for the secret (for example, the AI provider name) diff --git a/py/src/braintrust/generated_types.py b/py/src/braintrust/generated_types.py index bbebd23b..946292ae 100644 --- a/py/src/braintrust/generated_types.py +++ b/py/src/braintrust/generated_types.py @@ -1,4 +1,4 @@ -"""Auto-generated file (content hash 6a3eaf06ccb50b7d) -- do not modify""" +"""Auto-generated file (content hash fe93a84e058f7f2d) -- do not modify""" from ._generated_types import ( Acl,