From a409173d81d7bcddaac374a6d2caa52d876f91ca Mon Sep 17 00:00:00 2001 From: "braintrust-bot[bot]" <215900051+braintrust-bot[bot]@users.noreply.github.com> Date: Tue, 28 Jul 2026 15:09:21 +0000 Subject: [PATCH] chore: Update platform types --- generated_types.json | 25 ++++++++++++++++++++++++- py/src/braintrust/_generated_types.py | 14 +++++++++++++- py/src/braintrust/generated_types.py | 2 +- 3 files changed, 38 insertions(+), 3 deletions(-) diff --git a/generated_types.json b/generated_types.json index efd71e5c..d7f3a691 100644 --- a/generated_types.json +++ b/generated_types.json @@ -482,6 +482,14 @@ ], "format": "uuid", "description": "Unique identifier for the organization" + }, + "expires_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "Date at which the API key expires. If null, the key never expires." } }, "required": [ @@ -6453,6 +6461,13 @@ ], "description": "If true, disable real-time queries for this project. This can improve query performance for high-volume logs." }, + "monitor_charts_use_metrics_start": { + "type": [ + "boolean", + "null" + ], + "description": "If true, use metrics.start rather than created for monitor chart time bucket dimensions." + }, "default_preprocessor": { "$ref": "#/components/schemas/NullableSavedFunctionId" } @@ -7778,6 +7793,14 @@ ], "format": "uuid", "description": "Unique identifier for the organization" + }, + "expires_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "Date and time at which the service token expires. If null, the token never expires." } }, "required": [ @@ -8340,7 +8363,7 @@ "evolve", "names_only" ], - "description": "How reconciliation carries the previous map forward: \"evolve\" re-routes new samples into the previous topics before naming; \"names_only\" keeps the fresh clustering and carries only topic ids/names. Defaults to \"evolve\" when omitted." + "description": "How reconciliation carries the previous map forward: \"evolve\" re-routes new samples into the previous topics before naming; \"names_only\" keeps the fresh clustering and carries only topic ids/names. Defaults to \"names_only\" when omitted." }, "distance_threshold": { "type": "number", diff --git a/py/src/braintrust/_generated_types.py b/py/src/braintrust/_generated_types.py index 16cb2152..c51821fe 100644 --- a/py/src/braintrust/_generated_types.py +++ b/py/src/braintrust/_generated_types.py @@ -148,6 +148,10 @@ class ApiKey(TypedDict): """ Unique identifier for the organization """ + expires_at: NotRequired[str | None] + """ + Date at which the API key expires. If null, the key never expires. + """ class AsyncScoringControlAsyncScoringControl(TypedDict): @@ -1916,6 +1920,10 @@ class ProjectSettings(TypedDict): """ If true, disable real-time queries for this project. This can improve query performance for high-volume logs. """ + monitor_charts_use_metrics_start: NotRequired[bool | None] + """ + If true, use metrics.start rather than created for monitor chart time bucket dimensions. + """ default_preprocessor: NotRequired[NullableSavedFunctionId | None] @@ -2398,6 +2406,10 @@ class ServiceToken(TypedDict): """ Unique identifier for the organization """ + expires_at: NotRequired[str | None] + """ + Date and time at which the service token expires. If null, the token never expires. + """ class SpanIFrame(TypedDict): @@ -3571,7 +3583,7 @@ class TopicMapData(TypedDict): """ reconcile_mode: NotRequired[Literal['evolve', 'names_only'] | None] """ - How reconciliation carries the previous map forward: "evolve" re-routes new samples into the previous topics before naming; "names_only" keeps the fresh clustering and carries only topic ids/names. Defaults to "evolve" when omitted. + How reconciliation carries the previous map forward: "evolve" re-routes new samples into the previous topics before naming; "names_only" keeps the fresh clustering and carries only topic ids/names. Defaults to "names_only" when omitted. """ distance_threshold: NotRequired[float | None] """ diff --git a/py/src/braintrust/generated_types.py b/py/src/braintrust/generated_types.py index ece0e4c1..b7b4437c 100644 --- a/py/src/braintrust/generated_types.py +++ b/py/src/braintrust/generated_types.py @@ -1,4 +1,4 @@ -"""Auto-generated file (content hash 8edae789624e11d2) -- do not modify""" +"""Auto-generated file (content hash 4afc4ccf8af5df8e) -- do not modify""" from ._generated_types import ( Acl,