From b5536f34b04eb9951bab24cdf1eff7358b903df0 Mon Sep 17 00:00:00 2001 From: "braintrust-bot[bot]" <215900051+braintrust-bot[bot]@users.noreply.github.com> Date: Wed, 7 Oct 2026 00:04:13 +0000 Subject: [PATCH] chore: sync OpenAPI spec --- openapi/spec.json | 285 +++++++++++++++++++++++++++++++++++++++++++++- openapi/spec.yaml | 219 ++++++++++++++++++++++++++++++++++- 2 files changed, 499 insertions(+), 5 deletions(-) diff --git a/openapi/spec.json b/openapi/spec.json index 65c2cb6..893dcb1 100644 --- a/openapi/spec.json +++ b/openapi/spec.json @@ -6060,14 +6060,16 @@ "harness": { "type": "string", "enum": [ - "native", "codex", + "native", "claude-code" - ] + ], + "description": "Required when saving a Loop automation. Currently only Codex is supported." }, "model": { "type": "string", - "minLength": 1 + "minLength": 1, + "description": "Required when saving a Loop automation." }, "endpoint_name": { "type": "string", @@ -6156,6 +6158,43 @@ "workspace_id", "channel" ] + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "pagerduty" + ], + "description": "The type of action to take" + }, + "routing_key_secret_name": { + "type": "string", + "format": "uuid", + "description": "The data-plane secret containing the PagerDuty routing key" + }, + "severity": { + "type": "string", + "enum": [ + "critical", + "error", + "warning", + "info" + ] + }, + "formatting_prompt": { + "type": "string", + "minLength": 1, + "maxLength": 10000, + "description": "Instructions for Loop to format content sent to this destination" + } + }, + "required": [ + "type", + "routing_key_secret_name", + "severity" + ] } ], "description": "A delivery action available to an automation" @@ -6663,6 +6702,43 @@ "workspace_id", "channel" ] + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "pagerduty" + ], + "description": "The type of action to take" + }, + "routing_key_secret_name": { + "type": "string", + "format": "uuid", + "description": "The data-plane secret containing the PagerDuty routing key" + }, + "severity": { + "type": "string", + "enum": [ + "critical", + "error", + "warning", + "info" + ] + }, + "formatting_prompt": { + "type": "string", + "minLength": 1, + "maxLength": 10000, + "description": "Instructions for Loop to format content sent to this destination" + } + }, + "required": [ + "type", + "routing_key_secret_name", + "severity" + ] } ], "description": "The action to take when the automation rule is triggered" @@ -6813,6 +6889,11 @@ "service_account_email": { "type": "string", "description": "The GCP service account email to impersonate" + }, + "credential_name": { + "type": "string", + "minLength": 1, + "description": "The name of a Google workload identity federation credential configured in this organization's AI providers. Supported data planes can use it regardless of hosting environment. If omitted, the data plane's GCP identity is used." } }, "required": [ @@ -7005,6 +7086,43 @@ "workspace_id", "channel" ] + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "pagerduty" + ], + "description": "The type of action to take" + }, + "routing_key_secret_name": { + "type": "string", + "format": "uuid", + "description": "The data-plane secret containing the PagerDuty routing key" + }, + "severity": { + "type": "string", + "enum": [ + "critical", + "error", + "warning", + "info" + ] + }, + "formatting_prompt": { + "type": "string", + "minLength": 1, + "maxLength": 10000, + "description": "Instructions for Loop to format content sent to this destination" + } + }, + "required": [ + "type", + "routing_key_secret_name", + "severity" + ] } ], "description": "The action to take when the automation rule is triggered" @@ -7154,6 +7272,43 @@ "workspace_id", "channel" ] + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "pagerduty" + ], + "description": "The type of action to take" + }, + "routing_key_secret_name": { + "type": "string", + "format": "uuid", + "description": "The data-plane secret containing the PagerDuty routing key" + }, + "severity": { + "type": "string", + "enum": [ + "critical", + "error", + "warning", + "info" + ] + }, + "formatting_prompt": { + "type": "string", + "minLength": 1, + "maxLength": 10000, + "description": "Instructions for Loop to format content sent to this destination" + } + }, + "required": [ + "type", + "routing_key_secret_name", + "severity" + ] } ], "description": "The action to take when the automation rule is triggered" @@ -7304,6 +7459,11 @@ "service_account_email": { "type": "string", "description": "The GCP service account email to impersonate" + }, + "credential_name": { + "type": "string", + "minLength": 1, + "description": "The name of a Google workload identity federation credential configured in this organization's AI providers. Supported data planes can use it regardless of hosting environment. If omitted, the data plane's GCP identity is used." } }, "required": [ @@ -7496,6 +7656,43 @@ "workspace_id", "channel" ] + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "pagerduty" + ], + "description": "The type of action to take" + }, + "routing_key_secret_name": { + "type": "string", + "format": "uuid", + "description": "The data-plane secret containing the PagerDuty routing key" + }, + "severity": { + "type": "string", + "enum": [ + "critical", + "error", + "warning", + "info" + ] + }, + "formatting_prompt": { + "type": "string", + "minLength": 1, + "maxLength": 10000, + "description": "Instructions for Loop to format content sent to this destination" + } + }, + "required": [ + "type", + "routing_key_secret_name", + "severity" + ] } ], "description": "The action to take when the automation rule is triggered" @@ -7625,6 +7822,43 @@ "workspace_id", "channel" ] + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "pagerduty" + ], + "description": "The type of action to take" + }, + "routing_key_secret_name": { + "type": "string", + "format": "uuid", + "description": "The data-plane secret containing the PagerDuty routing key" + }, + "severity": { + "type": "string", + "enum": [ + "critical", + "error", + "warning", + "info" + ] + }, + "formatting_prompt": { + "type": "string", + "minLength": 1, + "maxLength": 10000, + "description": "Instructions for Loop to format content sent to this destination" + } + }, + "required": [ + "type", + "routing_key_secret_name", + "severity" + ] } ], "description": "The action to take when the automation rule is triggered" @@ -7775,6 +8009,11 @@ "service_account_email": { "type": "string", "description": "The GCP service account email to impersonate" + }, + "credential_name": { + "type": "string", + "minLength": 1, + "description": "The name of a Google workload identity federation credential configured in this organization's AI providers. Supported data planes can use it regardless of hosting environment. If omitted, the data plane's GCP identity is used." } }, "required": [ @@ -7967,6 +8206,43 @@ "workspace_id", "channel" ] + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "pagerduty" + ], + "description": "The type of action to take" + }, + "routing_key_secret_name": { + "type": "string", + "format": "uuid", + "description": "The data-plane secret containing the PagerDuty routing key" + }, + "severity": { + "type": "string", + "enum": [ + "critical", + "error", + "warning", + "info" + ] + }, + "formatting_prompt": { + "type": "string", + "minLength": 1, + "maxLength": 10000, + "description": "Instructions for Loop to format content sent to this destination" + } + }, + "required": [ + "type", + "routing_key_secret_name", + "severity" + ] } ], "description": "The action to take when the automation rule is triggered" @@ -11986,7 +12262,8 @@ "enum": [ "env_var", "ai_provider", - "sandbox_provider" + "sandbox_provider", + "automation_integration" ], "default": "env_var", "description": "The category of the secret: env_var for regular environment variables, ai_provider for AI provider API keys" diff --git a/openapi/spec.yaml b/openapi/spec.yaml index cd3e421..274a938 100644 --- a/openapi/spec.yaml +++ b/openapi/spec.yaml @@ -5318,12 +5318,15 @@ components: harness: type: string enum: - - native - codex + - native - claude-code + description: Required when saving a Loop automation. Currently only Codex is + supported. model: type: string minLength: 1 + description: Required when saving a Loop automation. endpoint_name: type: string minLength: 1 @@ -5423,6 +5426,33 @@ components: - type - workspace_id - channel + - type: object + properties: + type: + type: string + enum: + - pagerduty + description: The type of action to take + routing_key_secret_name: + type: string + format: uuid + description: The data-plane secret containing the PagerDuty routing key + severity: + type: string + enum: + - critical + - error + - warning + - info + formatting_prompt: + type: string + minLength: 1 + maxLength: 10000 + description: Instructions for Loop to format content sent to this destination + required: + - type + - routing_key_secret_name + - severity description: A delivery action available to an automation maxItems: 20 default: [] @@ -5840,6 +5870,33 @@ components: - type - workspace_id - channel + - type: object + properties: + type: + type: string + enum: + - pagerduty + description: The type of action to take + routing_key_secret_name: + type: string + format: uuid + description: The data-plane secret containing the PagerDuty routing key + severity: + type: string + enum: + - critical + - error + - warning + - info + formatting_prompt: + type: string + minLength: 1 + maxLength: 10000 + description: Instructions for Loop to format content sent to this destination + required: + - type + - routing_key_secret_name + - severity description: The action to take when the automation rule is triggered required: - event_type @@ -5938,6 +5995,14 @@ components: service_account_email: type: string description: The GCP service account email to impersonate + credential_name: + type: string + minLength: 1 + description: The name of a Google workload identity federation credential + configured in this organization's AI providers. + Supported data planes can use it regardless of + hosting environment. If omitted, the data plane's + GCP identity is used. required: - type - service_account_email @@ -6111,6 +6176,33 @@ components: - type - workspace_id - channel + - type: object + properties: + type: + type: string + enum: + - pagerduty + description: The type of action to take + routing_key_secret_name: + type: string + format: uuid + description: The data-plane secret containing the PagerDuty routing key + severity: + type: string + enum: + - critical + - error + - warning + - info + formatting_prompt: + type: string + minLength: 1 + maxLength: 10000 + description: Instructions for Loop to format content sent to this destination + required: + - type + - routing_key_secret_name + - severity description: The action to take when the automation rule is triggered required: - event_type @@ -6251,6 +6343,33 @@ components: - type - workspace_id - channel + - type: object + properties: + type: + type: string + enum: + - pagerduty + description: The type of action to take + routing_key_secret_name: + type: string + format: uuid + description: The data-plane secret containing the PagerDuty routing key + severity: + type: string + enum: + - critical + - error + - warning + - info + formatting_prompt: + type: string + minLength: 1 + maxLength: 10000 + description: Instructions for Loop to format content sent to this destination + required: + - type + - routing_key_secret_name + - severity description: The action to take when the automation rule is triggered required: - event_type @@ -6349,6 +6468,14 @@ components: service_account_email: type: string description: The GCP service account email to impersonate + credential_name: + type: string + minLength: 1 + description: The name of a Google workload identity federation credential + configured in this organization's AI providers. + Supported data planes can use it regardless of + hosting environment. If omitted, the data plane's + GCP identity is used. required: - type - service_account_email @@ -6522,6 +6649,33 @@ components: - type - workspace_id - channel + - type: object + properties: + type: + type: string + enum: + - pagerduty + description: The type of action to take + routing_key_secret_name: + type: string + format: uuid + description: The data-plane secret containing the PagerDuty routing key + severity: + type: string + enum: + - critical + - error + - warning + - info + formatting_prompt: + type: string + minLength: 1 + maxLength: 10000 + description: Instructions for Loop to format content sent to this destination + required: + - type + - routing_key_secret_name + - severity description: The action to take when the automation rule is triggered required: - event_type @@ -6647,6 +6801,33 @@ components: - type - workspace_id - channel + - type: object + properties: + type: + type: string + enum: + - pagerduty + description: The type of action to take + routing_key_secret_name: + type: string + format: uuid + description: The data-plane secret containing the PagerDuty routing key + severity: + type: string + enum: + - critical + - error + - warning + - info + formatting_prompt: + type: string + minLength: 1 + maxLength: 10000 + description: Instructions for Loop to format content sent to this destination + required: + - type + - routing_key_secret_name + - severity description: The action to take when the automation rule is triggered required: - event_type @@ -6745,6 +6926,14 @@ components: service_account_email: type: string description: The GCP service account email to impersonate + credential_name: + type: string + minLength: 1 + description: The name of a Google workload identity federation credential + configured in this organization's AI providers. + Supported data planes can use it regardless of + hosting environment. If omitted, the data plane's + GCP identity is used. required: - type - service_account_email @@ -6918,6 +7107,33 @@ components: - type - workspace_id - channel + - type: object + properties: + type: + type: string + enum: + - pagerduty + description: The type of action to take + routing_key_secret_name: + type: string + format: uuid + description: The data-plane secret containing the PagerDuty routing key + severity: + type: string + enum: + - critical + - error + - warning + - info + formatting_prompt: + type: string + minLength: 1 + maxLength: 10000 + description: Instructions for Loop to format content sent to this destination + required: + - type + - routing_key_secret_name + - severity description: The action to take when the automation rule is triggered required: - event_type @@ -9846,6 +10062,7 @@ components: - env_var - ai_provider - sandbox_provider + - automation_integration default: env_var description: "The category of the secret: env_var for regular environment variables, ai_provider for AI provider API keys"