Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions generated_types.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand All @@ -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",
Expand Down
12 changes: 12 additions & 0 deletions py/src/braintrust/_generated_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion py/src/braintrust/generated_types.py
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
Loading