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
6 changes: 4 additions & 2 deletions generated_types.json
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,8 @@
"description": "Name of the api key"
},
"preview_name": {
"type": "string"
"type": "string",
"description": "Masked preview showing the key prefix and last four characters, e.g. sk-…AbCd."
},
"user_id": {
"type": [
Expand Down Expand Up @@ -8694,7 +8695,8 @@
"description": "Name of the service token"
},
"preview_name": {
"type": "string"
"type": "string",
"description": "Masked preview showing the token prefix and last four characters, e.g. bt-st-…AbCd."
},
"service_account_id": {
"type": [
Expand Down
6 changes: 6 additions & 0 deletions py/src/braintrust/_generated_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ class ApiKey(TypedDict):
Name of the api key
"""
preview_name: str
"""
Masked preview showing the key prefix and last four characters, e.g. sk-…AbCd.
"""
user_id: NotRequired[str | None]
"""
Unique identifier for the user
Expand Down Expand Up @@ -2687,6 +2690,9 @@ class ServiceToken(TypedDict):
Name of the service token
"""
preview_name: str
"""
Masked preview showing the token prefix and last four characters, e.g. bt-st-…AbCd.
"""
service_account_id: NotRequired[str | None]
"""
Unique identifier for the service token
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 9dd71d137626522c) -- do not modify"""
"""Auto-generated file (content hash 1e3210c001e3a447) -- do not modify"""

from ._generated_types import (
Acl,
Expand Down
Loading