From df058ca6fd47a1cab780e497ec0f443e08bcdc5a Mon Sep 17 00:00:00 2001 From: AbhiPrasad <18689448+AbhiPrasad@users.noreply.github.com> Date: Mon, 28 Sep 2026 08:26:53 +0000 Subject: [PATCH] chore(api): update pinned OpenAPI spec --- openapi/config.json | 4 +- openapi/spec.json | 148 ++++++++++++++++-- py/src/braintrust/api/_generated/__init__.py | 4 +- py/src/braintrust/api/_generated/acls.py | 4 +- py/src/braintrust/api/_generated/agents.py | 4 +- .../braintrust/api/_generated/ai_secrets.py | 4 +- py/src/braintrust/api/_generated/api_keys.py | 4 +- .../api/_generated/dataset_snapshots.py | 4 +- py/src/braintrust/api/_generated/datasets.py | 4 +- py/src/braintrust/api/_generated/env_vars.py | 4 +- .../braintrust/api/_generated/environments.py | 4 +- .../braintrust/api/_generated/experiments.py | 4 +- py/src/braintrust/api/_generated/functions.py | 4 +- py/src/braintrust/api/_generated/groups.py | 4 +- .../braintrust/api/_generated/mcp_servers.py | 4 +- .../api/_generated/models/__init__.py | 15 +- .../braintrust/api/_generated/models/acls.py | 8 +- .../api/_generated/models/agents.py | 4 +- .../api/_generated/models/ai_secrets.py | 4 +- .../api/_generated/models/api_keys.py | 4 +- .../api/_generated/models/common.py | 19 ++- .../_generated/models/dataset_snapshots.py | 4 +- .../api/_generated/models/datasets.py | 4 +- .../api/_generated/models/env_vars.py | 10 +- .../api/_generated/models/environments.py | 4 +- .../api/_generated/models/experiments.py | 11 +- .../api/_generated/models/functions.py | 4 +- .../api/_generated/models/groups.py | 4 +- .../api/_generated/models/mcp_servers.py | 4 +- .../api/_generated/models/org_automations.py | 4 +- .../api/_generated/models/organizations.py | 8 +- .../_generated/models/project_automations.py | 70 ++++++--- .../api/_generated/models/project_groups.py | 4 +- .../api/_generated/models/project_scores.py | 4 +- .../api/_generated/models/project_tags.py | 4 +- .../api/_generated/models/projects.py | 14 +- .../api/_generated/models/prompts.py | 4 +- .../braintrust/api/_generated/models/roles.py | 4 +- .../api/_generated/models/service_tokens.py | 4 +- .../api/_generated/models/span_iframes.py | 4 +- .../braintrust/api/_generated/models/users.py | 4 +- .../braintrust/api/_generated/models/views.py | 4 +- .../api/_generated/org_automations.py | 4 +- .../api/_generated/organizations.py | 4 +- .../api/_generated/project_automations.py | 4 +- .../api/_generated/project_groups.py | 4 +- .../api/_generated/project_scores.py | 4 +- .../braintrust/api/_generated/project_tags.py | 4 +- py/src/braintrust/api/_generated/projects.py | 4 +- py/src/braintrust/api/_generated/prompts.py | 4 +- py/src/braintrust/api/_generated/roles.py | 4 +- .../api/_generated/service_tokens.py | 4 +- .../braintrust/api/_generated/span_iframes.py | 4 +- py/src/braintrust/api/_generated/users.py | 4 +- py/src/braintrust/api/_generated/views.py | 4 +- 55 files changed, 331 insertions(+), 156 deletions(-) diff --git a/openapi/config.json b/openapi/config.json index 7b4000bd0..5c38ea8bf 100644 --- a/openapi/config.json +++ b/openapi/config.json @@ -3,8 +3,8 @@ "spec": { "repository": "braintrustdata/braintrust-openapi", "path": "openapi/spec.json", - "commit": "d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a", - "sha256": "d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5" + "commit": "128468e1d34987f9269038e4416b7a97fafb05d9", + "sha256": "c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d" }, "tools": { "datamodel-code-generator": "0.72.4", diff --git a/openapi/spec.json b/openapi/spec.json index 57dbf6f78..26883f64d 100644 --- a/openapi/spec.json +++ b/openapi/spec.json @@ -516,7 +516,8 @@ "org_audit_logs", "project_group", "ai_secret", - "org_ai_secret" + "org_ai_secret", + "org_account" ], "description": "The object type that the ACL applies to" }, @@ -542,7 +543,8 @@ "org_audit_logs", "project_group", "ai_secret", - "org_ai_secret" + "org_ai_secret", + "org_account" ], "description": "The object type that the ACL applies to" }, @@ -592,7 +594,8 @@ "org_audit_logs", "project_group", "ai_secret", - "org_ai_secret" + "org_ai_secret", + "org_account" ], "description": "The object type that the ACL applies to" }, @@ -633,7 +636,8 @@ "enum": [ "organization", "project", - "function" + "function", + "mcp_server" ], "description": "The type of the object the environment variable is scoped for" }, @@ -806,11 +810,21 @@ "nullable": true, "description": "If true, use metrics.start rather than created for monitor chart time bucket dimensions." }, + "coding_agent_insights_dashboard": { + "type": "boolean", + "nullable": true, + "description": "If true, enable the agent insights dashboard for this project." + }, "blind_reviews": { "type": "boolean", "nullable": true, "description": "If true, hide peer review scores, comments, and aggregate results from reviewers without project update permissions until they submit their own review." }, + "require_all_human_review_scores": { + "type": "boolean", + "nullable": true, + "description": "If true, automatically complete a review after every assigned reviewer fills all human review scores visible to them." + }, "default_preprocessor": { "$ref": "#/components/schemas/NullableSavedFunctionId" } @@ -947,6 +961,7 @@ "preprocessor", "classifier", "review", + "question", "log", null ], @@ -972,6 +987,20 @@ null ], "description": "A special value that indicates the span was generated by a scoring automation" + }, + "log_level": { + "type": "string", + "nullable": true, + "enum": [ + "trace", + "debug", + "info", + "warn", + "error", + "fatal", + null + ], + "description": "Severity level of a log" } }, "additionalProperties": { @@ -3516,6 +3545,62 @@ ], "title": "image_url" }, + "ChatCompletionContentPartInputAudioWithTitle": { + "type": "object", + "properties": { + "input_audio": { + "type": "object", + "properties": { + "data": { + "type": "string" + }, + "format": { + "type": "string", + "enum": [ + "wav", + "mp3" + ] + } + }, + "required": [ + "data", + "format" + ] + }, + "type": { + "type": "string", + "enum": [ + "input_audio" + ] + }, + "cache_control": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "ephemeral" + ] + }, + "ttl": { + "type": "string", + "enum": [ + "5m", + "1h" + ] + } + }, + "required": [ + "type" + ] + } + }, + "required": [ + "input_audio", + "type" + ], + "title": "input_audio" + }, "ChatCompletionContentPartFileFile": { "type": "object", "properties": { @@ -3579,6 +3664,9 @@ { "$ref": "#/components/schemas/ChatCompletionContentPartImageWithTitle" }, + { + "$ref": "#/components/schemas/ChatCompletionContentPartInputAudioWithTitle" + }, { "$ref": "#/components/schemas/ChatCompletionContentPartFileWithTitle" } @@ -6040,7 +6128,7 @@ "type": "string", "minLength": 1, "maxLength": 10000, - "description": "Publish a Slack mrkdwn digest.\n\nInclude a complete \"*Pattern outcomes*\" section with one row for every selected Pattern from the run report, including created, updated, unchanged, failed, skipped, and newly inactive outcomes.\n\nUse this row format exactly:\n• — `outcome`\n\nIf a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any selected Pattern. If there are no selected Patterns, say \"No pattern outcomes.\"\n\nAfter the outcome list, include a \"*Highlights*\" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out from this run. Do not introduce new claims beyond the run report." + "description": "Publish a Slack mrkdwn digest.\n\nPattern selection requirement: include every selected Pattern whose final status is active at the end of this automation run, plus every selected Pattern that changed from active to inactive during this run (a newly inactive outcome). Exclude Patterns that were already inactive before this run and remained inactive. Do not mention excluded Patterns anywhere in the digest, including Highlights. If no selected Patterns meet these criteria, say \"No current pattern outcomes.\" This requirement overrides conflicting formatting guidance.\n\nInclude a complete \"*Pattern outcomes*\" section with one row for every included Pattern.\n\nUse this row format exactly:\n• — `outcome`\n\nIf a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any active selected Pattern.\n\nAfter the outcome list, include a \"*Highlights*\" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out among the included active Patterns. Do not introduce new claims beyond the run report." } }, "required": [ @@ -6321,7 +6409,7 @@ "type": "number", "nullable": true, "minimum": 60, - "description": "How much recent history to relabel after a new topic map version becomes active" + "description": "Deprecated. How much recent history to relabel after a new topic map version becomes active. Data planes v2.15.0 and later ignore this and apply a topic map version after the first only to traces classified once it is active." }, "backfill_time_range": { "anyOf": [ @@ -6409,7 +6497,7 @@ "type": "string", "minLength": 1, "maxLength": 10000, - "description": "Publish a Slack mrkdwn digest.\n\nInclude a complete \"*Pattern outcomes*\" section with one row for every selected Pattern from the run report, including created, updated, unchanged, failed, skipped, and newly inactive outcomes.\n\nUse this row format exactly:\n• — `outcome`\n\nIf a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any selected Pattern. If there are no selected Patterns, say \"No pattern outcomes.\"\n\nAfter the outcome list, include a \"*Highlights*\" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out from this run. Do not introduce new claims beyond the run report." + "description": "Publish a Slack mrkdwn digest.\n\nPattern selection requirement: include every selected Pattern whose final status is active at the end of this automation run, plus every selected Pattern that changed from active to inactive during this run (a newly inactive outcome). Exclude Patterns that were already inactive before this run and remained inactive. Do not mention excluded Patterns anywhere in the digest, including Highlights. If no selected Patterns meet these criteria, say \"No current pattern outcomes.\" This requirement overrides conflicting formatting guidance.\n\nInclude a complete \"*Pattern outcomes*\" section with one row for every included Pattern.\n\nUse this row format exactly:\n• — `outcome`\n\nIf a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any active selected Pattern.\n\nAfter the outcome list, include a \"*Highlights*\" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out among the included active Patterns. Do not introduce new claims beyond the run report." } }, "required": [ @@ -6547,7 +6635,7 @@ "type": "string", "minLength": 1, "maxLength": 10000, - "description": "Publish a Slack mrkdwn digest.\n\nInclude a complete \"*Pattern outcomes*\" section with one row for every selected Pattern from the run report, including created, updated, unchanged, failed, skipped, and newly inactive outcomes.\n\nUse this row format exactly:\n• — `outcome`\n\nIf a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any selected Pattern. If there are no selected Patterns, say \"No pattern outcomes.\"\n\nAfter the outcome list, include a \"*Highlights*\" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out from this run. Do not introduce new claims beyond the run report." + "description": "Publish a Slack mrkdwn digest.\n\nPattern selection requirement: include every selected Pattern whose final status is active at the end of this automation run, plus every selected Pattern that changed from active to inactive during this run (a newly inactive outcome). Exclude Patterns that were already inactive before this run and remained inactive. Do not mention excluded Patterns anywhere in the digest, including Highlights. If no selected Patterns meet these criteria, say \"No current pattern outcomes.\" This requirement overrides conflicting formatting guidance.\n\nInclude a complete \"*Pattern outcomes*\" section with one row for every included Pattern.\n\nUse this row format exactly:\n• — `outcome`\n\nIf a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any active selected Pattern.\n\nAfter the outcome list, include a \"*Highlights*\" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out among the included active Patterns. Do not introduce new claims beyond the run report." } }, "required": [ @@ -6889,7 +6977,7 @@ "type": "string", "minLength": 1, "maxLength": 10000, - "description": "Publish a Slack mrkdwn digest.\n\nInclude a complete \"*Pattern outcomes*\" section with one row for every selected Pattern from the run report, including created, updated, unchanged, failed, skipped, and newly inactive outcomes.\n\nUse this row format exactly:\n• — `outcome`\n\nIf a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any selected Pattern. If there are no selected Patterns, say \"No pattern outcomes.\"\n\nAfter the outcome list, include a \"*Highlights*\" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out from this run. Do not introduce new claims beyond the run report." + "description": "Publish a Slack mrkdwn digest.\n\nPattern selection requirement: include every selected Pattern whose final status is active at the end of this automation run, plus every selected Pattern that changed from active to inactive during this run (a newly inactive outcome). Exclude Patterns that were already inactive before this run and remained inactive. Do not mention excluded Patterns anywhere in the digest, including Highlights. If no selected Patterns meet these criteria, say \"No current pattern outcomes.\" This requirement overrides conflicting formatting guidance.\n\nInclude a complete \"*Pattern outcomes*\" section with one row for every included Pattern.\n\nUse this row format exactly:\n• — `outcome`\n\nIf a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any active selected Pattern.\n\nAfter the outcome list, include a \"*Highlights*\" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out among the included active Patterns. Do not introduce new claims beyond the run report." } }, "required": [ @@ -6918,6 +7006,21 @@ } ], "description": "The configuration for the automation rule" + }, + "runtime_block": { + "type": "object", + "properties": { + "reason": { + "type": "string" + }, + "model": { + "type": "string" + } + }, + "required": [ + "reason", + "model" + ] } }, "required": [ @@ -7023,7 +7126,7 @@ "type": "string", "minLength": 1, "maxLength": 10000, - "description": "Publish a Slack mrkdwn digest.\n\nInclude a complete \"*Pattern outcomes*\" section with one row for every selected Pattern from the run report, including created, updated, unchanged, failed, skipped, and newly inactive outcomes.\n\nUse this row format exactly:\n• — `outcome`\n\nIf a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any selected Pattern. If there are no selected Patterns, say \"No pattern outcomes.\"\n\nAfter the outcome list, include a \"*Highlights*\" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out from this run. Do not introduce new claims beyond the run report." + "description": "Publish a Slack mrkdwn digest.\n\nPattern selection requirement: include every selected Pattern whose final status is active at the end of this automation run, plus every selected Pattern that changed from active to inactive during this run (a newly inactive outcome). Exclude Patterns that were already inactive before this run and remained inactive. Do not mention excluded Patterns anywhere in the digest, including Highlights. If no selected Patterns meet these criteria, say \"No current pattern outcomes.\" This requirement overrides conflicting formatting guidance.\n\nInclude a complete \"*Pattern outcomes*\" section with one row for every included Pattern.\n\nUse this row format exactly:\n• — `outcome`\n\nIf a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any active selected Pattern.\n\nAfter the outcome list, include a \"*Highlights*\" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out among the included active Patterns. Do not introduce new claims beyond the run report." } }, "required": [ @@ -7365,7 +7468,7 @@ "type": "string", "minLength": 1, "maxLength": 10000, - "description": "Publish a Slack mrkdwn digest.\n\nInclude a complete \"*Pattern outcomes*\" section with one row for every selected Pattern from the run report, including created, updated, unchanged, failed, skipped, and newly inactive outcomes.\n\nUse this row format exactly:\n• — `outcome`\n\nIf a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any selected Pattern. If there are no selected Patterns, say \"No pattern outcomes.\"\n\nAfter the outcome list, include a \"*Highlights*\" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out from this run. Do not introduce new claims beyond the run report." + "description": "Publish a Slack mrkdwn digest.\n\nPattern selection requirement: include every selected Pattern whose final status is active at the end of this automation run, plus every selected Pattern that changed from active to inactive during this run (a newly inactive outcome). Exclude Patterns that were already inactive before this run and remained inactive. Do not mention excluded Patterns anywhere in the digest, including Highlights. If no selected Patterns meet these criteria, say \"No current pattern outcomes.\" This requirement overrides conflicting formatting guidance.\n\nInclude a complete \"*Pattern outcomes*\" section with one row for every included Pattern.\n\nUse this row format exactly:\n• — `outcome`\n\nIf a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any active selected Pattern.\n\nAfter the outcome list, include a \"*Highlights*\" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out among the included active Patterns. Do not introduce new claims beyond the run report." } }, "required": [ @@ -7494,7 +7597,7 @@ "type": "string", "minLength": 1, "maxLength": 10000, - "description": "Publish a Slack mrkdwn digest.\n\nInclude a complete \"*Pattern outcomes*\" section with one row for every selected Pattern from the run report, including created, updated, unchanged, failed, skipped, and newly inactive outcomes.\n\nUse this row format exactly:\n• — `outcome`\n\nIf a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any selected Pattern. If there are no selected Patterns, say \"No pattern outcomes.\"\n\nAfter the outcome list, include a \"*Highlights*\" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out from this run. Do not introduce new claims beyond the run report." + "description": "Publish a Slack mrkdwn digest.\n\nPattern selection requirement: include every selected Pattern whose final status is active at the end of this automation run, plus every selected Pattern that changed from active to inactive during this run (a newly inactive outcome). Exclude Patterns that were already inactive before this run and remained inactive. Do not mention excluded Patterns anywhere in the digest, including Highlights. If no selected Patterns meet these criteria, say \"No current pattern outcomes.\" This requirement overrides conflicting formatting guidance.\n\nInclude a complete \"*Pattern outcomes*\" section with one row for every included Pattern.\n\nUse this row format exactly:\n• — `outcome`\n\nIf a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any active selected Pattern.\n\nAfter the outcome list, include a \"*Highlights*\" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out among the included active Patterns. Do not introduce new claims beyond the run report." } }, "required": [ @@ -7836,7 +7939,7 @@ "type": "string", "minLength": 1, "maxLength": 10000, - "description": "Publish a Slack mrkdwn digest.\n\nInclude a complete \"*Pattern outcomes*\" section with one row for every selected Pattern from the run report, including created, updated, unchanged, failed, skipped, and newly inactive outcomes.\n\nUse this row format exactly:\n• — `outcome`\n\nIf a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any selected Pattern. If there are no selected Patterns, say \"No pattern outcomes.\"\n\nAfter the outcome list, include a \"*Highlights*\" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out from this run. Do not introduce new claims beyond the run report." + "description": "Publish a Slack mrkdwn digest.\n\nPattern selection requirement: include every selected Pattern whose final status is active at the end of this automation run, plus every selected Pattern that changed from active to inactive during this run (a newly inactive outcome). Exclude Patterns that were already inactive before this run and remained inactive. Do not mention excluded Patterns anywhere in the digest, including Highlights. If no selected Patterns meet these criteria, say \"No current pattern outcomes.\" This requirement overrides conflicting formatting guidance.\n\nInclude a complete \"*Pattern outcomes*\" section with one row for every included Pattern.\n\nUse this row format exactly:\n• — `outcome`\n\nIf a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any active selected Pattern.\n\nAfter the outcome list, include a \"*Highlights*\" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out among the included active Patterns. Do not introduce new claims beyond the run report." } }, "required": [ @@ -11226,6 +11329,16 @@ "format": "date-time", "description": "Date of organization creation" }, + "archived_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "deleted_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, "image_rendering_mode": { "$ref": "#/components/schemas/ImageRenderingMode" } @@ -11791,7 +11904,8 @@ "enum": [ "organization", "project", - "function" + "function", + "mcp_server" ], "description": "The type of the object the environment variable is scoped for" }, @@ -33300,7 +33414,8 @@ "enum": [ "organization", "project", - "function" + "function", + "mcp_server" ], "description": "The type of the object the environment variable is scoped for" }, @@ -33462,7 +33577,8 @@ "enum": [ "organization", "project", - "function" + "function", + "mcp_server" ], "description": "The type of the object the environment variable is scoped for" }, diff --git a/py/src/braintrust/api/_generated/__init__.py b/py/src/braintrust/api/_generated/__init__.py index 60ee0002d..b6e58a939 100644 --- a/py/src/braintrust/api/_generated/__init__.py +++ b/py/src/braintrust/api/_generated/__init__.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/acls.py b/py/src/braintrust/api/_generated/acls.py index c87a179e7..fd7de2ec2 100644 --- a/py/src/braintrust/api/_generated/acls.py +++ b/py/src/braintrust/api/_generated/acls.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/agents.py b/py/src/braintrust/api/_generated/agents.py index 990838584..5907467c8 100644 --- a/py/src/braintrust/api/_generated/agents.py +++ b/py/src/braintrust/api/_generated/agents.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/ai_secrets.py b/py/src/braintrust/api/_generated/ai_secrets.py index ccbf18587..35fe671f6 100644 --- a/py/src/braintrust/api/_generated/ai_secrets.py +++ b/py/src/braintrust/api/_generated/ai_secrets.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/api_keys.py b/py/src/braintrust/api/_generated/api_keys.py index dc48b2bc5..0101e3593 100644 --- a/py/src/braintrust/api/_generated/api_keys.py +++ b/py/src/braintrust/api/_generated/api_keys.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/dataset_snapshots.py b/py/src/braintrust/api/_generated/dataset_snapshots.py index 386162667..c9af040f1 100644 --- a/py/src/braintrust/api/_generated/dataset_snapshots.py +++ b/py/src/braintrust/api/_generated/dataset_snapshots.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/datasets.py b/py/src/braintrust/api/_generated/datasets.py index 8f08a365c..0f1a46d0f 100644 --- a/py/src/braintrust/api/_generated/datasets.py +++ b/py/src/braintrust/api/_generated/datasets.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/env_vars.py b/py/src/braintrust/api/_generated/env_vars.py index f09d24303..9d0cbdd81 100644 --- a/py/src/braintrust/api/_generated/env_vars.py +++ b/py/src/braintrust/api/_generated/env_vars.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/environments.py b/py/src/braintrust/api/_generated/environments.py index 23c326c3f..b2d65a3c0 100644 --- a/py/src/braintrust/api/_generated/environments.py +++ b/py/src/braintrust/api/_generated/environments.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/experiments.py b/py/src/braintrust/api/_generated/experiments.py index 57a2a749b..a799a0bb9 100644 --- a/py/src/braintrust/api/_generated/experiments.py +++ b/py/src/braintrust/api/_generated/experiments.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/functions.py b/py/src/braintrust/api/_generated/functions.py index 7c67e1b09..780b8f63b 100644 --- a/py/src/braintrust/api/_generated/functions.py +++ b/py/src/braintrust/api/_generated/functions.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/groups.py b/py/src/braintrust/api/_generated/groups.py index 4a630b58f..4e01c9e3a 100644 --- a/py/src/braintrust/api/_generated/groups.py +++ b/py/src/braintrust/api/_generated/groups.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/mcp_servers.py b/py/src/braintrust/api/_generated/mcp_servers.py index 8044094b2..7b298ff20 100644 --- a/py/src/braintrust/api/_generated/mcp_servers.py +++ b/py/src/braintrust/api/_generated/mcp_servers.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/models/__init__.py b/py/src/braintrust/api/_generated/models/__init__.py index e821a293c..b93fc9849 100644 --- a/py/src/braintrust/api/_generated/models/__init__.py +++ b/py/src/braintrust/api/_generated/models/__init__.py @@ -1,10 +1,10 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 -# Content SHA-256: 0f2c5474e1cd4459f43db9d0ffd7361245ea2fdec9d5e3cfe8bcfbdc496e4685 +# Content SHA-256: 2b993415693294deac61399da1eed6b70829b67fe082699d2c69045b51cdc3d9 """Generated private model types with lazy package-level imports.""" @@ -51,6 +51,7 @@ ChatCompletionContentPartFileFile, ChatCompletionContentPartFileWithTitle, ChatCompletionContentPartImageWithTitle, + ChatCompletionContentPartInputAudioWithTitle, ChatCompletionContentPartText, ChatCompletionContentPartTextWithTitle, ChatCompletionMessageParam, @@ -80,6 +81,7 @@ GroupScope, Ids, ImageUrl, + InputAudio, InsertEventsResponse, MaxRootSpanId, MaxXactId, @@ -364,6 +366,7 @@ ProjectAutomation, ProjectAutomationIdParam, ProjectAutomationName, + RuntimeBlock, Schedule, Schedule1, Threshold, @@ -539,6 +542,7 @@ "ChatCompletionContentPartFileFile": "common", "ChatCompletionContentPartFileWithTitle": "common", "ChatCompletionContentPartImageWithTitle": "common", + "ChatCompletionContentPartInputAudioWithTitle": "common", "ChatCompletionContentPartText": "common", "ChatCompletionContentPartTextWithTitle": "common", "ChatCompletionMessageParam": "common", @@ -733,6 +737,7 @@ "Ids": "common", "ImageRenderingMode": "organizations", "ImageUrl": "common", + "InputAudio": "common", "InsertDatasetEvent": "datasets", "InsertDatasetEventRequest": "datasets", "InsertEventsResponse": "common", @@ -860,6 +865,7 @@ "Role": "roles", "RoleIdParam": "roles", "RoleName": "roles", + "RuntimeBlock": "project_automations", "RuntimeContext": "functions", "SandboxSpec": "functions", "SandboxSpec1": "functions", @@ -1006,6 +1012,7 @@ "ChatCompletionContentPartFileFile", "ChatCompletionContentPartFileWithTitle", "ChatCompletionContentPartImageWithTitle", + "ChatCompletionContentPartInputAudioWithTitle", "ChatCompletionContentPartText", "ChatCompletionContentPartTextWithTitle", "ChatCompletionMessageParam", @@ -1200,6 +1207,7 @@ "Ids", "ImageRenderingMode", "ImageUrl", + "InputAudio", "InsertDatasetEvent", "InsertDatasetEventRequest", "InsertEventsResponse", @@ -1327,6 +1335,7 @@ "Role", "RoleIdParam", "RoleName", + "RuntimeBlock", "RuntimeContext", "SandboxSpec", "SandboxSpec1", diff --git a/py/src/braintrust/api/_generated/models/acls.py b/py/src/braintrust/api/_generated/models/acls.py index da70623bd..00a97e738 100644 --- a/py/src/braintrust/api/_generated/models/acls.py +++ b/py/src/braintrust/api/_generated/models/acls.py @@ -1,10 +1,10 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 -# Content SHA-256: d52050e09e8da2a95284c40fcad27478a4585f3124f824d0fea3b1cc10dd105c +# Content SHA-256: 5d2423ddbcb3c0f4af80688fcf7bd5f22781fe4738ed4aef2767b9f3dea28340 from typing_extensions import NotRequired from typing import Any, Literal, TypeAlias, TypedDict @@ -43,6 +43,7 @@ "project_group", "ai_secret", "org_ai_secret", + "org_account", ] """ The object type that the ACL applies to @@ -80,6 +81,7 @@ "project_group", "ai_secret", "org_ai_secret", + "org_account", ] """ The object type that the ACL applies to diff --git a/py/src/braintrust/api/_generated/models/agents.py b/py/src/braintrust/api/_generated/models/agents.py index 6e779e1d5..232c62e38 100644 --- a/py/src/braintrust/api/_generated/models/agents.py +++ b/py/src/braintrust/api/_generated/models/agents.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/models/ai_secrets.py b/py/src/braintrust/api/_generated/models/ai_secrets.py index 3e05424a8..d8529649b 100644 --- a/py/src/braintrust/api/_generated/models/ai_secrets.py +++ b/py/src/braintrust/api/_generated/models/ai_secrets.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/models/api_keys.py b/py/src/braintrust/api/_generated/models/api_keys.py index 28ae91986..0c8fbd79f 100644 --- a/py/src/braintrust/api/_generated/models/api_keys.py +++ b/py/src/braintrust/api/_generated/models/api_keys.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/models/common.py b/py/src/braintrust/api/_generated/models/common.py index 72df00085..a8c102e05 100644 --- a/py/src/braintrust/api/_generated/models/common.py +++ b/py/src/braintrust/api/_generated/models/common.py @@ -1,10 +1,10 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 -# Content SHA-256: 530642e00dbd8338380c8a8417e4227cd7a9ebf6e4f719e9de88dc43c17fe38e +# Content SHA-256: 0fad18b54838c9c465eb8813e1bdc81283c57825b14ae6a900cb7775b07aacc7 from typing_extensions import NotRequired from typing import Any, Literal, TypeAlias, TypedDict @@ -31,6 +31,7 @@ "project_group", "ai_secret", "org_ai_secret", + "org_account", ] """ The object type that the ACL applies to @@ -75,6 +76,17 @@ class ChatCompletionContentPartImageWithTitle(TypedDict): type: Literal["image_url"] +class InputAudio(TypedDict): + data: str + format: Literal["wav", "mp3"] + + +class ChatCompletionContentPartInputAudioWithTitle(TypedDict): + cache_control: NotRequired[CacheControl] + input_audio: InputAudio + type: Literal["input_audio"] + + class ChatCompletionContentPartText(TypedDict): cache_control: NotRequired[CacheControl] text: NotRequired[str] @@ -597,6 +609,7 @@ class TraceScope(TypedDict): ChatCompletionContentPart: TypeAlias = ( ChatCompletionContentPartTextWithTitle | ChatCompletionContentPartImageWithTitle + | ChatCompletionContentPartInputAudioWithTitle | ChatCompletionContentPartFileWithTitle ) diff --git a/py/src/braintrust/api/_generated/models/dataset_snapshots.py b/py/src/braintrust/api/_generated/models/dataset_snapshots.py index 1b141b3c8..7915738c7 100644 --- a/py/src/braintrust/api/_generated/models/dataset_snapshots.py +++ b/py/src/braintrust/api/_generated/models/dataset_snapshots.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/models/datasets.py b/py/src/braintrust/api/_generated/models/datasets.py index 3621f9b69..16df017d3 100644 --- a/py/src/braintrust/api/_generated/models/datasets.py +++ b/py/src/braintrust/api/_generated/models/datasets.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/models/env_vars.py b/py/src/braintrust/api/_generated/models/env_vars.py index 009c032cf..0d6c8daaf 100644 --- a/py/src/braintrust/api/_generated/models/env_vars.py +++ b/py/src/braintrust/api/_generated/models/env_vars.py @@ -1,10 +1,10 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 -# Content SHA-256: ba9fb3e88d4db738617c2bb521c2b0942619e1cb3a940b466c0290cf8fa5503a +# Content SHA-256: 12c91d9e0b397ae1a547094c05bb016bdf4fe2bd09683493f972b5c8d470fcea from typing_extensions import NotRequired from typing import Any, Literal, TypeAlias, TypedDict @@ -32,7 +32,7 @@ class EnvVar(TypedDict): """ The id of the object the environment variable is scoped for """ - object_type: Literal["organization", "project", "function"] + object_type: Literal["organization", "project", "function", "mcp_server"] """ The type of the object the environment variable is scoped for """ @@ -77,7 +77,7 @@ class EnvVar(TypedDict): The id of the object the environment variable is scoped for """ -EnvVarObjectType: TypeAlias = Literal["organization", "project", "function"] +EnvVarObjectType: TypeAlias = Literal["organization", "project", "function", "mcp_server"] """ The type of the object the environment variable is scoped for """ diff --git a/py/src/braintrust/api/_generated/models/environments.py b/py/src/braintrust/api/_generated/models/environments.py index 9552bbe47..c8589d1c1 100644 --- a/py/src/braintrust/api/_generated/models/environments.py +++ b/py/src/braintrust/api/_generated/models/environments.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/models/experiments.py b/py/src/braintrust/api/_generated/models/experiments.py index c57724607..b27b9c115 100644 --- a/py/src/braintrust/api/_generated/models/experiments.py +++ b/py/src/braintrust/api/_generated/models/experiments.py @@ -1,10 +1,10 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 -# Content SHA-256: b20e00cc288b41e142b342d845980f730cd3fd8015753f71558917fd73a364d6 +# Content SHA-256: b63fceb63c0efc8e33467412aa215c11ab4f919e7c48f29cdf0ea2d29c9dc8b9 from typing_extensions import NotRequired from typing import Any, Literal, TypeAlias, TypedDict @@ -224,6 +224,7 @@ class ScoreSummary(TypedDict): "preprocessor", "classifier", "review", + "question", "log", ] | None @@ -461,6 +462,10 @@ class PatchExperiment(TypedDict): class SpanAttributes(TypedDict): + log_level: NotRequired[Literal["trace", "debug", "info", "warn", "error", "fatal"] | None] + """ + Severity level of a log + """ name: NotRequired[str | None] """ Name of the span, for display purposes only diff --git a/py/src/braintrust/api/_generated/models/functions.py b/py/src/braintrust/api/_generated/models/functions.py index b86ee64e9..40ff907f2 100644 --- a/py/src/braintrust/api/_generated/models/functions.py +++ b/py/src/braintrust/api/_generated/models/functions.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/models/groups.py b/py/src/braintrust/api/_generated/models/groups.py index ea04c2a21..fcab229d1 100644 --- a/py/src/braintrust/api/_generated/models/groups.py +++ b/py/src/braintrust/api/_generated/models/groups.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/models/mcp_servers.py b/py/src/braintrust/api/_generated/models/mcp_servers.py index 9ddc3c361..a50b9561a 100644 --- a/py/src/braintrust/api/_generated/models/mcp_servers.py +++ b/py/src/braintrust/api/_generated/models/mcp_servers.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/models/org_automations.py b/py/src/braintrust/api/_generated/models/org_automations.py index bdd38284b..4f7747f8b 100644 --- a/py/src/braintrust/api/_generated/models/org_automations.py +++ b/py/src/braintrust/api/_generated/models/org_automations.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/models/organizations.py b/py/src/braintrust/api/_generated/models/organizations.py index 1c9e85f2f..e6536894e 100644 --- a/py/src/braintrust/api/_generated/models/organizations.py +++ b/py/src/braintrust/api/_generated/models/organizations.py @@ -1,10 +1,10 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 -# Content SHA-256: 8757f0faef2942e8e06cb708ffb9676058767f9cc305bf1cde5d49a3e8905f71 +# Content SHA-256: 417f0291f1b1d2fdf8824dbecf592bf64bd02eec2839fe65a78129bd2f2382d6 from typing_extensions import NotRequired from typing import Any, Literal, TypeAlias, TypedDict @@ -18,10 +18,12 @@ class Organization(TypedDict): api_url: NotRequired[str | None] + archived_at: NotRequired[str | None] created: NotRequired[str | None] """ Date of organization creation """ + deleted_at: NotRequired[str | None] id: str """ Unique identifier for the organization diff --git a/py/src/braintrust/api/_generated/models/project_automations.py b/py/src/braintrust/api/_generated/models/project_automations.py index 9194e116e..dbbcbbeb4 100644 --- a/py/src/braintrust/api/_generated/models/project_automations.py +++ b/py/src/braintrust/api/_generated/models/project_automations.py @@ -1,10 +1,10 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 -# Content SHA-256: 2077728154fbe14ee870e894e3289a02099bad4e29d3562bd37e3208476dd7c8 +# Content SHA-256: cb744edc81ded593912292ecace76cb6efefb90a56cc8a2ea036b807722135b9 from typing_extensions import NotRequired from typing import Any, Literal, TypeAlias, TypedDict @@ -37,14 +37,16 @@ class Action1(TypedDict): """ Publish a Slack mrkdwn digest. - Include a complete "*Pattern outcomes*" section with one row for every selected Pattern from the run report, including created, updated, unchanged, failed, skipped, and newly inactive outcomes. + Pattern selection requirement: include every selected Pattern whose final status is active at the end of this automation run, plus every selected Pattern that changed from active to inactive during this run (a newly inactive outcome). Exclude Patterns that were already inactive before this run and remained inactive. Do not mention excluded Patterns anywhere in the digest, including Highlights. If no selected Patterns meet these criteria, say "No current pattern outcomes." This requirement overrides conflicting formatting guidance. + + Include a complete "*Pattern outcomes*" section with one row for every included Pattern. Use this row format exactly: • — `outcome` - If a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any selected Pattern. If there are no selected Patterns, say "No pattern outcomes." + If a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any active selected Pattern. - After the outcome list, include a "*Highlights*" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out from this run. Do not introduce new claims beyond the run report. + After the outcome list, include a "*Highlights*" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out among the included active Patterns. Do not introduce new claims beyond the run report. """ message_template: NotRequired[str] """ @@ -172,14 +174,16 @@ class Action3(TypedDict): """ Publish a Slack mrkdwn digest. - Include a complete "*Pattern outcomes*" section with one row for every selected Pattern from the run report, including created, updated, unchanged, failed, skipped, and newly inactive outcomes. + Pattern selection requirement: include every selected Pattern whose final status is active at the end of this automation run, plus every selected Pattern that changed from active to inactive during this run (a newly inactive outcome). Exclude Patterns that were already inactive before this run and remained inactive. Do not mention excluded Patterns anywhere in the digest, including Highlights. If no selected Patterns meet these criteria, say "No current pattern outcomes." This requirement overrides conflicting formatting guidance. + + Include a complete "*Pattern outcomes*" section with one row for every included Pattern. Use this row format exactly: • — `outcome` - If a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any selected Pattern. If there are no selected Patterns, say "No pattern outcomes." + If a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any active selected Pattern. - After the outcome list, include a "*Highlights*" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out from this run. Do not introduce new claims beyond the run report. + After the outcome list, include a "*Highlights*" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out among the included active Patterns. Do not introduce new claims beyond the run report. """ message_template: NotRequired[str] """ @@ -235,14 +239,16 @@ class Action5(TypedDict): """ Publish a Slack mrkdwn digest. - Include a complete "*Pattern outcomes*" section with one row for every selected Pattern from the run report, including created, updated, unchanged, failed, skipped, and newly inactive outcomes. + Pattern selection requirement: include every selected Pattern whose final status is active at the end of this automation run, plus every selected Pattern that changed from active to inactive during this run (a newly inactive outcome). Exclude Patterns that were already inactive before this run and remained inactive. Do not mention excluded Patterns anywhere in the digest, including Highlights. If no selected Patterns meet these criteria, say "No current pattern outcomes." This requirement overrides conflicting formatting guidance. + + Include a complete "*Pattern outcomes*" section with one row for every included Pattern. Use this row format exactly: • — `outcome` - If a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any selected Pattern. If there are no selected Patterns, say "No pattern outcomes." + If a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any active selected Pattern. - After the outcome list, include a "*Highlights*" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out from this run. Do not introduce new claims beyond the run report. + After the outcome list, include a "*Highlights*" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out among the included active Patterns. Do not introduce new claims beyond the run report. """ message_template: NotRequired[str] """ @@ -370,14 +376,16 @@ class Action7(TypedDict): """ Publish a Slack mrkdwn digest. - Include a complete "*Pattern outcomes*" section with one row for every selected Pattern from the run report, including created, updated, unchanged, failed, skipped, and newly inactive outcomes. + Pattern selection requirement: include every selected Pattern whose final status is active at the end of this automation run, plus every selected Pattern that changed from active to inactive during this run (a newly inactive outcome). Exclude Patterns that were already inactive before this run and remained inactive. Do not mention excluded Patterns anywhere in the digest, including Highlights. If no selected Patterns meet these criteria, say "No current pattern outcomes." This requirement overrides conflicting formatting guidance. + + Include a complete "*Pattern outcomes*" section with one row for every included Pattern. Use this row format exactly: • — `outcome` - If a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any selected Pattern. If there are no selected Patterns, say "No pattern outcomes." + If a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any active selected Pattern. - After the outcome list, include a "*Highlights*" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out from this run. Do not introduce new claims beyond the run report. + After the outcome list, include a "*Highlights*" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out among the included active Patterns. Do not introduce new claims beyond the run report. """ message_template: NotRequired[str] """ @@ -433,14 +441,16 @@ class Action9(TypedDict): """ Publish a Slack mrkdwn digest. - Include a complete "*Pattern outcomes*" section with one row for every selected Pattern from the run report, including created, updated, unchanged, failed, skipped, and newly inactive outcomes. + Pattern selection requirement: include every selected Pattern whose final status is active at the end of this automation run, plus every selected Pattern that changed from active to inactive during this run (a newly inactive outcome). Exclude Patterns that were already inactive before this run and remained inactive. Do not mention excluded Patterns anywhere in the digest, including Highlights. If no selected Patterns meet these criteria, say "No current pattern outcomes." This requirement overrides conflicting formatting guidance. + + Include a complete "*Pattern outcomes*" section with one row for every included Pattern. Use this row format exactly: • — `outcome` - If a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any selected Pattern. If there are no selected Patterns, say "No pattern outcomes." + If a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any active selected Pattern. - After the outcome list, include a "*Highlights*" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out from this run. Do not introduce new claims beyond the run report. + After the outcome list, include a "*Highlights*" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out among the included active Patterns. Do not introduce new claims beyond the run report. """ message_template: NotRequired[str] """ @@ -568,14 +578,16 @@ class Action11(TypedDict): """ Publish a Slack mrkdwn digest. - Include a complete "*Pattern outcomes*" section with one row for every selected Pattern from the run report, including created, updated, unchanged, failed, skipped, and newly inactive outcomes. + Pattern selection requirement: include every selected Pattern whose final status is active at the end of this automation run, plus every selected Pattern that changed from active to inactive during this run (a newly inactive outcome). Exclude Patterns that were already inactive before this run and remained inactive. Do not mention excluded Patterns anywhere in the digest, including Highlights. If no selected Patterns meet these criteria, say "No current pattern outcomes." This requirement overrides conflicting formatting guidance. + + Include a complete "*Pattern outcomes*" section with one row for every included Pattern. Use this row format exactly: • — `outcome` - If a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any selected Pattern. If there are no selected Patterns, say "No pattern outcomes." + If a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any active selected Pattern. - After the outcome list, include a "*Highlights*" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out from this run. Do not introduce new claims beyond the run report. + After the outcome list, include a "*Highlights*" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out among the included active Patterns. Do not introduce new claims beyond the run report. """ message_template: NotRequired[str] """ @@ -607,6 +619,11 @@ class Config17(TypedDict): status: NotRequired[AutomationStatus] +class RuntimeBlock(TypedDict): + model: str + reason: str + + ProjectAutomationIdParam: TypeAlias = str """ ProjectAutomation id @@ -784,14 +801,16 @@ class Actions1(TypedDict): """ Publish a Slack mrkdwn digest. - Include a complete "*Pattern outcomes*" section with one row for every selected Pattern from the run report, including created, updated, unchanged, failed, skipped, and newly inactive outcomes. + Pattern selection requirement: include every selected Pattern whose final status is active at the end of this automation run, plus every selected Pattern that changed from active to inactive during this run (a newly inactive outcome). Exclude Patterns that were already inactive before this run and remained inactive. Do not mention excluded Patterns anywhere in the digest, including Highlights. If no selected Patterns meet these criteria, say "No current pattern outcomes." This requirement overrides conflicting formatting guidance. + + Include a complete "*Pattern outcomes*" section with one row for every included Pattern. Use this row format exactly: • — `outcome` - If a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any selected Pattern. If there are no selected Patterns, say "No pattern outcomes." + If a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any active selected Pattern. - After the outcome list, include a "*Highlights*" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out from this run. Do not introduce new claims beyond the run report. + After the outcome list, include a "*Highlights*" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out among the included active Patterns. Do not introduce new claims beyond the run report. """ message_template: NotRequired[str] """ @@ -1088,7 +1107,7 @@ class TopicAutomationConfig(TypedDict): facet_model: NotRequired[TopicAutomationFacetModel | None] relabel_overlap_seconds: NotRequired[float | None] """ - How much recent history to relabel after a new topic map version becomes active + Deprecated. How much recent history to relabel after a new topic map version becomes active. Data planes v2.15.0 and later ignore this and apply a topic map version after the first only to traces classified once it is active. """ rerun_seconds: NotRequired[float | None] """ @@ -1196,6 +1215,7 @@ class ProjectAutomation(TypedDict): """ Unique identifier for the project that the project automation belongs under """ + runtime_block: NotRequired[RuntimeBlock] user_id: NotRequired[str | None] """ Identifies the user who created the project automation diff --git a/py/src/braintrust/api/_generated/models/project_groups.py b/py/src/braintrust/api/_generated/models/project_groups.py index 1c343a6d2..8122a2ac8 100644 --- a/py/src/braintrust/api/_generated/models/project_groups.py +++ b/py/src/braintrust/api/_generated/models/project_groups.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/models/project_scores.py b/py/src/braintrust/api/_generated/models/project_scores.py index 56fa36deb..e706cc7de 100644 --- a/py/src/braintrust/api/_generated/models/project_scores.py +++ b/py/src/braintrust/api/_generated/models/project_scores.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/models/project_tags.py b/py/src/braintrust/api/_generated/models/project_tags.py index fb65dddfe..5686dce4f 100644 --- a/py/src/braintrust/api/_generated/models/project_tags.py +++ b/py/src/braintrust/api/_generated/models/project_tags.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/models/projects.py b/py/src/braintrust/api/_generated/models/projects.py index 709dd1317..239e8d545 100644 --- a/py/src/braintrust/api/_generated/models/projects.py +++ b/py/src/braintrust/api/_generated/models/projects.py @@ -1,10 +1,10 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 -# Content SHA-256: df42dc8e0c114ae0d22a847726c364f9b37f9f99778a6a9d34d427f288f93354 +# Content SHA-256: 23e96bdd92779886a5ed085fb3a4493c3dbf0cf206d6e4499d5513708abefa60 from typing_extensions import NotRequired from typing import Any, Literal, TypeAlias, TypedDict @@ -76,6 +76,10 @@ class ProjectSettings(TypedDict): """ If true, hide peer review scores, comments, and aggregate results from reviewers without project update permissions until they submit their own review. """ + coding_agent_insights_dashboard: NotRequired[bool | None] + """ + If true, enable the agent insights dashboard for this project. + """ comparison_key: NotRequired[str | None] """ The key used to join two experiments (defaults to `input`) @@ -93,6 +97,10 @@ class ProjectSettings(TypedDict): """ The remote eval sources to use for the project """ + require_all_human_review_scores: NotRequired[bool | None] + """ + If true, automatically complete a review after every assigned reviewer fills all human review scores visible to them. + """ spanFieldOrder: NotRequired[Sequence[SpanFieldOrderItem] | None] """ The order of the fields to display in the trace view diff --git a/py/src/braintrust/api/_generated/models/prompts.py b/py/src/braintrust/api/_generated/models/prompts.py index a12242244..c37a8689d 100644 --- a/py/src/braintrust/api/_generated/models/prompts.py +++ b/py/src/braintrust/api/_generated/models/prompts.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/models/roles.py b/py/src/braintrust/api/_generated/models/roles.py index 68a609098..26fd99da7 100644 --- a/py/src/braintrust/api/_generated/models/roles.py +++ b/py/src/braintrust/api/_generated/models/roles.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/models/service_tokens.py b/py/src/braintrust/api/_generated/models/service_tokens.py index b7cd7ed26..b2d12b87a 100644 --- a/py/src/braintrust/api/_generated/models/service_tokens.py +++ b/py/src/braintrust/api/_generated/models/service_tokens.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/models/span_iframes.py b/py/src/braintrust/api/_generated/models/span_iframes.py index 4cb5e535e..b24def540 100644 --- a/py/src/braintrust/api/_generated/models/span_iframes.py +++ b/py/src/braintrust/api/_generated/models/span_iframes.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/models/users.py b/py/src/braintrust/api/_generated/models/users.py index e747bbe41..2cd6490e4 100644 --- a/py/src/braintrust/api/_generated/models/users.py +++ b/py/src/braintrust/api/_generated/models/users.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/models/views.py b/py/src/braintrust/api/_generated/models/views.py index f1bfd7ab0..49bcf5c96 100644 --- a/py/src/braintrust/api/_generated/models/views.py +++ b/py/src/braintrust/api/_generated/models/views.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/org_automations.py b/py/src/braintrust/api/_generated/org_automations.py index 70a4075fd..8ed7f1e28 100644 --- a/py/src/braintrust/api/_generated/org_automations.py +++ b/py/src/braintrust/api/_generated/org_automations.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/organizations.py b/py/src/braintrust/api/_generated/organizations.py index 978d21c80..7936dbd94 100644 --- a/py/src/braintrust/api/_generated/organizations.py +++ b/py/src/braintrust/api/_generated/organizations.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/project_automations.py b/py/src/braintrust/api/_generated/project_automations.py index 64a9e6cae..63abdb0c1 100644 --- a/py/src/braintrust/api/_generated/project_automations.py +++ b/py/src/braintrust/api/_generated/project_automations.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/project_groups.py b/py/src/braintrust/api/_generated/project_groups.py index d577a7020..34e3364ab 100644 --- a/py/src/braintrust/api/_generated/project_groups.py +++ b/py/src/braintrust/api/_generated/project_groups.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/project_scores.py b/py/src/braintrust/api/_generated/project_scores.py index 938611d3a..0742d2913 100644 --- a/py/src/braintrust/api/_generated/project_scores.py +++ b/py/src/braintrust/api/_generated/project_scores.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/project_tags.py b/py/src/braintrust/api/_generated/project_tags.py index 48f3d9405..826fdebd5 100644 --- a/py/src/braintrust/api/_generated/project_tags.py +++ b/py/src/braintrust/api/_generated/project_tags.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/projects.py b/py/src/braintrust/api/_generated/projects.py index 51158f76f..449220ade 100644 --- a/py/src/braintrust/api/_generated/projects.py +++ b/py/src/braintrust/api/_generated/projects.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/prompts.py b/py/src/braintrust/api/_generated/prompts.py index df3505ddb..27f4571e2 100644 --- a/py/src/braintrust/api/_generated/prompts.py +++ b/py/src/braintrust/api/_generated/prompts.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/roles.py b/py/src/braintrust/api/_generated/roles.py index a1e2d07d5..988141929 100644 --- a/py/src/braintrust/api/_generated/roles.py +++ b/py/src/braintrust/api/_generated/roles.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/service_tokens.py b/py/src/braintrust/api/_generated/service_tokens.py index dafdde146..509a66f8c 100644 --- a/py/src/braintrust/api/_generated/service_tokens.py +++ b/py/src/braintrust/api/_generated/service_tokens.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/span_iframes.py b/py/src/braintrust/api/_generated/span_iframes.py index eb866c0f0..f0918bcae 100644 --- a/py/src/braintrust/api/_generated/span_iframes.py +++ b/py/src/braintrust/api/_generated/span_iframes.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/users.py b/py/src/braintrust/api/_generated/users.py index c8f243a47..d9388b86f 100644 --- a/py/src/braintrust/api/_generated/users.py +++ b/py/src/braintrust/api/_generated/users.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14 diff --git a/py/src/braintrust/api/_generated/views.py b/py/src/braintrust/api/_generated/views.py index ecc74ef39..9c25c7ff3 100644 --- a/py/src/braintrust/api/_generated/views.py +++ b/py/src/braintrust/api/_generated/views.py @@ -1,6 +1,6 @@ # Generated by scripts/generate-api-client.py. DO NOT EDIT. -# OpenAPI commit: d1f9de36c2fa4db9e8c6cf11d7321cbd53e93c6a -# OpenAPI spec SHA-256: d4fca10d8584f1613f10ccf4bb8977a0559c28b87f601bfdfacd6b9017e5bad5 +# OpenAPI commit: 128468e1d34987f9269038e4416b7a97fafb05d9 +# OpenAPI spec SHA-256: c709dafda419ca01dfceeaaa8b17f258f3464fa4352e9619c2dcf5050259dc5d # datamodel-code-generator: 0.72.4 # ruff: 0.15.21 # Generator Python: 3.14