From 10511deb1f5c59c695f44096c6e47d4a24af6b86 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 11 Nov 2026 13:54:51 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...nRouter.AlphaExtractionsClient.Create.g.cs | 6 +- ...uter.AnalyticsClient.GetAnalyticsMeta.g.cs | 4 +- ...outer.AnalyticsClient.GetUserActivity.g.cs | 4 +- ...Router.AnalyticsClient.QueryAnalytics.g.cs | 6 +- .../OpenRouter.ApiKeysClient.Update.g.cs | 2 +- .../OpenRouter.ByokClient.Create.g.cs | 10 +- .../OpenRouter.ByokClient.Delete.g.cs | 4 +- .../Generated/OpenRouter.ByokClient.Get.g.cs | 4 +- .../Generated/OpenRouter.ByokClient.List.g.cs | 8 +- .../OpenRouter.ByokClient.Update.g.cs | 8 +- ...itsClient.ListCreditsPurchasesSKILLMd.g.cs | 411 -- ...editsClient.ListCreditsPurchasesSetup.g.cs | 411 -- .../OpenRouter.EndpointsClient.List.g.cs | 37 + ...uter.EndpointsClient.ListZdrEndpoints.g.cs | 37 + ...esClient.ChangeApiKeyPolicyAssignment.g.cs | 4 +- ...esClient.ChangeMemberPolicyAssignment.g.cs | 4 +- ...railPoliciesClient.CreateBudgetPolicy.g.cs | 4 +- ...sClient.CreateModelAvailabilityPolicy.g.cs | 4 +- ...PoliciesClient.CreateModerationPolicy.g.cs | 4 +- ...railPoliciesClient.DeleteBudgetPolicy.g.cs | 14 +- ...sClient.DeleteModelAvailabilityPolicy.g.cs | 14 +- ...PoliciesClient.DeleteModerationPolicy.g.cs | 14 +- ...iciesClient.GetApiKeyPolicyAssignment.g.cs | 16 +- ...ardrailPoliciesClient.GetBudgetPolicy.g.cs | 14 +- ...iciesClient.GetMemberPolicyAssignment.g.cs | 16 +- ...ciesClient.GetModelAvailabilityPolicy.g.cs | 14 +- ...ailPoliciesClient.GetModerationPolicy.g.cs | 14 +- ...railPoliciesClient.ListBudgetPolicies.g.cs | 16 +- ...sClient.ListModelAvailabilityPolicies.g.cs | 16 +- ...PoliciesClient.ListModerationPolicies.g.cs | 16 +- ...railPoliciesClient.UpdateBudgetPolicy.g.cs | 4 +- ...sClient.UpdateModelAvailabilityPolicy.g.cs | 4 +- ...PoliciesClient.UpdateModerationPolicy.g.cs | 4 +- ...outer.GuardrailsClient.BulkAssignKeys.g.cs | 6 +- ...er.GuardrailsClient.BulkAssignMembers.g.cs | 6 +- ...ter.GuardrailsClient.BulkUnassignKeys.g.cs | 6 +- ....GuardrailsClient.BulkUnassignMembers.g.cs | 6 +- .../OpenRouter.GuardrailsClient.Create.g.cs | 8 +- .../OpenRouter.GuardrailsClient.Delete.g.cs | 4 +- .../OpenRouter.GuardrailsClient.Get.g.cs | 4 +- .../OpenRouter.GuardrailsClient.List.g.cs | 8 +- ...ilsClient.ListGuardrailKeyAssignments.g.cs | 4 +- ...Client.ListGuardrailMemberAssignments.g.cs | 4 +- ...r.GuardrailsClient.ListKeyAssignments.g.cs | 28 +- ...uardrailsClient.ListMemberAssignments.g.cs | 28 +- .../OpenRouter.GuardrailsClient.Update.g.cs | 6 +- ...Router.IAlphaExtractionsClient.Create.g.cs | 6 +- ...ter.IAnalyticsClient.GetAnalyticsMeta.g.cs | 4 +- ...uter.IAnalyticsClient.GetUserActivity.g.cs | 4 +- ...outer.IAnalyticsClient.QueryAnalytics.g.cs | 6 +- .../OpenRouter.IApiKeysClient.Update.g.cs | 2 +- .../OpenRouter.IByokClient.Create.g.cs | 10 +- .../OpenRouter.IByokClient.Delete.g.cs | 4 +- .../Generated/OpenRouter.IByokClient.Get.g.cs | 4 +- .../OpenRouter.IByokClient.List.g.cs | 8 +- .../OpenRouter.IByokClient.Update.g.cs | 8 +- ...itsClient.ListCreditsPurchasesSKILLMd.g.cs | 26 - ...editsClient.ListCreditsPurchasesSetup.g.cs | 26 - ...esClient.ChangeApiKeyPolicyAssignment.g.cs | 4 +- ...esClient.ChangeMemberPolicyAssignment.g.cs | 4 +- ...railPoliciesClient.CreateBudgetPolicy.g.cs | 4 +- ...sClient.CreateModelAvailabilityPolicy.g.cs | 4 +- ...PoliciesClient.CreateModerationPolicy.g.cs | 4 +- ...railPoliciesClient.DeleteBudgetPolicy.g.cs | 8 +- ...sClient.DeleteModelAvailabilityPolicy.g.cs | 8 +- ...PoliciesClient.DeleteModerationPolicy.g.cs | 8 +- ...iciesClient.GetApiKeyPolicyAssignment.g.cs | 8 +- ...ardrailPoliciesClient.GetBudgetPolicy.g.cs | 8 +- ...iciesClient.GetMemberPolicyAssignment.g.cs | 8 +- ...ciesClient.GetModelAvailabilityPolicy.g.cs | 8 +- ...ailPoliciesClient.GetModerationPolicy.g.cs | 8 +- ...railPoliciesClient.ListBudgetPolicies.g.cs | 8 +- ...sClient.ListModelAvailabilityPolicies.g.cs | 8 +- ...PoliciesClient.ListModerationPolicies.g.cs | 8 +- ...railPoliciesClient.UpdateBudgetPolicy.g.cs | 4 +- ...sClient.UpdateModelAvailabilityPolicy.g.cs | 4 +- ...PoliciesClient.UpdateModerationPolicy.g.cs | 4 +- ...uter.IGuardrailsClient.BulkAssignKeys.g.cs | 6 +- ...r.IGuardrailsClient.BulkAssignMembers.g.cs | 6 +- ...er.IGuardrailsClient.BulkUnassignKeys.g.cs | 6 +- ...IGuardrailsClient.BulkUnassignMembers.g.cs | 6 +- .../OpenRouter.IGuardrailsClient.Create.g.cs | 8 +- .../OpenRouter.IGuardrailsClient.Delete.g.cs | 4 +- .../OpenRouter.IGuardrailsClient.Get.g.cs | 4 +- .../OpenRouter.IGuardrailsClient.List.g.cs | 8 +- ...ilsClient.ListGuardrailKeyAssignments.g.cs | 4 +- ...Client.ListGuardrailMemberAssignments.g.cs | 4 +- ....IGuardrailsClient.ListKeyAssignments.g.cs | 14 +- ...uardrailsClient.ListMemberAssignments.g.cs | 14 +- .../OpenRouter.IGuardrailsClient.Update.g.cs | 6 +- ...penRouter.IObservabilityClient.Create.g.cs | 10 +- ...penRouter.IObservabilityClient.Delete.g.cs | 4 +- .../OpenRouter.IObservabilityClient.Get.g.cs | 4 +- .../OpenRouter.IObservabilityClient.List.g.cs | 8 +- ...penRouter.IObservabilityClient.Update.g.cs | 8 +- .../OpenRouter.JsonSerializerContext.g.cs | 21 +- ...OpenRouter.JsonSerializerContextTypes.g.cs | 3596 +++++++++-------- .../Generated/OpenRouter.Models.BYOKKey.g.cs | 4 +- ...hangeGuardrailPolicyAssignmentRequest.g.cs | 9 +- ...penRouter.Models.CreateBYOKKeyRequest.g.cs | 8 +- ...ls.CreateBudgetGuardrailPolicyRequest.g.cs | 17 +- ...nRouter.Models.CreateGuardrailRequest.g.cs | 4 +- ...delAvailabilityGuardrailPolicyRequest.g.cs | 17 +- ...reateModerationGuardrailPolicyRequest.g.cs | 17 +- ...CreateObservabilityDestinationRequest.g.cs | 8 +- ...ls.CreditPurchasePaymentRequired.Json.g.cs | 141 + ....Models.CreditPurchasePaymentRequired.g.cs | 101 + .../OpenRouter.Models.ExtractionAsset.g.cs | 2 +- ...enRouter.Models.ExtractionAssetFormat.g.cs | 7 + ...penRouter.Models.ExtractionDateAnswer.g.cs | 4 +- ...OpenRouter.Models.ExtractionDateField.g.cs | 13 +- ...outer.Models.ExtractionDatetimeAnswer.g.cs | 4 +- ...Router.Models.ExtractionDatetimeField.g.cs | 13 +- ...outer.Models.ExtractionDurationAnswer.g.cs | 4 +- ...Router.Models.ExtractionDurationField.g.cs | 6 +- ...Router.Models.ExtractionEstimateField.g.cs | 10 +- ...Router.Models.ExtractionForecastField.g.cs | 10 +- ...penRouter.Models.ExtractionListAnswer.g.cs | 10 +- ...OpenRouter.Models.ExtractionListField.g.cs | 24 +- ...nRouter.Models.ExtractionNumberAnswer.g.cs | 4 +- ...enRouter.Models.ExtractionNumberField.g.cs | 12 +- ...penRouter.Models.ExtractionTextAnswer.g.cs | 4 +- ...OpenRouter.Models.ExtractionTextField.g.cs | 13 +- ...penRouter.Models.ExtractionTimeAnswer.g.cs | 4 +- ...OpenRouter.Models.ExtractionTimeField.g.cs | 13 +- .../OpenRouter.Models.ExtractionsRequest.g.cs | 19 +- ...outer.Models.ExtractionsRequestAssets.g.cs | 2 +- ...els.ImageGenerationRequestAspectRatio.g.cs | 14 + .../OpenRouter.Models.ReasoningFormat.g.cs | 7 + ...penRouter.Models.UpdateBYOKKeyRequest.g.cs | 4 +- ...ls.UpdateBudgetGuardrailPolicyRequest.g.cs | 17 +- .../OpenRouter.Models.UpdateKeysRequest.g.cs | 4 +- ...delAvailabilityGuardrailPolicyRequest.g.cs | 17 +- ...pdateModerationGuardrailPolicyRequest.g.cs | 17 +- ...UpdateObservabilityDestinationRequest.g.cs | 4 +- ...OpenRouter.ObservabilityClient.Create.g.cs | 10 +- ...OpenRouter.ObservabilityClient.Delete.g.cs | 4 +- .../OpenRouter.ObservabilityClient.Get.g.cs | 4 +- .../OpenRouter.ObservabilityClient.List.g.cs | 8 +- ...OpenRouter.ObservabilityClient.Update.g.cs | 8 +- .../Generated/autosdk.generated-examples.json | 76 +- src/libs/OpenRouter/openapi.yaml | 403 +- 142 files changed, 3057 insertions(+), 3279 deletions(-) delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.CreditsClient.ListCreditsPurchasesSKILLMd.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.CreditsClient.ListCreditsPurchasesSetup.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.ICreditsClient.ListCreditsPurchasesSKILLMd.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.ICreditsClient.ListCreditsPurchasesSetup.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.CreditPurchasePaymentRequired.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.CreditPurchasePaymentRequired.g.cs diff --git a/src/libs/OpenRouter/Generated/OpenRouter.AlphaExtractionsClient.Create.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.AlphaExtractionsClient.Create.g.cs index 4f1b77f58..1a5b69e3d 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.AlphaExtractionsClient.Create.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.AlphaExtractionsClient.Create.g.cs @@ -892,7 +892,7 @@ partial void ProcessCreateResponseContent( /// Extracts, computes, estimates or forecasts typed fields from a state string and image assets using an extraction-style System One model. Alpha: the shape is not stable. /// /// - /// Assets keyed by reference string. Write a reference wherever the asset belongs in `state` or a field `instructions`; every asset must be referenced at least once. A `state` that is exactly the sole asset's key carries no text of its own and is read as file-only. A model that reads either text or a document per request, not both (ScaleDown Extract with a PDF), needs that form: any other text around the key is state text and is rejected with 400. + /// Assets keyed by reference string. Write a reference wherever the asset belongs in `state` or a field `instructions`; every asset must be referenced at least once, unless `state` is empty or omitted, in which case the assets are read without a reference. A `state` that is exactly the sole asset's key carries no text of its own and is read as file-only. A model that reads either text or a document per request, not both (ScaleDown Extract with a PDF), takes that form or an empty or omitted `state`: any other text around the key is state text and is rejected with 400. /// /// /// Map of field name to typed field spec. @@ -907,7 +907,7 @@ partial void ProcessCreateResponseContent( /// Example: session-1234 /// /// - /// The text to read from. May be empty only when the request carries image assets. + /// The text to read from. May be empty or omitted only when the request carries assets, which are then read without being referenced by key. /// /// /// Metadata for observability and tracing. Known keys (trace_id, trace_name, span_name, generation_name, parent_span_id) have special handling. Additional keys are passed through as custom metadata to configured broadcast destinations.
@@ -920,11 +920,11 @@ partial void ProcessCreateResponseContent( public async global::System.Threading.Tasks.Task CreateAsync( object fields, string model, - string state, global::System.Collections.Generic.Dictionary? assets = default, global::OpenRouter.AllOf? provider = default, string? referenceDate = default, string? sessionId = default, + string? state = default, global::OpenRouter.TraceConfig? trace = default, string? user = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.AnalyticsClient.GetAnalyticsMeta.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.AnalyticsClient.GetAnalyticsMeta.g.cs index 4c2af53a5..ef62e98fe 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.AnalyticsClient.GetAnalyticsMeta.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.AnalyticsClient.GetAnalyticsMeta.g.cs @@ -41,7 +41,7 @@ partial void ProcessGetAnalyticsMetaResponseContent( /// /// Get available analytics metrics and dimensions
- /// Returns the available metrics, dimensions, filter operators, and granularities for the analytics query endpoint. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Returns the available metrics, dimensions, filter operators, and granularities for the analytics query endpoint. Workspace-scoped management keys are accepted. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -59,7 +59,7 @@ partial void ProcessGetAnalyticsMetaResponseContent( } /// /// Get available analytics metrics and dimensions
- /// Returns the available metrics, dimensions, filter operators, and granularities for the analytics query endpoint. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Returns the available metrics, dimensions, filter operators, and granularities for the analytics query endpoint. Workspace-scoped management keys are accepted. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with diff --git a/src/libs/OpenRouter/Generated/OpenRouter.AnalyticsClient.GetUserActivity.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.AnalyticsClient.GetUserActivity.g.cs index dccec13c2..3211950a9 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.AnalyticsClient.GetUserActivity.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.AnalyticsClient.GetUserActivity.g.cs @@ -51,7 +51,7 @@ partial void ProcessGetUserActivityResponseContent( /// /// Get user activity grouped by endpoint
- /// Returns user activity data grouped by endpoint for the last 30 (completed) UTC days. Pass `workspace_id` to scope the response to a single workspace. Pass `group_by=workspace` to split each row per workspace and include `workspace_id` on every item; by default rows are aggregated across workspaces and `workspace_id` is not returned. Activity recorded before workspace resolution existed is permanently attributed to the account default workspace (no backfill is possible). [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Returns user activity data grouped by endpoint for the last 30 (completed) UTC days. Pass `workspace_id` to scope the response to a single workspace. Pass `group_by=workspace` to split each row per workspace and include `workspace_id` on every item; by default rows are aggregated across workspaces and `workspace_id` is not returned. Activity recorded before workspace resolution existed is permanently attributed to the account default workspace (no backfill is possible). A workspace-scoped management key needs `activity:view_all` on its own workspace and reads only that workspace: an omitted `workspace_id` defaults to it, a `workspace_id` naming any other workspace returns 403, `api_key_hash` and `user_id` resolve only keys and members of that workspace, and legacy activity with no workspace is excluded (including for the default workspace). [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Filter by a single UTC date in the last 30 days (YYYY-MM-DD format).
@@ -99,7 +99,7 @@ partial void ProcessGetUserActivityResponseContent( } /// /// Get user activity grouped by endpoint
- /// Returns user activity data grouped by endpoint for the last 30 (completed) UTC days. Pass `workspace_id` to scope the response to a single workspace. Pass `group_by=workspace` to split each row per workspace and include `workspace_id` on every item; by default rows are aggregated across workspaces and `workspace_id` is not returned. Activity recorded before workspace resolution existed is permanently attributed to the account default workspace (no backfill is possible). [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Returns user activity data grouped by endpoint for the last 30 (completed) UTC days. Pass `workspace_id` to scope the response to a single workspace. Pass `group_by=workspace` to split each row per workspace and include `workspace_id` on every item; by default rows are aggregated across workspaces and `workspace_id` is not returned. Activity recorded before workspace resolution existed is permanently attributed to the account default workspace (no backfill is possible). A workspace-scoped management key needs `activity:view_all` on its own workspace and reads only that workspace: an omitted `workspace_id` defaults to it, a `workspace_id` naming any other workspace returns 403, `api_key_hash` and `user_id` resolve only keys and members of that workspace, and legacy activity with no workspace is excluded (including for the default workspace). [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Filter by a single UTC date in the last 30 days (YYYY-MM-DD format).
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.AnalyticsClient.QueryAnalytics.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.AnalyticsClient.QueryAnalytics.g.cs index 3e54aa73f..afabd6ec1 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.AnalyticsClient.QueryAnalytics.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.AnalyticsClient.QueryAnalytics.g.cs @@ -43,7 +43,7 @@ partial void ProcessQueryAnalyticsResponseContent( /// /// Query analytics data
- /// Execute an analytics query with specified metrics, dimensions, filters, and time range. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Execute an analytics query with specified metrics, dimensions, filters, and time range. A workspace-scoped management key needs `activity:view_all` on its own workspace and reads only that workspace: it is refused a `workspace` filter naming another workspace, it excludes legacy rows with no workspace (including for the default workspace), and possible-cache metrics such as `possible_cached_tokens` return 400. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -66,7 +66,7 @@ partial void ProcessQueryAnalyticsResponseContent( } /// /// Query analytics data
- /// Execute an analytics query with specified metrics, dimensions, filters, and time range. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Execute an analytics query with specified metrics, dimensions, filters, and time range. A workspace-scoped management key needs `activity:view_all` on its own workspace and reads only that workspace: it is refused a `workspace` filter naming another workspace, it excludes legacy rows with no workspace (including for the default workspace), and possible-cache metrics such as `possible_cached_tokens` return 400. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -620,7 +620,7 @@ partial void ProcessQueryAnalyticsResponseContent( } /// /// Query analytics data
- /// Execute an analytics query with specified metrics, dimensions, filters, and time range. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Execute an analytics query with specified metrics, dimensions, filters, and time range. A workspace-scoped management key needs `activity:view_all` on its own workspace and reads only that workspace: it is refused a `workspace` filter naming another workspace, it excludes legacy rows with no workspace (including for the default workspace), and possible-cache metrics such as `possible_cached_tokens` return 400. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Group results by custom classifier tags, breaking down metrics by the specified dimension values. Requires an active classifier on the workspace. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ApiKeysClient.Update.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ApiKeysClient.Update.g.cs index 4d4b5fb4b..f52822036 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ApiKeysClient.Update.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ApiKeysClient.Update.g.cs @@ -748,7 +748,7 @@ partial void ProcessUpdateResponseContent( /// Example: Updated API Key Name /// /// - /// Move the API key to this workspace. The key keeps its value; guardrail selections move with it, while other workspace-scoped settings (presets, BYOK keys, broadcast destinations, routing rules) do not. Sending the key's current workspace is a no-op.
+ /// Move the API key to this workspace. The key keeps its value; guardrail selections move with it, except direct guardrail assignments owned by the key's current workspace, which are removed along with the selections derived from them, while other workspace-scoped settings (presets, BYOK keys, broadcast destinations, routing rules) do not. Sending the key's current workspace is a no-op.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.Create.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.Create.g.cs index 360395e6b..cea064f9c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.Create.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.Create.g.cs @@ -43,7 +43,7 @@ partial void ProcessCreateResponseContent( /// /// Create a BYOK provider credential
- /// Create a new bring-your-own-key (BYOK) provider credential. The raw key is encrypted at rest and never returned in API responses. When `workspace_id` is omitted, the credential is created in the default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly. Treat the raw key as write-only; it is never returned after creation. Use `allowed_api_key_hashes` to restrict the credential to specific OpenRouter API keys. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Create a new bring-your-own-key (BYOK) provider credential. The raw key is encrypted at rest and never returned in API responses. When `workspace_id` is omitted, the credential is created in the default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly. A workspace-scoped management key creates the credential in its own workspace when `workspace_id` is omitted, and any other `workspace_id` returns 403. Treat the raw key as write-only; it is never returned after creation. Use `allowed_api_key_hashes` to restrict the credential to specific OpenRouter API keys. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -66,7 +66,7 @@ partial void ProcessCreateResponseContent( } /// /// Create a BYOK provider credential
- /// Create a new bring-your-own-key (BYOK) provider credential. The raw key is encrypted at rest and never returned in API responses. When `workspace_id` is omitted, the credential is created in the default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly. Treat the raw key as write-only; it is never returned after creation. Use `allowed_api_key_hashes` to restrict the credential to specific OpenRouter API keys. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Create a new bring-your-own-key (BYOK) provider credential. The raw key is encrypted at rest and never returned in API responses. When `workspace_id` is omitted, the credential is created in the default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly. A workspace-scoped management key creates the credential in its own workspace when `workspace_id` is omitted, and any other `workspace_id` returns 403. Treat the raw key as write-only; it is never returned after creation. Use `allowed_api_key_hashes` to restrict the credential to specific OpenRouter API keys. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -583,10 +583,10 @@ partial void ProcessCreateResponseContent( } /// /// Create a BYOK provider credential
- /// Create a new bring-your-own-key (BYOK) provider credential. The raw key is encrypted at rest and never returned in API responses. When `workspace_id` is omitted, the credential is created in the default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly. Treat the raw key as write-only; it is never returned after creation. Use `allowed_api_key_hashes` to restrict the credential to specific OpenRouter API keys. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Create a new bring-your-own-key (BYOK) provider credential. The raw key is encrypted at rest and never returned in API responses. When `workspace_id` is omitted, the credential is created in the default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly. A workspace-scoped management key creates the credential in its own workspace when `workspace_id` is omitted, and any other `workspace_id` returns 403. Treat the raw key as write-only; it is never returned after creation. Use `allowed_api_key_hashes` to restrict the credential to specific OpenRouter API keys. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// - /// Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) that may use this credential. `null` means no restriction. Must contain at least one hash if provided. Hashes that do not belong to your account return a 400.
+ /// Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) that may use this credential. `null` means no restriction. Must contain at least one hash if provided. Hashes that do not belong to your account return a 400; for a workspace-scoped management key, so do hashes of API keys outside its own workspace.
/// Example: [f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943] /// /// @@ -634,7 +634,7 @@ partial void ProcessCreateResponseContent( /// Example: openai /// /// - /// Optional workspace ID to scope the credential to. When omitted, the credential is created in the account's default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly.
+ /// Optional workspace ID to scope the credential to. When omitted, a workspace-scoped management key creates it in its own workspace. An organization management key creates it in the account's default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly.
/// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.Delete.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.Delete.g.cs index 581299ab1..288c59de0 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.Delete.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.Delete.g.cs @@ -43,7 +43,7 @@ partial void ProcessDeleteResponseContent( /// /// Delete a BYOK provider credential
- /// Delete (soft-delete) a bring-your-own-key (BYOK) provider credential by its `id`. The encrypted key material is wiped and the record is marked as deleted. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Delete (soft-delete) a bring-your-own-key (BYOK) provider credential by its `id`. The encrypted key material is wiped and the record is marked as deleted. A workspace-scoped management key only reaches credentials in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The BYOK credential ID (UUID).
@@ -67,7 +67,7 @@ partial void ProcessDeleteResponseContent( } /// /// Delete a BYOK provider credential
- /// Delete (soft-delete) a bring-your-own-key (BYOK) provider credential by its `id`. The encrypted key material is wiped and the record is marked as deleted. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Delete (soft-delete) a bring-your-own-key (BYOK) provider credential by its `id`. The encrypted key material is wiped and the record is marked as deleted. A workspace-scoped management key only reaches credentials in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The BYOK credential ID (UUID).
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.Get.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.Get.g.cs index 9002e2e72..24517d04c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.Get.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.Get.g.cs @@ -43,7 +43,7 @@ partial void ProcessGetResponseContent( /// /// Get a BYOK provider credential
- /// Get a single bring-your-own-key (BYOK) provider credential by its `id`. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Get a single bring-your-own-key (BYOK) provider credential by its `id`. A workspace-scoped management key only reaches credentials in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The BYOK credential ID (UUID).
@@ -67,7 +67,7 @@ partial void ProcessGetResponseContent( } /// /// Get a BYOK provider credential
- /// Get a single bring-your-own-key (BYOK) provider credential by its `id`. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Get a single bring-your-own-key (BYOK) provider credential by its `id`. A workspace-scoped management key only reaches credentials in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The BYOK credential ID (UUID).
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.List.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.List.g.cs index c0bb3fe92..650ba8b71 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.List.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.List.g.cs @@ -49,7 +49,7 @@ partial void ProcessListResponseContent( /// /// List BYOK provider credentials
- /// List the bring-your-own-key (BYOK) provider credentials for the authenticated entity's default workspace. Use the `workspace_id` query parameter to scope the result to a different workspace, or the `provider` query parameter to filter by upstream provider. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// List the bring-your-own-key (BYOK) provider credentials for the authenticated entity's default workspace, or a workspace-scoped management key's own workspace. Use the `workspace_id` query parameter to scope the result to a different workspace, or the `provider` query parameter to filter by upstream provider. A workspace-scoped management key can only list its own workspace; any other `workspace_id` returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Number of records to skip for pagination
@@ -62,7 +62,7 @@ partial void ProcessListResponseContent( /// Example: 50 /// /// - /// Optional workspace ID to filter by. When omitted, resolves to the account’s default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly.
+ /// Optional workspace ID to filter by. When omitted, a workspace-scoped management key uses its own workspace. An organization management key uses the account’s default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly.
/// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// @@ -93,7 +93,7 @@ partial void ProcessListResponseContent( } /// /// List BYOK provider credentials
- /// List the bring-your-own-key (BYOK) provider credentials for the authenticated entity's default workspace. Use the `workspace_id` query parameter to scope the result to a different workspace, or the `provider` query parameter to filter by upstream provider. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// List the bring-your-own-key (BYOK) provider credentials for the authenticated entity's default workspace, or a workspace-scoped management key's own workspace. Use the `workspace_id` query parameter to scope the result to a different workspace, or the `provider` query parameter to filter by upstream provider. A workspace-scoped management key can only list its own workspace; any other `workspace_id` returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Number of records to skip for pagination
@@ -106,7 +106,7 @@ partial void ProcessListResponseContent( /// Example: 50 /// /// - /// Optional workspace ID to filter by. When omitted, resolves to the account’s default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly.
+ /// Optional workspace ID to filter by. When omitted, a workspace-scoped management key uses its own workspace. An organization management key uses the account’s default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly.
/// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.Update.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.Update.g.cs index 7dae751c7..b9415d817 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.Update.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.Update.g.cs @@ -45,7 +45,7 @@ partial void ProcessUpdateResponseContent( /// /// Update a BYOK provider credential
- /// Update an existing bring-your-own-key (BYOK) provider credential by its `id`. Include the `key` field to rotate the raw provider API key in-place (the previous key material is overwritten). Use `allowed_api_key_hashes` to restrict the credential to specific OpenRouter API keys (`null` clears the restriction). [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Update an existing bring-your-own-key (BYOK) provider credential by its `id`. Include the `key` field to rotate the raw provider API key in-place (the previous key material is overwritten). Use `allowed_api_key_hashes` to restrict the credential to specific OpenRouter API keys (`null` clears the restriction). A workspace-scoped management key only reaches credentials in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The BYOK credential ID (UUID).
@@ -74,7 +74,7 @@ partial void ProcessUpdateResponseContent( } /// /// Update a BYOK provider credential
- /// Update an existing bring-your-own-key (BYOK) provider credential by its `id`. Include the `key` field to rotate the raw provider API key in-place (the previous key material is overwritten). Use `allowed_api_key_hashes` to restrict the credential to specific OpenRouter API keys (`null` clears the restriction). [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Update an existing bring-your-own-key (BYOK) provider credential by its `id`. Include the `key` field to rotate the raw provider API key in-place (the previous key material is overwritten). Use `allowed_api_key_hashes` to restrict the credential to specific OpenRouter API keys (`null` clears the restriction). A workspace-scoped management key only reaches credentials in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The BYOK credential ID (UUID).
@@ -672,14 +672,14 @@ partial void ProcessUpdateResponseContent( } /// /// Update a BYOK provider credential
- /// Update an existing bring-your-own-key (BYOK) provider credential by its `id`. Include the `key` field to rotate the raw provider API key in-place (the previous key material is overwritten). Use `allowed_api_key_hashes` to restrict the credential to specific OpenRouter API keys (`null` clears the restriction). [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Update an existing bring-your-own-key (BYOK) provider credential by its `id`. Include the `key` field to rotate the raw provider API key in-place (the previous key material is overwritten). Use `allowed_api_key_hashes` to restrict the credential to specific OpenRouter API keys (`null` clears the restriction). A workspace-scoped management key only reaches credentials in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The BYOK credential ID (UUID).
/// Example: 11111111-2222-3333-4444-555555555555 /// /// - /// Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) that may use this credential. `null` clears the restriction. Must contain at least one hash if provided. Hashes that do not belong to your account return a 400.
+ /// Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) that may use this credential. `null` clears the restriction. Must contain at least one hash if provided. Hashes that do not belong to your account return a 400; for a workspace-scoped management key, so do hashes of API keys outside its own workspace.
/// Example: [f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943] /// /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.CreditsClient.ListCreditsPurchasesSKILLMd.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.CreditsClient.ListCreditsPurchasesSKILLMd.g.cs deleted file mode 100644 index 4fe40d239..000000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.CreditsClient.ListCreditsPurchasesSKILLMd.g.cs +++ /dev/null @@ -1,411 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - public partial class CreditsClient - { - - - private static readonly global::OpenRouter.EndPointSecurityRequirement s_ListCreditsPurchasesSKILLMdSecurityRequirement0 = - new global::OpenRouter.EndPointSecurityRequirement - { - Authorizations = new global::OpenRouter.EndPointAuthorizationRequirement[] - { new global::OpenRouter.EndPointAuthorizationRequirement - { - Type = "Http", - SchemeId = "Bearer", - Location = "Header", - Name = "Bearer", - FriendlyName = "Bearer", - }, - }, - }; - private static readonly global::OpenRouter.EndPointSecurityRequirement[] s_ListCreditsPurchasesSKILLMdSecurityRequirements = - new global::OpenRouter.EndPointSecurityRequirement[] - { s_ListCreditsPurchasesSKILLMdSecurityRequirement0, - }; - partial void PrepareListCreditsPurchasesSKILLMdArguments( - global::System.Net.Http.HttpClient httpClient); - partial void PrepareListCreditsPurchasesSKILLMdRequest( - global::System.Net.Http.HttpClient httpClient, - global::System.Net.Http.HttpRequestMessage httpRequestMessage); - partial void ProcessListCreditsPurchasesSKILLMdResponse( - global::System.Net.Http.HttpClient httpClient, - global::System.Net.Http.HttpResponseMessage httpResponseMessage); - - partial void ProcessListCreditsPurchasesSKILLMdResponseContent( - global::System.Net.Http.HttpClient httpClient, - global::System.Net.Http.HttpResponseMessage httpResponseMessage, - ref string content); - - /// - /// Agent skill for buying OpenRouter credits - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - public async global::System.Threading.Tasks.Task ListCreditsPurchasesSKILLMdAsync( - global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default) - { - var __response = await ListCreditsPurchasesSKILLMdAsResponseAsync( - requestOptions: requestOptions, - cancellationToken: cancellationToken - ).ConfigureAwait(false); - - return __response.Body; - } - /// - /// Agent skill for buying OpenRouter credits - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - public async global::System.Threading.Tasks.Task> ListCreditsPurchasesSKILLMdAsResponseAsync( - global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default) - { - PrepareArguments( - client: HttpClient); - PrepareListCreditsPurchasesSKILLMdArguments( - httpClient: HttpClient); - - - var __authorizations = global::OpenRouter.EndPointSecurityResolver.ResolveAuthorizations( - availableAuthorizations: Authorizations, - securityRequirements: s_ListCreditsPurchasesSKILLMdSecurityRequirements, - operationName: "ListCreditsPurchasesSKILLMdAsync"); - - using var __timeoutCancellationTokenSource = global::OpenRouter.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( - clientOptions: Options, - requestOptions: requestOptions, - cancellationToken: cancellationToken); - var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; - var __effectiveReadResponseAsString = global::OpenRouter.AutoSDKRequestOptionsSupport.GetReadResponseAsString( - clientOptions: Options, - requestOptions: requestOptions, - fallbackValue: ReadResponseAsString); - var __maxAttempts = global::OpenRouter.AutoSDKRequestOptionsSupport.GetMaxAttempts( - clientOptions: Options, - requestOptions: requestOptions, - supportsRetry: true); - - global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() - { - - var __pathBuilder = new global::OpenRouter.PathBuilder( - path: "/credits/purchases/SKILL.md", - baseUri: HttpClient.BaseAddress ?? new global::System.Uri("https://openrouter.ai/api/v1", global::System.UriKind.RelativeOrAbsolute)); - var __path = __pathBuilder.ToString(); - __path = global::OpenRouter.AutoSDKRequestOptionsSupport.AppendQueryParameters( - path: __path, - clientParameters: Options.QueryParameters, - requestParameters: requestOptions?.QueryParameters); - var __httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); -#if NET6_0_OR_GREATER - __httpRequest.Version = global::System.Net.HttpVersion.Version11; - __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; -#endif - - foreach (var __authorization in __authorizations) - { - if (__authorization.Type == "Http" || - __authorization.Type == "OAuth2" || - __authorization.Type == "OpenIdConnect") - { - __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( - scheme: __authorization.Name, - parameter: __authorization.Value); - } - else if (__authorization.Type == "ApiKey" && - __authorization.Location == "Header") - { - __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); - } - } - global::OpenRouter.AutoSDKRequestOptionsSupport.ApplyHeaders( - request: __httpRequest, - clientHeaders: Options.Headers, - requestHeaders: requestOptions?.Headers); - - PrepareRequest( - client: HttpClient, - request: __httpRequest); - PrepareListCreditsPurchasesSKILLMdRequest( - httpClient: HttpClient, - httpRequestMessage: __httpRequest); - - return __httpRequest; - } - - global::System.Net.Http.HttpRequestMessage? __httpRequest = null; - global::System.Net.Http.HttpResponseMessage? __response = null; - var __attemptNumber = 0; - try - { - for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) - { - __attemptNumber = __attempt; - __httpRequest = __CreateHttpRequest(); - await global::OpenRouter.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( - clientOptions: Options, - context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ListCreditsPurchasesSKILLMd", - methodName: "ListCreditsPurchasesSKILLMdAsync", - pathTemplate: "\"/credits/purchases/SKILL.md\"", - httpMethod: "GET", - baseUri: BaseUri, - request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), - response: null, - exception: null, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attempt, - maxAttempts: __maxAttempts, - willRetry: false, - retryDelay: null, - retryReason: global::System.String.Empty, - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - try - { - __response = await HttpClient.SendAsync( - request: __httpRequest, - completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, - cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); - } - catch (global::System.Net.Http.HttpRequestException __exception) - { - var __retryDelay = global::OpenRouter.AutoSDKRequestOptionsSupport.GetRetryDelay( - clientOptions: Options, - requestOptions: requestOptions, - response: null, - attempt: __attempt); - var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; - await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( - clientOptions: Options, - context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ListCreditsPurchasesSKILLMd", - methodName: "ListCreditsPurchasesSKILLMdAsync", - pathTemplate: "\"/credits/purchases/SKILL.md\"", - httpMethod: "GET", - baseUri: BaseUri, - request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), - response: null, - exception: __exception, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attempt, - maxAttempts: __maxAttempts, - willRetry: __willRetry, - retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, - retryReason: "exception", - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - if (!__willRetry) - { - throw; - } - - __httpRequest.Dispose(); - __httpRequest = null; - await global::OpenRouter.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( - retryDelay: __retryDelay, - cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); - continue; - } - - if (__response != null && - __attempt < __maxAttempts && - global::OpenRouter.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) - { - var __retryDelay = global::OpenRouter.AutoSDKRequestOptionsSupport.GetRetryDelay( - clientOptions: Options, - requestOptions: requestOptions, - response: __response, - attempt: __attempt); - await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( - clientOptions: Options, - context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ListCreditsPurchasesSKILLMd", - methodName: "ListCreditsPurchasesSKILLMdAsync", - pathTemplate: "\"/credits/purchases/SKILL.md\"", - httpMethod: "GET", - baseUri: BaseUri, - request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), - response: __response, - exception: null, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attempt, - maxAttempts: __maxAttempts, - willRetry: true, - retryDelay: __retryDelay, - retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - __response.Dispose(); - __response = null; - __httpRequest.Dispose(); - __httpRequest = null; - await global::OpenRouter.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( - retryDelay: __retryDelay, - cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); - continue; - } - - break; - } - - if (__response == null) - { - throw new global::System.InvalidOperationException("No response received."); - } - - using (__response) - { - - ProcessResponse( - client: HttpClient, - response: __response); - ProcessListCreditsPurchasesSKILLMdResponse( - httpClient: HttpClient, - httpResponseMessage: __response); - if (__response.IsSuccessStatusCode) - { - await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( - clientOptions: Options, - context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ListCreditsPurchasesSKILLMd", - methodName: "ListCreditsPurchasesSKILLMdAsync", - pathTemplate: "\"/credits/purchases/SKILL.md\"", - httpMethod: "GET", - baseUri: BaseUri, - request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), - response: __response, - exception: null, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attemptNumber, - maxAttempts: __maxAttempts, - willRetry: false, - retryDelay: null, - retryReason: global::System.String.Empty, - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - } - else - { - await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( - clientOptions: Options, - context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ListCreditsPurchasesSKILLMd", - methodName: "ListCreditsPurchasesSKILLMdAsync", - pathTemplate: "\"/credits/purchases/SKILL.md\"", - httpMethod: "GET", - baseUri: BaseUri, - request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), - response: __response, - exception: null, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attemptNumber, - maxAttempts: __maxAttempts, - willRetry: false, - retryDelay: null, - retryReason: global::System.String.Empty, - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - } - - if (__effectiveReadResponseAsString) - { - var __content = await __response.Content.ReadAsStringAsync( - #if NET5_0_OR_GREATER - __effectiveCancellationToken - #endif - ).ConfigureAwait(false); - - ProcessResponseContent( - client: HttpClient, - response: __response, - content: ref __content); - ProcessListCreditsPurchasesSKILLMdResponseContent( - httpClient: HttpClient, - httpResponseMessage: __response, - content: ref __content); - - try - { - __response.EnsureSuccessStatusCode(); - - return new global::OpenRouter.AutoSDKHttpResponse( - statusCode: __response.StatusCode, - headers: global::OpenRouter.AutoSDKHttpResponse.CreateHeaders(__response), - requestUri: __response.RequestMessage?.RequestUri, - body: __content); - } - catch (global::System.Exception __ex) - { - throw global::OpenRouter.ApiException.Create( - statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, - innerException: __ex, - responseBody: __content, - responseHeaders: global::System.Linq.Enumerable.ToDictionary( - __response.Headers, - h => h.Key, - h => h.Value)); - } - } - else - { - try - { - __response.EnsureSuccessStatusCode(); - var __content = await __response.Content.ReadAsStringAsync( - #if NET5_0_OR_GREATER - __effectiveCancellationToken - #endif - ).ConfigureAwait(false); - - return new global::OpenRouter.AutoSDKHttpResponse( - statusCode: __response.StatusCode, - headers: global::OpenRouter.AutoSDKHttpResponse.CreateHeaders(__response), - requestUri: __response.RequestMessage?.RequestUri, - body: __content); - } - catch (global::System.Exception __ex) - { - string? __content = null; - try - { - __content = await __response.Content.ReadAsStringAsync( - #if NET5_0_OR_GREATER - __effectiveCancellationToken - #endif - ).ConfigureAwait(false); - } - catch (global::System.Exception) - { - } - - throw global::OpenRouter.ApiException.Create( - statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, - innerException: __ex, - responseBody: __content, - responseHeaders: global::System.Linq.Enumerable.ToDictionary( - __response.Headers, - h => h.Key, - h => h.Value)); - } - } - - } - } - finally - { - __httpRequest?.Dispose(); - } - } - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.CreditsClient.ListCreditsPurchasesSetup.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.CreditsClient.ListCreditsPurchasesSetup.g.cs deleted file mode 100644 index b1076969f..000000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.CreditsClient.ListCreditsPurchasesSetup.g.cs +++ /dev/null @@ -1,411 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - public partial class CreditsClient - { - - - private static readonly global::OpenRouter.EndPointSecurityRequirement s_ListCreditsPurchasesSetupSecurityRequirement0 = - new global::OpenRouter.EndPointSecurityRequirement - { - Authorizations = new global::OpenRouter.EndPointAuthorizationRequirement[] - { new global::OpenRouter.EndPointAuthorizationRequirement - { - Type = "Http", - SchemeId = "Bearer", - Location = "Header", - Name = "Bearer", - FriendlyName = "Bearer", - }, - }, - }; - private static readonly global::OpenRouter.EndPointSecurityRequirement[] s_ListCreditsPurchasesSetupSecurityRequirements = - new global::OpenRouter.EndPointSecurityRequirement[] - { s_ListCreditsPurchasesSetupSecurityRequirement0, - }; - partial void PrepareListCreditsPurchasesSetupArguments( - global::System.Net.Http.HttpClient httpClient); - partial void PrepareListCreditsPurchasesSetupRequest( - global::System.Net.Http.HttpClient httpClient, - global::System.Net.Http.HttpRequestMessage httpRequestMessage); - partial void ProcessListCreditsPurchasesSetupResponse( - global::System.Net.Http.HttpClient httpClient, - global::System.Net.Http.HttpResponseMessage httpResponseMessage); - - partial void ProcessListCreditsPurchasesSetupResponseContent( - global::System.Net.Http.HttpClient httpClient, - global::System.Net.Http.HttpResponseMessage httpResponseMessage, - ref string content); - - /// - /// Agent setup guide for buying credits with a machine payment - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - public async global::System.Threading.Tasks.Task ListCreditsPurchasesSetupAsync( - global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default) - { - var __response = await ListCreditsPurchasesSetupAsResponseAsync( - requestOptions: requestOptions, - cancellationToken: cancellationToken - ).ConfigureAwait(false); - - return __response.Body; - } - /// - /// Agent setup guide for buying credits with a machine payment - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - public async global::System.Threading.Tasks.Task> ListCreditsPurchasesSetupAsResponseAsync( - global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default) - { - PrepareArguments( - client: HttpClient); - PrepareListCreditsPurchasesSetupArguments( - httpClient: HttpClient); - - - var __authorizations = global::OpenRouter.EndPointSecurityResolver.ResolveAuthorizations( - availableAuthorizations: Authorizations, - securityRequirements: s_ListCreditsPurchasesSetupSecurityRequirements, - operationName: "ListCreditsPurchasesSetupAsync"); - - using var __timeoutCancellationTokenSource = global::OpenRouter.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( - clientOptions: Options, - requestOptions: requestOptions, - cancellationToken: cancellationToken); - var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; - var __effectiveReadResponseAsString = global::OpenRouter.AutoSDKRequestOptionsSupport.GetReadResponseAsString( - clientOptions: Options, - requestOptions: requestOptions, - fallbackValue: ReadResponseAsString); - var __maxAttempts = global::OpenRouter.AutoSDKRequestOptionsSupport.GetMaxAttempts( - clientOptions: Options, - requestOptions: requestOptions, - supportsRetry: true); - - global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() - { - - var __pathBuilder = new global::OpenRouter.PathBuilder( - path: "/credits/purchases/setup", - baseUri: HttpClient.BaseAddress ?? new global::System.Uri("https://openrouter.ai/api/v1", global::System.UriKind.RelativeOrAbsolute)); - var __path = __pathBuilder.ToString(); - __path = global::OpenRouter.AutoSDKRequestOptionsSupport.AppendQueryParameters( - path: __path, - clientParameters: Options.QueryParameters, - requestParameters: requestOptions?.QueryParameters); - var __httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); -#if NET6_0_OR_GREATER - __httpRequest.Version = global::System.Net.HttpVersion.Version11; - __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; -#endif - - foreach (var __authorization in __authorizations) - { - if (__authorization.Type == "Http" || - __authorization.Type == "OAuth2" || - __authorization.Type == "OpenIdConnect") - { - __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( - scheme: __authorization.Name, - parameter: __authorization.Value); - } - else if (__authorization.Type == "ApiKey" && - __authorization.Location == "Header") - { - __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); - } - } - global::OpenRouter.AutoSDKRequestOptionsSupport.ApplyHeaders( - request: __httpRequest, - clientHeaders: Options.Headers, - requestHeaders: requestOptions?.Headers); - - PrepareRequest( - client: HttpClient, - request: __httpRequest); - PrepareListCreditsPurchasesSetupRequest( - httpClient: HttpClient, - httpRequestMessage: __httpRequest); - - return __httpRequest; - } - - global::System.Net.Http.HttpRequestMessage? __httpRequest = null; - global::System.Net.Http.HttpResponseMessage? __response = null; - var __attemptNumber = 0; - try - { - for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) - { - __attemptNumber = __attempt; - __httpRequest = __CreateHttpRequest(); - await global::OpenRouter.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( - clientOptions: Options, - context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ListCreditsPurchasesSetup", - methodName: "ListCreditsPurchasesSetupAsync", - pathTemplate: "\"/credits/purchases/setup\"", - httpMethod: "GET", - baseUri: BaseUri, - request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), - response: null, - exception: null, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attempt, - maxAttempts: __maxAttempts, - willRetry: false, - retryDelay: null, - retryReason: global::System.String.Empty, - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - try - { - __response = await HttpClient.SendAsync( - request: __httpRequest, - completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, - cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); - } - catch (global::System.Net.Http.HttpRequestException __exception) - { - var __retryDelay = global::OpenRouter.AutoSDKRequestOptionsSupport.GetRetryDelay( - clientOptions: Options, - requestOptions: requestOptions, - response: null, - attempt: __attempt); - var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; - await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( - clientOptions: Options, - context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ListCreditsPurchasesSetup", - methodName: "ListCreditsPurchasesSetupAsync", - pathTemplate: "\"/credits/purchases/setup\"", - httpMethod: "GET", - baseUri: BaseUri, - request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), - response: null, - exception: __exception, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attempt, - maxAttempts: __maxAttempts, - willRetry: __willRetry, - retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, - retryReason: "exception", - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - if (!__willRetry) - { - throw; - } - - __httpRequest.Dispose(); - __httpRequest = null; - await global::OpenRouter.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( - retryDelay: __retryDelay, - cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); - continue; - } - - if (__response != null && - __attempt < __maxAttempts && - global::OpenRouter.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) - { - var __retryDelay = global::OpenRouter.AutoSDKRequestOptionsSupport.GetRetryDelay( - clientOptions: Options, - requestOptions: requestOptions, - response: __response, - attempt: __attempt); - await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( - clientOptions: Options, - context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ListCreditsPurchasesSetup", - methodName: "ListCreditsPurchasesSetupAsync", - pathTemplate: "\"/credits/purchases/setup\"", - httpMethod: "GET", - baseUri: BaseUri, - request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), - response: __response, - exception: null, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attempt, - maxAttempts: __maxAttempts, - willRetry: true, - retryDelay: __retryDelay, - retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - __response.Dispose(); - __response = null; - __httpRequest.Dispose(); - __httpRequest = null; - await global::OpenRouter.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( - retryDelay: __retryDelay, - cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); - continue; - } - - break; - } - - if (__response == null) - { - throw new global::System.InvalidOperationException("No response received."); - } - - using (__response) - { - - ProcessResponse( - client: HttpClient, - response: __response); - ProcessListCreditsPurchasesSetupResponse( - httpClient: HttpClient, - httpResponseMessage: __response); - if (__response.IsSuccessStatusCode) - { - await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( - clientOptions: Options, - context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ListCreditsPurchasesSetup", - methodName: "ListCreditsPurchasesSetupAsync", - pathTemplate: "\"/credits/purchases/setup\"", - httpMethod: "GET", - baseUri: BaseUri, - request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), - response: __response, - exception: null, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attemptNumber, - maxAttempts: __maxAttempts, - willRetry: false, - retryDelay: null, - retryReason: global::System.String.Empty, - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - } - else - { - await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( - clientOptions: Options, - context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ListCreditsPurchasesSetup", - methodName: "ListCreditsPurchasesSetupAsync", - pathTemplate: "\"/credits/purchases/setup\"", - httpMethod: "GET", - baseUri: BaseUri, - request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), - response: __response, - exception: null, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attemptNumber, - maxAttempts: __maxAttempts, - willRetry: false, - retryDelay: null, - retryReason: global::System.String.Empty, - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - } - - if (__effectiveReadResponseAsString) - { - var __content = await __response.Content.ReadAsStringAsync( - #if NET5_0_OR_GREATER - __effectiveCancellationToken - #endif - ).ConfigureAwait(false); - - ProcessResponseContent( - client: HttpClient, - response: __response, - content: ref __content); - ProcessListCreditsPurchasesSetupResponseContent( - httpClient: HttpClient, - httpResponseMessage: __response, - content: ref __content); - - try - { - __response.EnsureSuccessStatusCode(); - - return new global::OpenRouter.AutoSDKHttpResponse( - statusCode: __response.StatusCode, - headers: global::OpenRouter.AutoSDKHttpResponse.CreateHeaders(__response), - requestUri: __response.RequestMessage?.RequestUri, - body: __content); - } - catch (global::System.Exception __ex) - { - throw global::OpenRouter.ApiException.Create( - statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, - innerException: __ex, - responseBody: __content, - responseHeaders: global::System.Linq.Enumerable.ToDictionary( - __response.Headers, - h => h.Key, - h => h.Value)); - } - } - else - { - try - { - __response.EnsureSuccessStatusCode(); - var __content = await __response.Content.ReadAsStringAsync( - #if NET5_0_OR_GREATER - __effectiveCancellationToken - #endif - ).ConfigureAwait(false); - - return new global::OpenRouter.AutoSDKHttpResponse( - statusCode: __response.StatusCode, - headers: global::OpenRouter.AutoSDKHttpResponse.CreateHeaders(__response), - requestUri: __response.RequestMessage?.RequestUri, - body: __content); - } - catch (global::System.Exception __ex) - { - string? __content = null; - try - { - __content = await __response.Content.ReadAsStringAsync( - #if NET5_0_OR_GREATER - __effectiveCancellationToken - #endif - ).ConfigureAwait(false); - } - catch (global::System.Exception) - { - } - - throw global::OpenRouter.ApiException.Create( - statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, - innerException: __ex, - responseBody: __content, - responseHeaders: global::System.Linq.Enumerable.ToDictionary( - __response.Headers, - h => h.Key, - h => h.Value)); - } - } - - } - } - finally - { - __httpRequest?.Dispose(); - } - } - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.EndpointsClient.List.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.EndpointsClient.List.g.cs index afd5e9ea3..68279e4f3 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.EndpointsClient.List.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.EndpointsClient.List.g.cs @@ -345,6 +345,43 @@ partial void ProcessListResponseContent( retryReason: global::System.String.Empty, cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); } + // Unauthorized - Authentication required or invalid credentials + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::OpenRouter.UnauthorizedResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::OpenRouter.UnauthorizedResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::OpenRouter.UnauthorizedResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } // Forbidden - Authentication successful but insufficient permissions if ((int)__response.StatusCode == 403) { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.EndpointsClient.ListZdrEndpoints.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.EndpointsClient.ListZdrEndpoints.g.cs index 39ab6ca6e..7689204b2 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.EndpointsClient.ListZdrEndpoints.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.EndpointsClient.ListZdrEndpoints.g.cs @@ -315,6 +315,43 @@ partial void ProcessListZdrEndpointsResponseContent( retryReason: global::System.String.Empty, cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); } + // Unauthorized - Authentication required or invalid credentials + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::OpenRouter.UnauthorizedResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::OpenRouter.UnauthorizedResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::OpenRouter.UnauthorizedResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } // Forbidden - Authentication successful but insufficient permissions if ((int)__response.StatusCode == 403) { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.ChangeApiKeyPolicyAssignment.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.ChangeApiKeyPolicyAssignment.g.cs index c2dc02092..b9fb6706a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.ChangeApiKeyPolicyAssignment.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.ChangeApiKeyPolicyAssignment.g.cs @@ -692,7 +692,7 @@ partial void ProcessChangeApiKeyPolicyAssignmentResponseContent( /// Example: budget /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -704,7 +704,7 @@ partial void ProcessChangeApiKeyPolicyAssignmentResponseContent( global::OpenRouter.AllOf expectedAssignment, global::System.Guid policyId, global::OpenRouter.ChangeGuardrailPolicyAssignmentRequestPolicyType policyType, - global::System.Guid workspaceId, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.ChangeMemberPolicyAssignment.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.ChangeMemberPolicyAssignment.g.cs index 29acec56d..65b096296 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.ChangeMemberPolicyAssignment.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.ChangeMemberPolicyAssignment.g.cs @@ -692,7 +692,7 @@ partial void ProcessChangeMemberPolicyAssignmentResponseContent( /// Example: budget /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -704,7 +704,7 @@ partial void ProcessChangeMemberPolicyAssignmentResponseContent( global::OpenRouter.AllOf expectedAssignment, global::System.Guid policyId, global::OpenRouter.ChangeGuardrailPolicyAssignmentRequestPolicyType policyType, - global::System.Guid workspaceId, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.CreateBudgetPolicy.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.CreateBudgetPolicy.g.cs index d29861fad..beec4710e 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.CreateBudgetPolicy.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.CreateBudgetPolicy.g.cs @@ -687,7 +687,7 @@ partial void ProcessCreateBudgetPolicyResponseContent( /// /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -696,13 +696,13 @@ partial void ProcessCreateBudgetPolicyResponseContent( public async global::System.Threading.Tasks.Task CreateBudgetPolicyAsync( global::OpenRouter.GuardrailBudgetPolicyAuthoringConfig config, string name, - global::System.Guid workspaceId, global::System.Collections.Generic.IList? apiKeyHashes = default, bool? isWorkspaceDefault = default, global::System.Collections.Generic.IList? memberIds = default, global::System.Collections.Generic.IList? optedOutApiKeyHashes = default, global::System.Collections.Generic.IList? optedOutMemberIds = default, global::OpenRouter.CreateBudgetGuardrailPolicyRequestPolicyType policyType = default, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.CreateModelAvailabilityPolicy.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.CreateModelAvailabilityPolicy.g.cs index 7e4f1db86..3deba6c8b 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.CreateModelAvailabilityPolicy.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.CreateModelAvailabilityPolicy.g.cs @@ -687,7 +687,7 @@ partial void ProcessCreateModelAvailabilityPolicyResponseContent( /// /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -696,13 +696,13 @@ partial void ProcessCreateModelAvailabilityPolicyResponseContent( public async global::System.Threading.Tasks.Task CreateModelAvailabilityPolicyAsync( global::OpenRouter.GuardrailModelAvailabilityPolicyAuthoringConfig config, string name, - global::System.Guid workspaceId, global::System.Collections.Generic.IList? apiKeyHashes = default, bool? isWorkspaceDefault = default, global::System.Collections.Generic.IList? memberIds = default, global::System.Collections.Generic.IList? optedOutApiKeyHashes = default, global::System.Collections.Generic.IList? optedOutMemberIds = default, global::OpenRouter.CreateModelAvailabilityGuardrailPolicyRequestPolicyType policyType = default, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.CreateModerationPolicy.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.CreateModerationPolicy.g.cs index 98eaea54d..9ed678024 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.CreateModerationPolicy.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.CreateModerationPolicy.g.cs @@ -687,7 +687,7 @@ partial void ProcessCreateModerationPolicyResponseContent( /// /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -696,13 +696,13 @@ partial void ProcessCreateModerationPolicyResponseContent( public async global::System.Threading.Tasks.Task CreateModerationPolicyAsync( global::OpenRouter.GuardrailModerationPolicyConfig config, string name, - global::System.Guid workspaceId, global::System.Collections.Generic.IList? apiKeyHashes = default, bool? isWorkspaceDefault = default, global::System.Collections.Generic.IList? memberIds = default, global::System.Collections.Generic.IList? optedOutApiKeyHashes = default, global::System.Collections.Generic.IList? optedOutMemberIds = default, global::OpenRouter.CreateModerationGuardrailPolicyRequestPolicyType policyType = default, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.DeleteBudgetPolicy.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.DeleteBudgetPolicy.g.cs index e961ff926..ab88f7d70 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.DeleteBudgetPolicy.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.DeleteBudgetPolicy.g.cs @@ -28,12 +28,12 @@ public partial class GuardrailPoliciesClient partial void PrepareDeleteBudgetPolicyArguments( global::System.Net.Http.HttpClient httpClient, ref global::System.Guid id, - ref global::System.Guid workspaceId); + ref global::System.Guid? workspaceId); partial void PrepareDeleteBudgetPolicyRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, global::System.Guid id, - global::System.Guid workspaceId); + global::System.Guid? workspaceId); partial void ProcessDeleteBudgetPolicyResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -52,7 +52,7 @@ partial void ProcessDeleteBudgetPolicyResponseContent( /// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -60,7 +60,7 @@ partial void ProcessDeleteBudgetPolicyResponseContent( /// public async global::System.Threading.Tasks.Task DeleteBudgetPolicyAsync( global::System.Guid id, - global::System.Guid workspaceId, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -82,7 +82,7 @@ partial void ProcessDeleteBudgetPolicyResponseContent( /// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -90,7 +90,7 @@ partial void ProcessDeleteBudgetPolicyResponseContent( /// public async global::System.Threading.Tasks.Task> DeleteBudgetPolicyAsResponseAsync( global::System.Guid id, - global::System.Guid workspaceId, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -128,7 +128,7 @@ partial void ProcessDeleteBudgetPolicyResponseContent( path: $"/guardrails/policies/budget/{id}", baseUri: HttpClient.BaseAddress ?? new global::System.Uri("https://openrouter.ai/api/v1", global::System.UriKind.RelativeOrAbsolute)); __pathBuilder - .AddRequiredParameter("workspace_id", workspaceId.ToString() ?? throw new global::System.InvalidOperationException("A required query parameter returned null from ToString().")) + .AddOptionalParameter("workspace_id", workspaceId?.ToString()) ; var __path = __pathBuilder.ToString(); __path = global::OpenRouter.AutoSDKRequestOptionsSupport.AppendQueryParameters( diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.DeleteModelAvailabilityPolicy.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.DeleteModelAvailabilityPolicy.g.cs index a99c8373b..f5ff9d6b4 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.DeleteModelAvailabilityPolicy.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.DeleteModelAvailabilityPolicy.g.cs @@ -28,12 +28,12 @@ public partial class GuardrailPoliciesClient partial void PrepareDeleteModelAvailabilityPolicyArguments( global::System.Net.Http.HttpClient httpClient, ref global::System.Guid id, - ref global::System.Guid workspaceId); + ref global::System.Guid? workspaceId); partial void PrepareDeleteModelAvailabilityPolicyRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, global::System.Guid id, - global::System.Guid workspaceId); + global::System.Guid? workspaceId); partial void ProcessDeleteModelAvailabilityPolicyResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -52,7 +52,7 @@ partial void ProcessDeleteModelAvailabilityPolicyResponseContent( /// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -60,7 +60,7 @@ partial void ProcessDeleteModelAvailabilityPolicyResponseContent( /// public async global::System.Threading.Tasks.Task DeleteModelAvailabilityPolicyAsync( global::System.Guid id, - global::System.Guid workspaceId, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -82,7 +82,7 @@ partial void ProcessDeleteModelAvailabilityPolicyResponseContent( /// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -90,7 +90,7 @@ partial void ProcessDeleteModelAvailabilityPolicyResponseContent( /// public async global::System.Threading.Tasks.Task> DeleteModelAvailabilityPolicyAsResponseAsync( global::System.Guid id, - global::System.Guid workspaceId, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -128,7 +128,7 @@ partial void ProcessDeleteModelAvailabilityPolicyResponseContent( path: $"/guardrails/policies/model-availability/{id}", baseUri: HttpClient.BaseAddress ?? new global::System.Uri("https://openrouter.ai/api/v1", global::System.UriKind.RelativeOrAbsolute)); __pathBuilder - .AddRequiredParameter("workspace_id", workspaceId.ToString() ?? throw new global::System.InvalidOperationException("A required query parameter returned null from ToString().")) + .AddOptionalParameter("workspace_id", workspaceId?.ToString()) ; var __path = __pathBuilder.ToString(); __path = global::OpenRouter.AutoSDKRequestOptionsSupport.AppendQueryParameters( diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.DeleteModerationPolicy.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.DeleteModerationPolicy.g.cs index 54cbd0071..cf95ad7a0 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.DeleteModerationPolicy.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.DeleteModerationPolicy.g.cs @@ -28,12 +28,12 @@ public partial class GuardrailPoliciesClient partial void PrepareDeleteModerationPolicyArguments( global::System.Net.Http.HttpClient httpClient, ref global::System.Guid id, - ref global::System.Guid workspaceId); + ref global::System.Guid? workspaceId); partial void PrepareDeleteModerationPolicyRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, global::System.Guid id, - global::System.Guid workspaceId); + global::System.Guid? workspaceId); partial void ProcessDeleteModerationPolicyResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -52,7 +52,7 @@ partial void ProcessDeleteModerationPolicyResponseContent( /// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -60,7 +60,7 @@ partial void ProcessDeleteModerationPolicyResponseContent( /// public async global::System.Threading.Tasks.Task DeleteModerationPolicyAsync( global::System.Guid id, - global::System.Guid workspaceId, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -82,7 +82,7 @@ partial void ProcessDeleteModerationPolicyResponseContent( /// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -90,7 +90,7 @@ partial void ProcessDeleteModerationPolicyResponseContent( /// public async global::System.Threading.Tasks.Task> DeleteModerationPolicyAsResponseAsync( global::System.Guid id, - global::System.Guid workspaceId, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -128,7 +128,7 @@ partial void ProcessDeleteModerationPolicyResponseContent( path: $"/guardrails/policies/moderation/{id}", baseUri: HttpClient.BaseAddress ?? new global::System.Uri("https://openrouter.ai/api/v1", global::System.UriKind.RelativeOrAbsolute)); __pathBuilder - .AddRequiredParameter("workspace_id", workspaceId.ToString() ?? throw new global::System.InvalidOperationException("A required query parameter returned null from ToString().")) + .AddOptionalParameter("workspace_id", workspaceId?.ToString()) ; var __path = __pathBuilder.ToString(); __path = global::OpenRouter.AutoSDKRequestOptionsSupport.AppendQueryParameters( diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.GetApiKeyPolicyAssignment.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.GetApiKeyPolicyAssignment.g.cs index d23bf63b5..8b8a75534 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.GetApiKeyPolicyAssignment.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.GetApiKeyPolicyAssignment.g.cs @@ -28,13 +28,13 @@ public partial class GuardrailPoliciesClient partial void PrepareGetApiKeyPolicyAssignmentArguments( global::System.Net.Http.HttpClient httpClient, ref string hash, - ref global::System.Guid workspaceId, + ref global::System.Guid? workspaceId, ref global::OpenRouter.GetApiKeyPolicyAssignmentPolicyType policyType); partial void PrepareGetApiKeyPolicyAssignmentRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string hash, - global::System.Guid workspaceId, + global::System.Guid? workspaceId, global::OpenRouter.GetApiKeyPolicyAssignmentPolicyType policyType); partial void ProcessGetApiKeyPolicyAssignmentResponse( global::System.Net.Http.HttpClient httpClient, @@ -54,7 +54,7 @@ partial void ProcessGetApiKeyPolicyAssignmentResponseContent( /// Example: c56454edb818d6b14bc0d61c46025f1450b0f4012d12304ab40aacb519fcbc93 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// @@ -66,15 +66,15 @@ partial void ProcessGetApiKeyPolicyAssignmentResponseContent( /// public async global::System.Threading.Tasks.Task GetApiKeyPolicyAssignmentAsync( string hash, - global::System.Guid workspaceId, global::OpenRouter.GetApiKeyPolicyAssignmentPolicyType policyType, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { var __response = await GetApiKeyPolicyAssignmentAsResponseAsync( hash: hash, - workspaceId: workspaceId, policyType: policyType, + workspaceId: workspaceId, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -90,7 +90,7 @@ partial void ProcessGetApiKeyPolicyAssignmentResponseContent( /// Example: c56454edb818d6b14bc0d61c46025f1450b0f4012d12304ab40aacb519fcbc93 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// @@ -102,8 +102,8 @@ partial void ProcessGetApiKeyPolicyAssignmentResponseContent( /// public async global::System.Threading.Tasks.Task> GetApiKeyPolicyAssignmentAsResponseAsync( string hash, - global::System.Guid workspaceId, global::OpenRouter.GetApiKeyPolicyAssignmentPolicyType policyType, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -142,7 +142,7 @@ partial void ProcessGetApiKeyPolicyAssignmentResponseContent( path: $"/guardrails/policies/assignments/api-keys/{hash}", baseUri: HttpClient.BaseAddress ?? new global::System.Uri("https://openrouter.ai/api/v1", global::System.UriKind.RelativeOrAbsolute)); __pathBuilder - .AddRequiredParameter("workspace_id", workspaceId.ToString() ?? throw new global::System.InvalidOperationException("A required query parameter returned null from ToString().")) + .AddOptionalParameter("workspace_id", workspaceId?.ToString()) .AddRequiredParameter("policy_type", policyType.ToValueString()) ; var __path = __pathBuilder.ToString(); diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.GetBudgetPolicy.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.GetBudgetPolicy.g.cs index c611e29ad..32a74d111 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.GetBudgetPolicy.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.GetBudgetPolicy.g.cs @@ -28,12 +28,12 @@ public partial class GuardrailPoliciesClient partial void PrepareGetBudgetPolicyArguments( global::System.Net.Http.HttpClient httpClient, ref global::System.Guid id, - ref global::System.Guid workspaceId); + ref global::System.Guid? workspaceId); partial void PrepareGetBudgetPolicyRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, global::System.Guid id, - global::System.Guid workspaceId); + global::System.Guid? workspaceId); partial void ProcessGetBudgetPolicyResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -52,7 +52,7 @@ partial void ProcessGetBudgetPolicyResponseContent( /// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -60,7 +60,7 @@ partial void ProcessGetBudgetPolicyResponseContent( /// public async global::System.Threading.Tasks.Task GetBudgetPolicyAsync( global::System.Guid id, - global::System.Guid workspaceId, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -82,7 +82,7 @@ partial void ProcessGetBudgetPolicyResponseContent( /// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -90,7 +90,7 @@ partial void ProcessGetBudgetPolicyResponseContent( /// public async global::System.Threading.Tasks.Task> GetBudgetPolicyAsResponseAsync( global::System.Guid id, - global::System.Guid workspaceId, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -128,7 +128,7 @@ partial void ProcessGetBudgetPolicyResponseContent( path: $"/guardrails/policies/budget/{id}", baseUri: HttpClient.BaseAddress ?? new global::System.Uri("https://openrouter.ai/api/v1", global::System.UriKind.RelativeOrAbsolute)); __pathBuilder - .AddRequiredParameter("workspace_id", workspaceId.ToString() ?? throw new global::System.InvalidOperationException("A required query parameter returned null from ToString().")) + .AddOptionalParameter("workspace_id", workspaceId?.ToString()) ; var __path = __pathBuilder.ToString(); __path = global::OpenRouter.AutoSDKRequestOptionsSupport.AppendQueryParameters( diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.GetMemberPolicyAssignment.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.GetMemberPolicyAssignment.g.cs index f24b20cc8..2358a52ee 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.GetMemberPolicyAssignment.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.GetMemberPolicyAssignment.g.cs @@ -28,13 +28,13 @@ public partial class GuardrailPoliciesClient partial void PrepareGetMemberPolicyAssignmentArguments( global::System.Net.Http.HttpClient httpClient, ref string memberId, - ref global::System.Guid workspaceId, + ref global::System.Guid? workspaceId, ref global::OpenRouter.GetMemberPolicyAssignmentPolicyType policyType); partial void PrepareGetMemberPolicyAssignmentRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string memberId, - global::System.Guid workspaceId, + global::System.Guid? workspaceId, global::OpenRouter.GetMemberPolicyAssignmentPolicyType policyType); partial void ProcessGetMemberPolicyAssignmentResponse( global::System.Net.Http.HttpClient httpClient, @@ -54,7 +54,7 @@ partial void ProcessGetMemberPolicyAssignmentResponseContent( /// Example: user_2abcDEFghiJKLmnoPQRstu /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// @@ -66,15 +66,15 @@ partial void ProcessGetMemberPolicyAssignmentResponseContent( /// public async global::System.Threading.Tasks.Task GetMemberPolicyAssignmentAsync( string memberId, - global::System.Guid workspaceId, global::OpenRouter.GetMemberPolicyAssignmentPolicyType policyType, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { var __response = await GetMemberPolicyAssignmentAsResponseAsync( memberId: memberId, - workspaceId: workspaceId, policyType: policyType, + workspaceId: workspaceId, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -90,7 +90,7 @@ partial void ProcessGetMemberPolicyAssignmentResponseContent( /// Example: user_2abcDEFghiJKLmnoPQRstu /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// @@ -102,8 +102,8 @@ partial void ProcessGetMemberPolicyAssignmentResponseContent( /// public async global::System.Threading.Tasks.Task> GetMemberPolicyAssignmentAsResponseAsync( string memberId, - global::System.Guid workspaceId, global::OpenRouter.GetMemberPolicyAssignmentPolicyType policyType, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -142,7 +142,7 @@ partial void ProcessGetMemberPolicyAssignmentResponseContent( path: $"/guardrails/policies/assignments/members/{memberId}", baseUri: HttpClient.BaseAddress ?? new global::System.Uri("https://openrouter.ai/api/v1", global::System.UriKind.RelativeOrAbsolute)); __pathBuilder - .AddRequiredParameter("workspace_id", workspaceId.ToString() ?? throw new global::System.InvalidOperationException("A required query parameter returned null from ToString().")) + .AddOptionalParameter("workspace_id", workspaceId?.ToString()) .AddRequiredParameter("policy_type", policyType.ToValueString()) ; var __path = __pathBuilder.ToString(); diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.GetModelAvailabilityPolicy.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.GetModelAvailabilityPolicy.g.cs index 6a1335eba..d1b731fc9 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.GetModelAvailabilityPolicy.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.GetModelAvailabilityPolicy.g.cs @@ -28,12 +28,12 @@ public partial class GuardrailPoliciesClient partial void PrepareGetModelAvailabilityPolicyArguments( global::System.Net.Http.HttpClient httpClient, ref global::System.Guid id, - ref global::System.Guid workspaceId); + ref global::System.Guid? workspaceId); partial void PrepareGetModelAvailabilityPolicyRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, global::System.Guid id, - global::System.Guid workspaceId); + global::System.Guid? workspaceId); partial void ProcessGetModelAvailabilityPolicyResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -52,7 +52,7 @@ partial void ProcessGetModelAvailabilityPolicyResponseContent( /// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -60,7 +60,7 @@ partial void ProcessGetModelAvailabilityPolicyResponseContent( /// public async global::System.Threading.Tasks.Task GetModelAvailabilityPolicyAsync( global::System.Guid id, - global::System.Guid workspaceId, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -82,7 +82,7 @@ partial void ProcessGetModelAvailabilityPolicyResponseContent( /// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -90,7 +90,7 @@ partial void ProcessGetModelAvailabilityPolicyResponseContent( /// public async global::System.Threading.Tasks.Task> GetModelAvailabilityPolicyAsResponseAsync( global::System.Guid id, - global::System.Guid workspaceId, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -128,7 +128,7 @@ partial void ProcessGetModelAvailabilityPolicyResponseContent( path: $"/guardrails/policies/model-availability/{id}", baseUri: HttpClient.BaseAddress ?? new global::System.Uri("https://openrouter.ai/api/v1", global::System.UriKind.RelativeOrAbsolute)); __pathBuilder - .AddRequiredParameter("workspace_id", workspaceId.ToString() ?? throw new global::System.InvalidOperationException("A required query parameter returned null from ToString().")) + .AddOptionalParameter("workspace_id", workspaceId?.ToString()) ; var __path = __pathBuilder.ToString(); __path = global::OpenRouter.AutoSDKRequestOptionsSupport.AppendQueryParameters( diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.GetModerationPolicy.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.GetModerationPolicy.g.cs index a38ab3d53..30d7cc9e4 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.GetModerationPolicy.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.GetModerationPolicy.g.cs @@ -28,12 +28,12 @@ public partial class GuardrailPoliciesClient partial void PrepareGetModerationPolicyArguments( global::System.Net.Http.HttpClient httpClient, ref global::System.Guid id, - ref global::System.Guid workspaceId); + ref global::System.Guid? workspaceId); partial void PrepareGetModerationPolicyRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, global::System.Guid id, - global::System.Guid workspaceId); + global::System.Guid? workspaceId); partial void ProcessGetModerationPolicyResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -52,7 +52,7 @@ partial void ProcessGetModerationPolicyResponseContent( /// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -60,7 +60,7 @@ partial void ProcessGetModerationPolicyResponseContent( /// public async global::System.Threading.Tasks.Task GetModerationPolicyAsync( global::System.Guid id, - global::System.Guid workspaceId, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -82,7 +82,7 @@ partial void ProcessGetModerationPolicyResponseContent( /// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -90,7 +90,7 @@ partial void ProcessGetModerationPolicyResponseContent( /// public async global::System.Threading.Tasks.Task> GetModerationPolicyAsResponseAsync( global::System.Guid id, - global::System.Guid workspaceId, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -128,7 +128,7 @@ partial void ProcessGetModerationPolicyResponseContent( path: $"/guardrails/policies/moderation/{id}", baseUri: HttpClient.BaseAddress ?? new global::System.Uri("https://openrouter.ai/api/v1", global::System.UriKind.RelativeOrAbsolute)); __pathBuilder - .AddRequiredParameter("workspace_id", workspaceId.ToString() ?? throw new global::System.InvalidOperationException("A required query parameter returned null from ToString().")) + .AddOptionalParameter("workspace_id", workspaceId?.ToString()) ; var __path = __pathBuilder.ToString(); __path = global::OpenRouter.AutoSDKRequestOptionsSupport.AppendQueryParameters( diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.ListBudgetPolicies.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.ListBudgetPolicies.g.cs index 6ab626a94..3a5896a1c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.ListBudgetPolicies.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.ListBudgetPolicies.g.cs @@ -29,13 +29,13 @@ partial void PrepareListBudgetPoliciesArguments( global::System.Net.Http.HttpClient httpClient, ref int? offset, ref int? limit, - ref global::System.Guid workspaceId); + ref global::System.Guid? workspaceId); partial void PrepareListBudgetPoliciesRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int? offset, int? limit, - global::System.Guid workspaceId); + global::System.Guid? workspaceId); partial void ProcessListBudgetPoliciesResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -58,23 +58,23 @@ partial void ProcessListBudgetPoliciesResponseContent( /// Example: 50 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task ListBudgetPoliciesAsync( - global::System.Guid workspaceId, int? offset = default, int? limit = default, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { var __response = await ListBudgetPoliciesAsResponseAsync( - workspaceId: workspaceId, offset: offset, limit: limit, + workspaceId: workspaceId, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -94,16 +94,16 @@ partial void ProcessListBudgetPoliciesResponseContent( /// Example: 50 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ListBudgetPoliciesAsResponseAsync( - global::System.Guid workspaceId, int? offset = default, int? limit = default, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -144,7 +144,7 @@ partial void ProcessListBudgetPoliciesResponseContent( __pathBuilder .AddOptionalParameter("offset", offset?.ToString()) .AddOptionalParameter("limit", limit?.ToString()) - .AddRequiredParameter("workspace_id", workspaceId.ToString() ?? throw new global::System.InvalidOperationException("A required query parameter returned null from ToString().")) + .AddOptionalParameter("workspace_id", workspaceId?.ToString()) ; var __path = __pathBuilder.ToString(); __path = global::OpenRouter.AutoSDKRequestOptionsSupport.AppendQueryParameters( diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.ListModelAvailabilityPolicies.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.ListModelAvailabilityPolicies.g.cs index ddd2d5f5d..56a0d290f 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.ListModelAvailabilityPolicies.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.ListModelAvailabilityPolicies.g.cs @@ -29,13 +29,13 @@ partial void PrepareListModelAvailabilityPoliciesArguments( global::System.Net.Http.HttpClient httpClient, ref int? offset, ref int? limit, - ref global::System.Guid workspaceId); + ref global::System.Guid? workspaceId); partial void PrepareListModelAvailabilityPoliciesRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int? offset, int? limit, - global::System.Guid workspaceId); + global::System.Guid? workspaceId); partial void ProcessListModelAvailabilityPoliciesResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -58,23 +58,23 @@ partial void ProcessListModelAvailabilityPoliciesResponseContent( /// Example: 50 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task ListModelAvailabilityPoliciesAsync( - global::System.Guid workspaceId, int? offset = default, int? limit = default, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { var __response = await ListModelAvailabilityPoliciesAsResponseAsync( - workspaceId: workspaceId, offset: offset, limit: limit, + workspaceId: workspaceId, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -94,16 +94,16 @@ partial void ProcessListModelAvailabilityPoliciesResponseContent( /// Example: 50 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ListModelAvailabilityPoliciesAsResponseAsync( - global::System.Guid workspaceId, int? offset = default, int? limit = default, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -144,7 +144,7 @@ partial void ProcessListModelAvailabilityPoliciesResponseContent( __pathBuilder .AddOptionalParameter("offset", offset?.ToString()) .AddOptionalParameter("limit", limit?.ToString()) - .AddRequiredParameter("workspace_id", workspaceId.ToString() ?? throw new global::System.InvalidOperationException("A required query parameter returned null from ToString().")) + .AddOptionalParameter("workspace_id", workspaceId?.ToString()) ; var __path = __pathBuilder.ToString(); __path = global::OpenRouter.AutoSDKRequestOptionsSupport.AppendQueryParameters( diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.ListModerationPolicies.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.ListModerationPolicies.g.cs index 0189dc378..76c11647f 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.ListModerationPolicies.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.ListModerationPolicies.g.cs @@ -29,13 +29,13 @@ partial void PrepareListModerationPoliciesArguments( global::System.Net.Http.HttpClient httpClient, ref int? offset, ref int? limit, - ref global::System.Guid workspaceId); + ref global::System.Guid? workspaceId); partial void PrepareListModerationPoliciesRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int? offset, int? limit, - global::System.Guid workspaceId); + global::System.Guid? workspaceId); partial void ProcessListModerationPoliciesResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -58,23 +58,23 @@ partial void ProcessListModerationPoliciesResponseContent( /// Example: 50 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task ListModerationPoliciesAsync( - global::System.Guid workspaceId, int? offset = default, int? limit = default, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { var __response = await ListModerationPoliciesAsResponseAsync( - workspaceId: workspaceId, offset: offset, limit: limit, + workspaceId: workspaceId, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -94,16 +94,16 @@ partial void ProcessListModerationPoliciesResponseContent( /// Example: 50 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ListModerationPoliciesAsResponseAsync( - global::System.Guid workspaceId, int? offset = default, int? limit = default, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -144,7 +144,7 @@ partial void ProcessListModerationPoliciesResponseContent( __pathBuilder .AddOptionalParameter("offset", offset?.ToString()) .AddOptionalParameter("limit", limit?.ToString()) - .AddRequiredParameter("workspace_id", workspaceId.ToString() ?? throw new global::System.InvalidOperationException("A required query parameter returned null from ToString().")) + .AddOptionalParameter("workspace_id", workspaceId?.ToString()) ; var __path = __pathBuilder.ToString(); __path = global::OpenRouter.AutoSDKRequestOptionsSupport.AppendQueryParameters( diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.UpdateBudgetPolicy.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.UpdateBudgetPolicy.g.cs index 98dd8b866..ee1c37c10 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.UpdateBudgetPolicy.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.UpdateBudgetPolicy.g.cs @@ -705,7 +705,7 @@ partial void ProcessUpdateBudgetPolicyResponseContent( /// Example: [user_2abcDEFghiJKLmnoPQRstu] /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -715,12 +715,12 @@ partial void ProcessUpdateBudgetPolicyResponseContent( global::System.Guid id, global::OpenRouter.GuardrailBudgetPolicyAuthoringConfig config, string name, - global::System.Guid workspaceId, global::System.Collections.Generic.IList? apiKeyHashes = default, bool? isWorkspaceDefault = default, global::System.Collections.Generic.IList? memberIds = default, global::System.Collections.Generic.IList? optedOutApiKeyHashes = default, global::System.Collections.Generic.IList? optedOutMemberIds = default, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.UpdateModelAvailabilityPolicy.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.UpdateModelAvailabilityPolicy.g.cs index 5a5f316cd..5e5182fc0 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.UpdateModelAvailabilityPolicy.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.UpdateModelAvailabilityPolicy.g.cs @@ -705,7 +705,7 @@ partial void ProcessUpdateModelAvailabilityPolicyResponseContent( /// Example: [user_2abcDEFghiJKLmnoPQRstu] /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -715,12 +715,12 @@ partial void ProcessUpdateModelAvailabilityPolicyResponseContent( global::System.Guid id, global::OpenRouter.GuardrailModelAvailabilityPolicyAuthoringConfig config, string name, - global::System.Guid workspaceId, global::System.Collections.Generic.IList? apiKeyHashes = default, bool? isWorkspaceDefault = default, global::System.Collections.Generic.IList? memberIds = default, global::System.Collections.Generic.IList? optedOutApiKeyHashes = default, global::System.Collections.Generic.IList? optedOutMemberIds = default, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.UpdateModerationPolicy.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.UpdateModerationPolicy.g.cs index 8e8cafa6f..fe2f1e3a9 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.UpdateModerationPolicy.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailPoliciesClient.UpdateModerationPolicy.g.cs @@ -705,7 +705,7 @@ partial void ProcessUpdateModerationPolicyResponseContent( /// Example: [user_2abcDEFghiJKLmnoPQRstu] /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -715,12 +715,12 @@ partial void ProcessUpdateModerationPolicyResponseContent( global::System.Guid id, global::OpenRouter.GuardrailModerationPolicyConfig config, string name, - global::System.Guid workspaceId, global::System.Collections.Generic.IList? apiKeyHashes = default, bool? isWorkspaceDefault = default, global::System.Collections.Generic.IList? memberIds = default, global::System.Collections.Generic.IList? optedOutApiKeyHashes = default, global::System.Collections.Generic.IList? optedOutMemberIds = default, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.BulkAssignKeys.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.BulkAssignKeys.g.cs index 70971614e..6bc1611da 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.BulkAssignKeys.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.BulkAssignKeys.g.cs @@ -45,7 +45,7 @@ partial void ProcessBulkAssignKeysResponseContent( /// /// Bulk assign keys to a guardrail
- /// Assign multiple API keys to a specific guardrail. A key may hold at most one guardrail; assigning replaces any existing assignment. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Assign multiple API keys to a specific guardrail. A key may hold at most one guardrail; assigning replaces any existing assignment. A workspace-scoped management key reaches only guardrails in its own workspace (any other returns 404), and a batch naming an unknown or out-of-workspace key hash is rejected with 400 before anything changes. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail
@@ -74,7 +74,7 @@ partial void ProcessBulkAssignKeysResponseContent( } /// /// Bulk assign keys to a guardrail
- /// Assign multiple API keys to a specific guardrail. A key may hold at most one guardrail; assigning replaces any existing assignment. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Assign multiple API keys to a specific guardrail. A key may hold at most one guardrail; assigning replaces any existing assignment. A workspace-scoped management key reaches only guardrails in its own workspace (any other returns 404), and a batch naming an unknown or out-of-workspace key hash is rejected with 400 before anything changes. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail
@@ -635,7 +635,7 @@ partial void ProcessBulkAssignKeysResponseContent( } /// /// Bulk assign keys to a guardrail
- /// Assign multiple API keys to a specific guardrail. A key may hold at most one guardrail; assigning replaces any existing assignment. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Assign multiple API keys to a specific guardrail. A key may hold at most one guardrail; assigning replaces any existing assignment. A workspace-scoped management key reaches only guardrails in its own workspace (any other returns 404), and a batch naming an unknown or out-of-workspace key hash is rejected with 400 before anything changes. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.BulkAssignMembers.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.BulkAssignMembers.g.cs index 4e6b4ae61..b48ef8ce6 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.BulkAssignMembers.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.BulkAssignMembers.g.cs @@ -45,7 +45,7 @@ partial void ProcessBulkAssignMembersResponseContent( /// /// Bulk assign members to a guardrail
- /// Assign multiple organization members to a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Assign multiple organization members to a specific guardrail. Requires an organization-scoped management key; workspace-scoped management keys return 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail
@@ -74,7 +74,7 @@ partial void ProcessBulkAssignMembersResponseContent( } /// /// Bulk assign members to a guardrail
- /// Assign multiple organization members to a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Assign multiple organization members to a specific guardrail. Requires an organization-scoped management key; workspace-scoped management keys return 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail
@@ -635,7 +635,7 @@ partial void ProcessBulkAssignMembersResponseContent( } /// /// Bulk assign members to a guardrail
- /// Assign multiple organization members to a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Assign multiple organization members to a specific guardrail. Requires an organization-scoped management key; workspace-scoped management keys return 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.BulkUnassignKeys.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.BulkUnassignKeys.g.cs index d16785768..95fdc2ea7 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.BulkUnassignKeys.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.BulkUnassignKeys.g.cs @@ -45,7 +45,7 @@ partial void ProcessBulkUnassignKeysResponseContent( /// /// Bulk unassign keys from a guardrail
- /// Unassign multiple API keys from a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Unassign multiple API keys from a specific guardrail. A workspace-scoped management key reaches only guardrails in its own workspace (any other returns 404), and a batch naming an unknown or out-of-workspace key hash is rejected with 400 before anything changes. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail
@@ -74,7 +74,7 @@ partial void ProcessBulkUnassignKeysResponseContent( } /// /// Bulk unassign keys from a guardrail
- /// Unassign multiple API keys from a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Unassign multiple API keys from a specific guardrail. A workspace-scoped management key reaches only guardrails in its own workspace (any other returns 404), and a batch naming an unknown or out-of-workspace key hash is rejected with 400 before anything changes. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail
@@ -635,7 +635,7 @@ partial void ProcessBulkUnassignKeysResponseContent( } /// /// Bulk unassign keys from a guardrail
- /// Unassign multiple API keys from a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Unassign multiple API keys from a specific guardrail. A workspace-scoped management key reaches only guardrails in its own workspace (any other returns 404), and a batch naming an unknown or out-of-workspace key hash is rejected with 400 before anything changes. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.BulkUnassignMembers.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.BulkUnassignMembers.g.cs index 66239a1ee..eb0dd17ed 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.BulkUnassignMembers.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.BulkUnassignMembers.g.cs @@ -45,7 +45,7 @@ partial void ProcessBulkUnassignMembersResponseContent( /// /// Bulk unassign members from a guardrail
- /// Unassign multiple organization members from a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Unassign multiple organization members from a specific guardrail. Requires an organization-scoped management key; workspace-scoped management keys return 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail
@@ -74,7 +74,7 @@ partial void ProcessBulkUnassignMembersResponseContent( } /// /// Bulk unassign members from a guardrail
- /// Unassign multiple organization members from a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Unassign multiple organization members from a specific guardrail. Requires an organization-scoped management key; workspace-scoped management keys return 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail
@@ -635,7 +635,7 @@ partial void ProcessBulkUnassignMembersResponseContent( } /// /// Bulk unassign members from a guardrail
- /// Unassign multiple organization members from a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Unassign multiple organization members from a specific guardrail. Requires an organization-scoped management key; workspace-scoped management keys return 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Create.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Create.g.cs index f0010166f..a545e825b 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Create.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Create.g.cs @@ -45,7 +45,7 @@ partial void ProcessCreateResponseContent( /// /// Create a guardrail
- /// Create a new guardrail for the authenticated user. A newly created guardrail enforces nothing until it is assigned to API keys or organization members; `workspace_id` places the guardrail in a workspace but does not apply it to that workspace's traffic. To restrict all traffic in a workspace, update the workspace's default guardrail instead. Set `allowed_data_regions` to enforce [In-Region Routing](/docs/guides/features/in-region-routing#enforcing-in-region-routing-with-guardrails): governed requests must arrive through one of the listed OpenRouter domains and are rejected with a 403 otherwise. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Create a new guardrail for the authenticated user. A newly created guardrail enforces nothing until it is assigned to API keys or organization members; `workspace_id` places the guardrail in a workspace but does not apply it to that workspace's traffic. To restrict all traffic in a workspace, update the workspace's default guardrail instead. Set `allowed_data_regions` to enforce [In-Region Routing](/docs/guides/features/in-region-routing#enforcing-in-region-routing-with-guardrails): governed requests must arrive through one of the listed OpenRouter domains and are rejected with a 403 otherwise. A workspace-scoped management key creates in its own workspace, which `workspace_id` defaults to; naming another workspace returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -68,7 +68,7 @@ partial void ProcessCreateResponseContent( } /// /// Create a guardrail
- /// Create a new guardrail for the authenticated user. A newly created guardrail enforces nothing until it is assigned to API keys or organization members; `workspace_id` places the guardrail in a workspace but does not apply it to that workspace's traffic. To restrict all traffic in a workspace, update the workspace's default guardrail instead. Set `allowed_data_regions` to enforce [In-Region Routing](/docs/guides/features/in-region-routing#enforcing-in-region-routing-with-guardrails): governed requests must arrive through one of the listed OpenRouter domains and are rejected with a 403 otherwise. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Create a new guardrail for the authenticated user. A newly created guardrail enforces nothing until it is assigned to API keys or organization members; `workspace_id` places the guardrail in a workspace but does not apply it to that workspace's traffic. To restrict all traffic in a workspace, update the workspace's default guardrail instead. Set `allowed_data_regions` to enforce [In-Region Routing](/docs/guides/features/in-region-routing#enforcing-in-region-routing-with-guardrails): governed requests must arrive through one of the listed OpenRouter domains and are rejected with a 403 otherwise. A workspace-scoped management key creates in its own workspace, which `workspace_id` defaults to; naming another workspace returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -585,7 +585,7 @@ partial void ProcessCreateResponseContent( } /// /// Create a guardrail
- /// Create a new guardrail for the authenticated user. A newly created guardrail enforces nothing until it is assigned to API keys or organization members; `workspace_id` places the guardrail in a workspace but does not apply it to that workspace's traffic. To restrict all traffic in a workspace, update the workspace's default guardrail instead. Set `allowed_data_regions` to enforce [In-Region Routing](/docs/guides/features/in-region-routing#enforcing-in-region-routing-with-guardrails): governed requests must arrive through one of the listed OpenRouter domains and are rejected with a 403 otherwise. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Create a new guardrail for the authenticated user. A newly created guardrail enforces nothing until it is assigned to API keys or organization members; `workspace_id` places the guardrail in a workspace but does not apply it to that workspace's traffic. To restrict all traffic in a workspace, update the workspace's default guardrail instead. Set `allowed_data_regions` to enforce [In-Region Routing](/docs/guides/features/in-region-routing#enforcing-in-region-routing-with-guardrails): governed requests must arrive through one of the listed OpenRouter domains and are rejected with a 403 otherwise. A workspace-scoped management key creates in its own workspace, which `workspace_id` defaults to; naming another workspace returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Whether ZDR-only requests to google/* models may also use Safety Retention endpoints, which may retain prompts and responses from any request, only to prevent abuse, and do not use them for training. false allows only ZDR endpoints. A guardrail can only be more restrictive than the account setting. Inherits the account setting when not provided.
@@ -680,7 +680,7 @@ partial void ProcessCreateResponseContent( /// Example: monthly /// /// - /// The workspace to create the guardrail in. When omitted, the guardrail is created in the default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly. This only places the guardrail in the workspace; the created guardrail enforces nothing for that workspace's traffic until it is assigned to API keys or members. To restrict all traffic in a workspace, update the workspace's default guardrail instead.
+ /// The workspace to create the guardrail in. When omitted, an organization management key creates the guardrail in the default workspace (a 400 if that default has been deleted, so pass `workspace_id` explicitly) and a workspace-scoped key creates it in its own workspace. A workspace-scoped key gets a 403 for any other workspace. This only places the guardrail in the workspace; the created guardrail enforces nothing for that workspace's traffic until it is assigned to API keys or members. To restrict all traffic in a workspace, update the workspace's default guardrail instead.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Delete.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Delete.g.cs index bf91ef360..67d3673a5 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Delete.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Delete.g.cs @@ -43,7 +43,7 @@ partial void ProcessDeleteResponseContent( /// /// Delete a guardrail
- /// Delete an existing guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Delete an existing guardrail. A workspace-scoped management key reaches only guardrails in its own workspace; any other guardrail returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail to delete
@@ -67,7 +67,7 @@ partial void ProcessDeleteResponseContent( } /// /// Delete a guardrail
- /// Delete an existing guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Delete an existing guardrail. A workspace-scoped management key reaches only guardrails in its own workspace; any other guardrail returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail to delete
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Get.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Get.g.cs index f28ca70ce..8b9fe4af9 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Get.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Get.g.cs @@ -43,7 +43,7 @@ partial void ProcessGetResponseContent( /// /// Get a guardrail
- /// Get a single guardrail by ID. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Get a single guardrail by ID. A workspace-scoped management key reaches only guardrails in its own workspace; any other guardrail returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail to retrieve
@@ -67,7 +67,7 @@ partial void ProcessGetResponseContent( } /// /// Get a guardrail
- /// Get a single guardrail by ID. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Get a single guardrail by ID. A workspace-scoped management key reaches only guardrails in its own workspace; any other guardrail returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail to retrieve
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.List.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.List.g.cs index b1f12c325..3061a2602 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.List.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.List.g.cs @@ -47,7 +47,7 @@ partial void ProcessListResponseContent( /// /// List guardrails
- /// List all guardrails for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// List all guardrails for the authenticated user. A workspace-scoped management key lists only its own workspace, which `workspace_id` defaults to; naming another workspace returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Number of records to skip for pagination
@@ -60,7 +60,7 @@ partial void ProcessListResponseContent( /// Example: 50 /// /// - /// Filter guardrails by workspace ID. By default, guardrails in the default workspace are returned.
+ /// Filter guardrails by workspace ID. When omitted, an organization management key gets guardrails in the default workspace and a workspace-scoped key gets guardrails in its own workspace. A workspace-scoped key gets 403 for any other workspace.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -85,7 +85,7 @@ partial void ProcessListResponseContent( } /// /// List guardrails
- /// List all guardrails for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// List all guardrails for the authenticated user. A workspace-scoped management key lists only its own workspace, which `workspace_id` defaults to; naming another workspace returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Number of records to skip for pagination
@@ -98,7 +98,7 @@ partial void ProcessListResponseContent( /// Example: 50 /// /// - /// Filter guardrails by workspace ID. By default, guardrails in the default workspace are returned.
+ /// Filter guardrails by workspace ID. When omitted, an organization management key gets guardrails in the default workspace and a workspace-scoped key gets guardrails in its own workspace. A workspace-scoped key gets 403 for any other workspace.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.ListGuardrailKeyAssignments.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.ListGuardrailKeyAssignments.g.cs index c0cc0a4d3..a725c0e67 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.ListGuardrailKeyAssignments.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.ListGuardrailKeyAssignments.g.cs @@ -47,7 +47,7 @@ partial void ProcessListGuardrailKeyAssignmentsResponseContent( /// /// List key assignments for a guardrail
- /// List all API key assignments for a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// List all API key assignments for a specific guardrail. A workspace-scoped management key reaches only guardrails in its own workspace; any other guardrail returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail
@@ -85,7 +85,7 @@ partial void ProcessListGuardrailKeyAssignmentsResponseContent( } /// /// List key assignments for a guardrail
- /// List all API key assignments for a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// List all API key assignments for a specific guardrail. A workspace-scoped management key reaches only guardrails in its own workspace; any other guardrail returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.ListGuardrailMemberAssignments.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.ListGuardrailMemberAssignments.g.cs index 590926a0e..dbae288c2 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.ListGuardrailMemberAssignments.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.ListGuardrailMemberAssignments.g.cs @@ -47,7 +47,7 @@ partial void ProcessListGuardrailMemberAssignmentsResponseContent( /// /// List member assignments for a guardrail
- /// List all organization member assignments for a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// List all organization member assignments for a specific guardrail. A workspace-scoped management key reaches only guardrails in its own workspace; any other guardrail returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail
@@ -85,7 +85,7 @@ partial void ProcessListGuardrailMemberAssignmentsResponseContent( } /// /// List member assignments for a guardrail
- /// List all organization member assignments for a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// List all organization member assignments for a specific guardrail. A workspace-scoped management key reaches only guardrails in its own workspace; any other guardrail returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.ListKeyAssignments.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.ListKeyAssignments.g.cs index a263dc028..e78c30d89 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.ListKeyAssignments.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.ListKeyAssignments.g.cs @@ -28,12 +28,14 @@ public partial class GuardrailsClient partial void PrepareListKeyAssignmentsArguments( global::System.Net.Http.HttpClient httpClient, ref int? offset, - ref int? limit); + ref int? limit, + ref global::System.Guid? workspaceId); partial void PrepareListKeyAssignmentsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int? offset, - int? limit); + int? limit, + global::System.Guid? workspaceId); partial void ProcessListKeyAssignmentsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -45,7 +47,7 @@ partial void ProcessListKeyAssignmentsResponseContent( /// /// List all key assignments
- /// List all API key guardrail assignments for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// List all API key guardrail assignments for the authenticated user. A workspace-scoped management key lists only its own workspace, which `workspace_id` defaults to; naming another workspace returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Number of records to skip for pagination
@@ -57,18 +59,24 @@ partial void ProcessListKeyAssignmentsResponseContent( /// Default Value: 50
/// Example: 50 /// + /// + /// Only list assignments of guardrails in this workspace. When omitted, an organization management key lists every workspace and a workspace-scoped key lists its own workspace. A workspace-scoped key gets 403 for any other workspace.
+ /// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task ListKeyAssignmentsAsync( int? offset = default, int? limit = default, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { var __response = await ListKeyAssignmentsAsResponseAsync( offset: offset, limit: limit, + workspaceId: workspaceId, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -77,7 +85,7 @@ partial void ProcessListKeyAssignmentsResponseContent( } /// /// List all key assignments
- /// List all API key guardrail assignments for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// List all API key guardrail assignments for the authenticated user. A workspace-scoped management key lists only its own workspace, which `workspace_id` defaults to; naming another workspace returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Number of records to skip for pagination
@@ -89,12 +97,17 @@ partial void ProcessListKeyAssignmentsResponseContent( /// Default Value: 50
/// Example: 50 /// + /// + /// Only list assignments of guardrails in this workspace. When omitted, an organization management key lists every workspace and a workspace-scoped key lists its own workspace. A workspace-scoped key gets 403 for any other workspace.
+ /// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ListKeyAssignmentsAsResponseAsync( int? offset = default, int? limit = default, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -103,7 +116,8 @@ partial void ProcessListKeyAssignmentsResponseContent( PrepareListKeyAssignmentsArguments( httpClient: HttpClient, offset: ref offset, - limit: ref limit); + limit: ref limit, + workspaceId: ref workspaceId); var __authorizations = global::OpenRouter.EndPointSecurityResolver.ResolveAuthorizations( @@ -134,6 +148,7 @@ partial void ProcessListKeyAssignmentsResponseContent( __pathBuilder .AddOptionalParameter("offset", offset?.ToString()) .AddOptionalParameter("limit", limit?.ToString()) + .AddOptionalParameter("workspace_id", workspaceId?.ToString()) ; var __path = __pathBuilder.ToString(); __path = global::OpenRouter.AutoSDKRequestOptionsSupport.AppendQueryParameters( @@ -176,7 +191,8 @@ partial void ProcessListKeyAssignmentsResponseContent( httpClient: HttpClient, httpRequestMessage: __httpRequest, offset: offset, - limit: limit); + limit: limit, + workspaceId: workspaceId); return __httpRequest; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.ListMemberAssignments.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.ListMemberAssignments.g.cs index c73ec9f86..846339dbf 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.ListMemberAssignments.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.ListMemberAssignments.g.cs @@ -28,12 +28,14 @@ public partial class GuardrailsClient partial void PrepareListMemberAssignmentsArguments( global::System.Net.Http.HttpClient httpClient, ref int? offset, - ref int? limit); + ref int? limit, + ref global::System.Guid? workspaceId); partial void PrepareListMemberAssignmentsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int? offset, - int? limit); + int? limit, + global::System.Guid? workspaceId); partial void ProcessListMemberAssignmentsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -45,7 +47,7 @@ partial void ProcessListMemberAssignmentsResponseContent( /// /// List all member assignments
- /// List all organization member guardrail assignments for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// List all organization member guardrail assignments for the authenticated user. A workspace-scoped management key lists only its own workspace, which `workspace_id` defaults to; naming another workspace returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Number of records to skip for pagination
@@ -57,18 +59,24 @@ partial void ProcessListMemberAssignmentsResponseContent( /// Default Value: 50
/// Example: 50 /// + /// + /// Only list assignments of guardrails in this workspace. When omitted, an organization management key lists every workspace and a workspace-scoped key lists its own workspace. A workspace-scoped key gets 403 for any other workspace.
+ /// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task ListMemberAssignmentsAsync( int? offset = default, int? limit = default, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { var __response = await ListMemberAssignmentsAsResponseAsync( offset: offset, limit: limit, + workspaceId: workspaceId, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -77,7 +85,7 @@ partial void ProcessListMemberAssignmentsResponseContent( } /// /// List all member assignments
- /// List all organization member guardrail assignments for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// List all organization member guardrail assignments for the authenticated user. A workspace-scoped management key lists only its own workspace, which `workspace_id` defaults to; naming another workspace returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Number of records to skip for pagination
@@ -89,12 +97,17 @@ partial void ProcessListMemberAssignmentsResponseContent( /// Default Value: 50
/// Example: 50 /// + /// + /// Only list assignments of guardrails in this workspace. When omitted, an organization management key lists every workspace and a workspace-scoped key lists its own workspace. A workspace-scoped key gets 403 for any other workspace.
+ /// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ListMemberAssignmentsAsResponseAsync( int? offset = default, int? limit = default, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -103,7 +116,8 @@ partial void ProcessListMemberAssignmentsResponseContent( PrepareListMemberAssignmentsArguments( httpClient: HttpClient, offset: ref offset, - limit: ref limit); + limit: ref limit, + workspaceId: ref workspaceId); var __authorizations = global::OpenRouter.EndPointSecurityResolver.ResolveAuthorizations( @@ -134,6 +148,7 @@ partial void ProcessListMemberAssignmentsResponseContent( __pathBuilder .AddOptionalParameter("offset", offset?.ToString()) .AddOptionalParameter("limit", limit?.ToString()) + .AddOptionalParameter("workspace_id", workspaceId?.ToString()) ; var __path = __pathBuilder.ToString(); __path = global::OpenRouter.AutoSDKRequestOptionsSupport.AppendQueryParameters( @@ -176,7 +191,8 @@ partial void ProcessListMemberAssignmentsResponseContent( httpClient: HttpClient, httpRequestMessage: __httpRequest, offset: offset, - limit: limit); + limit: limit, + workspaceId: workspaceId); return __httpRequest; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Update.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Update.g.cs index b96922c7c..4a682e64e 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Update.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Update.g.cs @@ -47,7 +47,7 @@ partial void ProcessUpdateResponseContent( /// /// Update a guardrail
- /// Update an existing guardrail, or materialize an unconfigured workspace default guardrail. Collection fields use replace semantics: send the full desired set on every update. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Update an existing guardrail, or materialize an unconfigured workspace default guardrail. Collection fields use replace semantics: send the full desired set on every update. A workspace-scoped management key reaches only guardrails in its own workspace; any other guardrail returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail to update
@@ -76,7 +76,7 @@ partial void ProcessUpdateResponseContent( } /// /// Update a guardrail
- /// Update an existing guardrail, or materialize an unconfigured workspace default guardrail. Collection fields use replace semantics: send the full desired set on every update. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Update an existing guardrail, or materialize an unconfigured workspace default guardrail. Collection fields use replace semantics: send the full desired set on every update. A workspace-scoped management key reaches only guardrails in its own workspace; any other guardrail returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail to update
@@ -674,7 +674,7 @@ partial void ProcessUpdateResponseContent( } /// /// Update a guardrail
- /// Update an existing guardrail, or materialize an unconfigured workspace default guardrail. Collection fields use replace semantics: send the full desired set on every update. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Update an existing guardrail, or materialize an unconfigured workspace default guardrail. Collection fields use replace semantics: send the full desired set on every update. A workspace-scoped management key reaches only guardrails in its own workspace; any other guardrail returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail to update
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IAlphaExtractionsClient.Create.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IAlphaExtractionsClient.Create.g.cs index 198fbd707..ae07ccb9c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IAlphaExtractionsClient.Create.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IAlphaExtractionsClient.Create.g.cs @@ -35,7 +35,7 @@ public partial interface IAlphaExtractionsClient /// Extracts, computes, estimates or forecasts typed fields from a state string and image assets using an extraction-style System One model. Alpha: the shape is not stable. /// /// - /// Assets keyed by reference string. Write a reference wherever the asset belongs in `state` or a field `instructions`; every asset must be referenced at least once. A `state` that is exactly the sole asset's key carries no text of its own and is read as file-only. A model that reads either text or a document per request, not both (ScaleDown Extract with a PDF), needs that form: any other text around the key is state text and is rejected with 400. + /// Assets keyed by reference string. Write a reference wherever the asset belongs in `state` or a field `instructions`; every asset must be referenced at least once, unless `state` is empty or omitted, in which case the assets are read without a reference. A `state` that is exactly the sole asset's key carries no text of its own and is read as file-only. A model that reads either text or a document per request, not both (ScaleDown Extract with a PDF), takes that form or an empty or omitted `state`: any other text around the key is state text and is rejected with 400. /// /// /// Map of field name to typed field spec. @@ -50,7 +50,7 @@ public partial interface IAlphaExtractionsClient /// Example: session-1234 /// /// - /// The text to read from. May be empty only when the request carries image assets. + /// The text to read from. May be empty or omitted only when the request carries assets, which are then read without being referenced by key. /// /// /// Metadata for observability and tracing. Known keys (trace_id, trace_name, span_name, generation_name, parent_span_id) have special handling. Additional keys are passed through as custom metadata to configured broadcast destinations.
@@ -63,11 +63,11 @@ public partial interface IAlphaExtractionsClient global::System.Threading.Tasks.Task CreateAsync( object fields, string model, - string state, global::System.Collections.Generic.Dictionary? assets = default, global::OpenRouter.AllOf? provider = default, string? referenceDate = default, string? sessionId = default, + string? state = default, global::OpenRouter.TraceConfig? trace = default, string? user = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IAnalyticsClient.GetAnalyticsMeta.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IAnalyticsClient.GetAnalyticsMeta.g.cs index 766086737..014732c20 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IAnalyticsClient.GetAnalyticsMeta.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IAnalyticsClient.GetAnalyticsMeta.g.cs @@ -6,7 +6,7 @@ public partial interface IAnalyticsClient { /// /// Get available analytics metrics and dimensions
- /// Returns the available metrics, dimensions, filter operators, and granularities for the analytics query endpoint. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Returns the available metrics, dimensions, filter operators, and granularities for the analytics query endpoint. Workspace-scoped management keys are accepted. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -16,7 +16,7 @@ public partial interface IAnalyticsClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Get available analytics metrics and dimensions
- /// Returns the available metrics, dimensions, filter operators, and granularities for the analytics query endpoint. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Returns the available metrics, dimensions, filter operators, and granularities for the analytics query endpoint. Workspace-scoped management keys are accepted. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IAnalyticsClient.GetUserActivity.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IAnalyticsClient.GetUserActivity.g.cs index 8b06352ea..1cecefa73 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IAnalyticsClient.GetUserActivity.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IAnalyticsClient.GetUserActivity.g.cs @@ -6,7 +6,7 @@ public partial interface IAnalyticsClient { /// /// Get user activity grouped by endpoint
- /// Returns user activity data grouped by endpoint for the last 30 (completed) UTC days. Pass `workspace_id` to scope the response to a single workspace. Pass `group_by=workspace` to split each row per workspace and include `workspace_id` on every item; by default rows are aggregated across workspaces and `workspace_id` is not returned. Activity recorded before workspace resolution existed is permanently attributed to the account default workspace (no backfill is possible). [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Returns user activity data grouped by endpoint for the last 30 (completed) UTC days. Pass `workspace_id` to scope the response to a single workspace. Pass `group_by=workspace` to split each row per workspace and include `workspace_id` on every item; by default rows are aggregated across workspaces and `workspace_id` is not returned. Activity recorded before workspace resolution existed is permanently attributed to the account default workspace (no backfill is possible). A workspace-scoped management key needs `activity:view_all` on its own workspace and reads only that workspace: an omitted `workspace_id` defaults to it, a `workspace_id` naming any other workspace returns 403, `api_key_hash` and `user_id` resolve only keys and members of that workspace, and legacy activity with no workspace is excluded (including for the default workspace). [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Filter by a single UTC date in the last 30 days (YYYY-MM-DD format).
@@ -41,7 +41,7 @@ public partial interface IAnalyticsClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Get user activity grouped by endpoint
- /// Returns user activity data grouped by endpoint for the last 30 (completed) UTC days. Pass `workspace_id` to scope the response to a single workspace. Pass `group_by=workspace` to split each row per workspace and include `workspace_id` on every item; by default rows are aggregated across workspaces and `workspace_id` is not returned. Activity recorded before workspace resolution existed is permanently attributed to the account default workspace (no backfill is possible). [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Returns user activity data grouped by endpoint for the last 30 (completed) UTC days. Pass `workspace_id` to scope the response to a single workspace. Pass `group_by=workspace` to split each row per workspace and include `workspace_id` on every item; by default rows are aggregated across workspaces and `workspace_id` is not returned. Activity recorded before workspace resolution existed is permanently attributed to the account default workspace (no backfill is possible). A workspace-scoped management key needs `activity:view_all` on its own workspace and reads only that workspace: an omitted `workspace_id` defaults to it, a `workspace_id` naming any other workspace returns 403, `api_key_hash` and `user_id` resolve only keys and members of that workspace, and legacy activity with no workspace is excluded (including for the default workspace). [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Filter by a single UTC date in the last 30 days (YYYY-MM-DD format).
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IAnalyticsClient.QueryAnalytics.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IAnalyticsClient.QueryAnalytics.g.cs index 5bcf5954c..92e48ae20 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IAnalyticsClient.QueryAnalytics.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IAnalyticsClient.QueryAnalytics.g.cs @@ -6,7 +6,7 @@ public partial interface IAnalyticsClient { /// /// Query analytics data
- /// Execute an analytics query with specified metrics, dimensions, filters, and time range. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Execute an analytics query with specified metrics, dimensions, filters, and time range. A workspace-scoped management key needs `activity:view_all` on its own workspace and reads only that workspace: it is refused a `workspace` filter naming another workspace, it excludes legacy rows with no workspace (including for the default workspace), and possible-cache metrics such as `possible_cached_tokens` return 400. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -19,7 +19,7 @@ public partial interface IAnalyticsClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Query analytics data
- /// Execute an analytics query with specified metrics, dimensions, filters, and time range. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Execute an analytics query with specified metrics, dimensions, filters, and time range. A workspace-scoped management key needs `activity:view_all` on its own workspace and reads only that workspace: it is refused a `workspace` filter naming another workspace, it excludes legacy rows with no workspace (including for the default workspace), and possible-cache metrics such as `possible_cached_tokens` return 400. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -32,7 +32,7 @@ public partial interface IAnalyticsClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Query analytics data
- /// Execute an analytics query with specified metrics, dimensions, filters, and time range. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Execute an analytics query with specified metrics, dimensions, filters, and time range. A workspace-scoped management key needs `activity:view_all` on its own workspace and reads only that workspace: it is refused a `workspace` filter naming another workspace, it excludes legacy rows with no workspace (including for the default workspace), and possible-cache metrics such as `possible_cached_tokens` return 400. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Group results by custom classifier tags, breaking down metrics by the specified dimension values. Requires an active classifier on the workspace. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IApiKeysClient.Update.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IApiKeysClient.Update.g.cs index a6fe23f99..737b284c9 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IApiKeysClient.Update.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IApiKeysClient.Update.g.cs @@ -81,7 +81,7 @@ public partial interface IApiKeysClient /// Example: Updated API Key Name /// /// - /// Move the API key to this workspace. The key keeps its value; guardrail selections move with it, while other workspace-scoped settings (presets, BYOK keys, broadcast destinations, routing rules) do not. Sending the key's current workspace is a no-op.
+ /// Move the API key to this workspace. The key keeps its value; guardrail selections move with it, except direct guardrail assignments owned by the key's current workspace, which are removed along with the selections derived from them, while other workspace-scoped settings (presets, BYOK keys, broadcast destinations, routing rules) do not. Sending the key's current workspace is a no-op.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.Create.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.Create.g.cs index 8c6642c21..003a09df7 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.Create.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.Create.g.cs @@ -6,7 +6,7 @@ public partial interface IByokClient { /// /// Create a BYOK provider credential
- /// Create a new bring-your-own-key (BYOK) provider credential. The raw key is encrypted at rest and never returned in API responses. When `workspace_id` is omitted, the credential is created in the default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly. Treat the raw key as write-only; it is never returned after creation. Use `allowed_api_key_hashes` to restrict the credential to specific OpenRouter API keys. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Create a new bring-your-own-key (BYOK) provider credential. The raw key is encrypted at rest and never returned in API responses. When `workspace_id` is omitted, the credential is created in the default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly. A workspace-scoped management key creates the credential in its own workspace when `workspace_id` is omitted, and any other `workspace_id` returns 403. Treat the raw key as write-only; it is never returned after creation. Use `allowed_api_key_hashes` to restrict the credential to specific OpenRouter API keys. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -19,7 +19,7 @@ public partial interface IByokClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Create a BYOK provider credential
- /// Create a new bring-your-own-key (BYOK) provider credential. The raw key is encrypted at rest and never returned in API responses. When `workspace_id` is omitted, the credential is created in the default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly. Treat the raw key as write-only; it is never returned after creation. Use `allowed_api_key_hashes` to restrict the credential to specific OpenRouter API keys. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Create a new bring-your-own-key (BYOK) provider credential. The raw key is encrypted at rest and never returned in API responses. When `workspace_id` is omitted, the credential is created in the default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly. A workspace-scoped management key creates the credential in its own workspace when `workspace_id` is omitted, and any other `workspace_id` returns 403. Treat the raw key as write-only; it is never returned after creation. Use `allowed_api_key_hashes` to restrict the credential to specific OpenRouter API keys. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -32,10 +32,10 @@ public partial interface IByokClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Create a BYOK provider credential
- /// Create a new bring-your-own-key (BYOK) provider credential. The raw key is encrypted at rest and never returned in API responses. When `workspace_id` is omitted, the credential is created in the default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly. Treat the raw key as write-only; it is never returned after creation. Use `allowed_api_key_hashes` to restrict the credential to specific OpenRouter API keys. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Create a new bring-your-own-key (BYOK) provider credential. The raw key is encrypted at rest and never returned in API responses. When `workspace_id` is omitted, the credential is created in the default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly. A workspace-scoped management key creates the credential in its own workspace when `workspace_id` is omitted, and any other `workspace_id` returns 403. Treat the raw key as write-only; it is never returned after creation. Use `allowed_api_key_hashes` to restrict the credential to specific OpenRouter API keys. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// - /// Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) that may use this credential. `null` means no restriction. Must contain at least one hash if provided. Hashes that do not belong to your account return a 400.
+ /// Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) that may use this credential. `null` means no restriction. Must contain at least one hash if provided. Hashes that do not belong to your account return a 400; for a workspace-scoped management key, so do hashes of API keys outside its own workspace.
/// Example: [f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943] /// /// @@ -83,7 +83,7 @@ public partial interface IByokClient /// Example: openai /// /// - /// Optional workspace ID to scope the credential to. When omitted, the credential is created in the account's default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly.
+ /// Optional workspace ID to scope the credential to. When omitted, a workspace-scoped management key creates it in its own workspace. An organization management key creates it in the account's default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly.
/// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.Delete.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.Delete.g.cs index 59671b0fa..497f11711 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.Delete.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.Delete.g.cs @@ -6,7 +6,7 @@ public partial interface IByokClient { /// /// Delete a BYOK provider credential
- /// Delete (soft-delete) a bring-your-own-key (BYOK) provider credential by its `id`. The encrypted key material is wiped and the record is marked as deleted. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Delete (soft-delete) a bring-your-own-key (BYOK) provider credential by its `id`. The encrypted key material is wiped and the record is marked as deleted. A workspace-scoped management key only reaches credentials in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The BYOK credential ID (UUID).
@@ -21,7 +21,7 @@ public partial interface IByokClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Delete a BYOK provider credential
- /// Delete (soft-delete) a bring-your-own-key (BYOK) provider credential by its `id`. The encrypted key material is wiped and the record is marked as deleted. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Delete (soft-delete) a bring-your-own-key (BYOK) provider credential by its `id`. The encrypted key material is wiped and the record is marked as deleted. A workspace-scoped management key only reaches credentials in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The BYOK credential ID (UUID).
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.Get.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.Get.g.cs index 225308365..83eda5c7b 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.Get.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.Get.g.cs @@ -6,7 +6,7 @@ public partial interface IByokClient { /// /// Get a BYOK provider credential
- /// Get a single bring-your-own-key (BYOK) provider credential by its `id`. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Get a single bring-your-own-key (BYOK) provider credential by its `id`. A workspace-scoped management key only reaches credentials in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The BYOK credential ID (UUID).
@@ -21,7 +21,7 @@ public partial interface IByokClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Get a BYOK provider credential
- /// Get a single bring-your-own-key (BYOK) provider credential by its `id`. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Get a single bring-your-own-key (BYOK) provider credential by its `id`. A workspace-scoped management key only reaches credentials in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The BYOK credential ID (UUID).
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.List.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.List.g.cs index b3b879d69..b01d70e85 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.List.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.List.g.cs @@ -6,7 +6,7 @@ public partial interface IByokClient { /// /// List BYOK provider credentials
- /// List the bring-your-own-key (BYOK) provider credentials for the authenticated entity's default workspace. Use the `workspace_id` query parameter to scope the result to a different workspace, or the `provider` query parameter to filter by upstream provider. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// List the bring-your-own-key (BYOK) provider credentials for the authenticated entity's default workspace, or a workspace-scoped management key's own workspace. Use the `workspace_id` query parameter to scope the result to a different workspace, or the `provider` query parameter to filter by upstream provider. A workspace-scoped management key can only list its own workspace; any other `workspace_id` returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Number of records to skip for pagination
@@ -19,7 +19,7 @@ public partial interface IByokClient /// Example: 50 /// /// - /// Optional workspace ID to filter by. When omitted, resolves to the account’s default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly.
+ /// Optional workspace ID to filter by. When omitted, a workspace-scoped management key uses its own workspace. An organization management key uses the account’s default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly.
/// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// @@ -38,7 +38,7 @@ public partial interface IByokClient global::System.Threading.CancellationToken cancellationToken = default); /// /// List BYOK provider credentials
- /// List the bring-your-own-key (BYOK) provider credentials for the authenticated entity's default workspace. Use the `workspace_id` query parameter to scope the result to a different workspace, or the `provider` query parameter to filter by upstream provider. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// List the bring-your-own-key (BYOK) provider credentials for the authenticated entity's default workspace, or a workspace-scoped management key's own workspace. Use the `workspace_id` query parameter to scope the result to a different workspace, or the `provider` query parameter to filter by upstream provider. A workspace-scoped management key can only list its own workspace; any other `workspace_id` returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Number of records to skip for pagination
@@ -51,7 +51,7 @@ public partial interface IByokClient /// Example: 50 /// /// - /// Optional workspace ID to filter by. When omitted, resolves to the account’s default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly.
+ /// Optional workspace ID to filter by. When omitted, a workspace-scoped management key uses its own workspace. An organization management key uses the account’s default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly.
/// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.Update.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.Update.g.cs index 01ed49a2a..301ad114e 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.Update.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.Update.g.cs @@ -6,7 +6,7 @@ public partial interface IByokClient { /// /// Update a BYOK provider credential
- /// Update an existing bring-your-own-key (BYOK) provider credential by its `id`. Include the `key` field to rotate the raw provider API key in-place (the previous key material is overwritten). Use `allowed_api_key_hashes` to restrict the credential to specific OpenRouter API keys (`null` clears the restriction). [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Update an existing bring-your-own-key (BYOK) provider credential by its `id`. Include the `key` field to rotate the raw provider API key in-place (the previous key material is overwritten). Use `allowed_api_key_hashes` to restrict the credential to specific OpenRouter API keys (`null` clears the restriction). A workspace-scoped management key only reaches credentials in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The BYOK credential ID (UUID).
@@ -24,7 +24,7 @@ public partial interface IByokClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Update a BYOK provider credential
- /// Update an existing bring-your-own-key (BYOK) provider credential by its `id`. Include the `key` field to rotate the raw provider API key in-place (the previous key material is overwritten). Use `allowed_api_key_hashes` to restrict the credential to specific OpenRouter API keys (`null` clears the restriction). [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Update an existing bring-your-own-key (BYOK) provider credential by its `id`. Include the `key` field to rotate the raw provider API key in-place (the previous key material is overwritten). Use `allowed_api_key_hashes` to restrict the credential to specific OpenRouter API keys (`null` clears the restriction). A workspace-scoped management key only reaches credentials in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The BYOK credential ID (UUID).
@@ -42,14 +42,14 @@ public partial interface IByokClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Update a BYOK provider credential
- /// Update an existing bring-your-own-key (BYOK) provider credential by its `id`. Include the `key` field to rotate the raw provider API key in-place (the previous key material is overwritten). Use `allowed_api_key_hashes` to restrict the credential to specific OpenRouter API keys (`null` clears the restriction). [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Update an existing bring-your-own-key (BYOK) provider credential by its `id`. Include the `key` field to rotate the raw provider API key in-place (the previous key material is overwritten). Use `allowed_api_key_hashes` to restrict the credential to specific OpenRouter API keys (`null` clears the restriction). A workspace-scoped management key only reaches credentials in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The BYOK credential ID (UUID).
/// Example: 11111111-2222-3333-4444-555555555555 /// /// - /// Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) that may use this credential. `null` clears the restriction. Must contain at least one hash if provided. Hashes that do not belong to your account return a 400.
+ /// Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) that may use this credential. `null` clears the restriction. Must contain at least one hash if provided. Hashes that do not belong to your account return a 400; for a workspace-scoped management key, so do hashes of API keys outside its own workspace.
/// Example: [f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943] /// /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ICreditsClient.ListCreditsPurchasesSKILLMd.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ICreditsClient.ListCreditsPurchasesSKILLMd.g.cs deleted file mode 100644 index 480bc9548..000000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.ICreditsClient.ListCreditsPurchasesSKILLMd.g.cs +++ /dev/null @@ -1,26 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public partial interface ICreditsClient - { - /// - /// Agent skill for buying OpenRouter credits - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ListCreditsPurchasesSKILLMdAsync( - global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Agent skill for buying OpenRouter credits - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ListCreditsPurchasesSKILLMdAsResponseAsync( - global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ICreditsClient.ListCreditsPurchasesSetup.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ICreditsClient.ListCreditsPurchasesSetup.g.cs deleted file mode 100644 index bbd491e6c..000000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.ICreditsClient.ListCreditsPurchasesSetup.g.cs +++ /dev/null @@ -1,26 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public partial interface ICreditsClient - { - /// - /// Agent setup guide for buying credits with a machine payment - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ListCreditsPurchasesSetupAsync( - global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Agent setup guide for buying credits with a machine payment - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ListCreditsPurchasesSetupAsResponseAsync( - global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.ChangeApiKeyPolicyAssignment.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.ChangeApiKeyPolicyAssignment.g.cs index 517555f43..161b33364 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.ChangeApiKeyPolicyAssignment.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.ChangeApiKeyPolicyAssignment.g.cs @@ -62,7 +62,7 @@ public partial interface IGuardrailPoliciesClient /// Example: budget /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -74,7 +74,7 @@ public partial interface IGuardrailPoliciesClient global::OpenRouter.AllOf expectedAssignment, global::System.Guid policyId, global::OpenRouter.ChangeGuardrailPolicyAssignmentRequestPolicyType policyType, - global::System.Guid workspaceId, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.ChangeMemberPolicyAssignment.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.ChangeMemberPolicyAssignment.g.cs index eb2012ad3..e7b5c2ab9 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.ChangeMemberPolicyAssignment.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.ChangeMemberPolicyAssignment.g.cs @@ -62,7 +62,7 @@ public partial interface IGuardrailPoliciesClient /// Example: budget /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -74,7 +74,7 @@ public partial interface IGuardrailPoliciesClient global::OpenRouter.AllOf expectedAssignment, global::System.Guid policyId, global::OpenRouter.ChangeGuardrailPolicyAssignmentRequestPolicyType policyType, - global::System.Guid workspaceId, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.CreateBudgetPolicy.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.CreateBudgetPolicy.g.cs index 4bc1118c2..33924f128 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.CreateBudgetPolicy.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.CreateBudgetPolicy.g.cs @@ -62,7 +62,7 @@ public partial interface IGuardrailPoliciesClient /// /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -71,13 +71,13 @@ public partial interface IGuardrailPoliciesClient global::System.Threading.Tasks.Task CreateBudgetPolicyAsync( global::OpenRouter.GuardrailBudgetPolicyAuthoringConfig config, string name, - global::System.Guid workspaceId, global::System.Collections.Generic.IList? apiKeyHashes = default, bool? isWorkspaceDefault = default, global::System.Collections.Generic.IList? memberIds = default, global::System.Collections.Generic.IList? optedOutApiKeyHashes = default, global::System.Collections.Generic.IList? optedOutMemberIds = default, global::OpenRouter.CreateBudgetGuardrailPolicyRequestPolicyType policyType = default, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.CreateModelAvailabilityPolicy.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.CreateModelAvailabilityPolicy.g.cs index 0317f6ad4..b244fcde7 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.CreateModelAvailabilityPolicy.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.CreateModelAvailabilityPolicy.g.cs @@ -62,7 +62,7 @@ public partial interface IGuardrailPoliciesClient /// /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -71,13 +71,13 @@ public partial interface IGuardrailPoliciesClient global::System.Threading.Tasks.Task CreateModelAvailabilityPolicyAsync( global::OpenRouter.GuardrailModelAvailabilityPolicyAuthoringConfig config, string name, - global::System.Guid workspaceId, global::System.Collections.Generic.IList? apiKeyHashes = default, bool? isWorkspaceDefault = default, global::System.Collections.Generic.IList? memberIds = default, global::System.Collections.Generic.IList? optedOutApiKeyHashes = default, global::System.Collections.Generic.IList? optedOutMemberIds = default, global::OpenRouter.CreateModelAvailabilityGuardrailPolicyRequestPolicyType policyType = default, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.CreateModerationPolicy.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.CreateModerationPolicy.g.cs index f3628066e..7ae17b472 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.CreateModerationPolicy.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.CreateModerationPolicy.g.cs @@ -62,7 +62,7 @@ public partial interface IGuardrailPoliciesClient /// /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -71,13 +71,13 @@ public partial interface IGuardrailPoliciesClient global::System.Threading.Tasks.Task CreateModerationPolicyAsync( global::OpenRouter.GuardrailModerationPolicyConfig config, string name, - global::System.Guid workspaceId, global::System.Collections.Generic.IList? apiKeyHashes = default, bool? isWorkspaceDefault = default, global::System.Collections.Generic.IList? memberIds = default, global::System.Collections.Generic.IList? optedOutApiKeyHashes = default, global::System.Collections.Generic.IList? optedOutMemberIds = default, global::OpenRouter.CreateModerationGuardrailPolicyRequestPolicyType policyType = default, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.DeleteBudgetPolicy.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.DeleteBudgetPolicy.g.cs index 647eb9f6c..dcf580a3c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.DeleteBudgetPolicy.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.DeleteBudgetPolicy.g.cs @@ -13,7 +13,7 @@ public partial interface IGuardrailPoliciesClient /// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -21,7 +21,7 @@ public partial interface IGuardrailPoliciesClient /// global::System.Threading.Tasks.Task DeleteBudgetPolicyAsync( global::System.Guid id, - global::System.Guid workspaceId, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -33,7 +33,7 @@ public partial interface IGuardrailPoliciesClient /// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -41,7 +41,7 @@ public partial interface IGuardrailPoliciesClient /// global::System.Threading.Tasks.Task> DeleteBudgetPolicyAsResponseAsync( global::System.Guid id, - global::System.Guid workspaceId, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.DeleteModelAvailabilityPolicy.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.DeleteModelAvailabilityPolicy.g.cs index 305f7fa55..44a6eeb2b 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.DeleteModelAvailabilityPolicy.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.DeleteModelAvailabilityPolicy.g.cs @@ -13,7 +13,7 @@ public partial interface IGuardrailPoliciesClient /// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -21,7 +21,7 @@ public partial interface IGuardrailPoliciesClient /// global::System.Threading.Tasks.Task DeleteModelAvailabilityPolicyAsync( global::System.Guid id, - global::System.Guid workspaceId, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -33,7 +33,7 @@ public partial interface IGuardrailPoliciesClient /// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -41,7 +41,7 @@ public partial interface IGuardrailPoliciesClient /// global::System.Threading.Tasks.Task> DeleteModelAvailabilityPolicyAsResponseAsync( global::System.Guid id, - global::System.Guid workspaceId, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.DeleteModerationPolicy.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.DeleteModerationPolicy.g.cs index 8661de956..c8d9ae3df 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.DeleteModerationPolicy.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.DeleteModerationPolicy.g.cs @@ -13,7 +13,7 @@ public partial interface IGuardrailPoliciesClient /// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -21,7 +21,7 @@ public partial interface IGuardrailPoliciesClient /// global::System.Threading.Tasks.Task DeleteModerationPolicyAsync( global::System.Guid id, - global::System.Guid workspaceId, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -33,7 +33,7 @@ public partial interface IGuardrailPoliciesClient /// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -41,7 +41,7 @@ public partial interface IGuardrailPoliciesClient /// global::System.Threading.Tasks.Task> DeleteModerationPolicyAsResponseAsync( global::System.Guid id, - global::System.Guid workspaceId, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.GetApiKeyPolicyAssignment.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.GetApiKeyPolicyAssignment.g.cs index 2b8e2fd46..2e106a180 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.GetApiKeyPolicyAssignment.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.GetApiKeyPolicyAssignment.g.cs @@ -13,7 +13,7 @@ public partial interface IGuardrailPoliciesClient /// Example: c56454edb818d6b14bc0d61c46025f1450b0f4012d12304ab40aacb519fcbc93 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// @@ -25,8 +25,8 @@ public partial interface IGuardrailPoliciesClient /// global::System.Threading.Tasks.Task GetApiKeyPolicyAssignmentAsync( string hash, - global::System.Guid workspaceId, global::OpenRouter.GetApiKeyPolicyAssignmentPolicyType policyType, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -38,7 +38,7 @@ public partial interface IGuardrailPoliciesClient /// Example: c56454edb818d6b14bc0d61c46025f1450b0f4012d12304ab40aacb519fcbc93 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// @@ -50,8 +50,8 @@ public partial interface IGuardrailPoliciesClient /// global::System.Threading.Tasks.Task> GetApiKeyPolicyAssignmentAsResponseAsync( string hash, - global::System.Guid workspaceId, global::OpenRouter.GetApiKeyPolicyAssignmentPolicyType policyType, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.GetBudgetPolicy.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.GetBudgetPolicy.g.cs index 85de3fcde..09ea19fff 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.GetBudgetPolicy.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.GetBudgetPolicy.g.cs @@ -13,7 +13,7 @@ public partial interface IGuardrailPoliciesClient /// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -21,7 +21,7 @@ public partial interface IGuardrailPoliciesClient /// global::System.Threading.Tasks.Task GetBudgetPolicyAsync( global::System.Guid id, - global::System.Guid workspaceId, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -33,7 +33,7 @@ public partial interface IGuardrailPoliciesClient /// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -41,7 +41,7 @@ public partial interface IGuardrailPoliciesClient /// global::System.Threading.Tasks.Task> GetBudgetPolicyAsResponseAsync( global::System.Guid id, - global::System.Guid workspaceId, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.GetMemberPolicyAssignment.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.GetMemberPolicyAssignment.g.cs index e789dfcf3..74ea0dbe7 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.GetMemberPolicyAssignment.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.GetMemberPolicyAssignment.g.cs @@ -13,7 +13,7 @@ public partial interface IGuardrailPoliciesClient /// Example: user_2abcDEFghiJKLmnoPQRstu /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// @@ -25,8 +25,8 @@ public partial interface IGuardrailPoliciesClient /// global::System.Threading.Tasks.Task GetMemberPolicyAssignmentAsync( string memberId, - global::System.Guid workspaceId, global::OpenRouter.GetMemberPolicyAssignmentPolicyType policyType, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -38,7 +38,7 @@ public partial interface IGuardrailPoliciesClient /// Example: user_2abcDEFghiJKLmnoPQRstu /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// @@ -50,8 +50,8 @@ public partial interface IGuardrailPoliciesClient /// global::System.Threading.Tasks.Task> GetMemberPolicyAssignmentAsResponseAsync( string memberId, - global::System.Guid workspaceId, global::OpenRouter.GetMemberPolicyAssignmentPolicyType policyType, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.GetModelAvailabilityPolicy.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.GetModelAvailabilityPolicy.g.cs index 850f211db..d1242e10e 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.GetModelAvailabilityPolicy.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.GetModelAvailabilityPolicy.g.cs @@ -13,7 +13,7 @@ public partial interface IGuardrailPoliciesClient /// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -21,7 +21,7 @@ public partial interface IGuardrailPoliciesClient /// global::System.Threading.Tasks.Task GetModelAvailabilityPolicyAsync( global::System.Guid id, - global::System.Guid workspaceId, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -33,7 +33,7 @@ public partial interface IGuardrailPoliciesClient /// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -41,7 +41,7 @@ public partial interface IGuardrailPoliciesClient /// global::System.Threading.Tasks.Task> GetModelAvailabilityPolicyAsResponseAsync( global::System.Guid id, - global::System.Guid workspaceId, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.GetModerationPolicy.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.GetModerationPolicy.g.cs index a394db266..ff0519dba 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.GetModerationPolicy.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.GetModerationPolicy.g.cs @@ -13,7 +13,7 @@ public partial interface IGuardrailPoliciesClient /// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -21,7 +21,7 @@ public partial interface IGuardrailPoliciesClient /// global::System.Threading.Tasks.Task GetModerationPolicyAsync( global::System.Guid id, - global::System.Guid workspaceId, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -33,7 +33,7 @@ public partial interface IGuardrailPoliciesClient /// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -41,7 +41,7 @@ public partial interface IGuardrailPoliciesClient /// global::System.Threading.Tasks.Task> GetModerationPolicyAsResponseAsync( global::System.Guid id, - global::System.Guid workspaceId, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.ListBudgetPolicies.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.ListBudgetPolicies.g.cs index c8effb272..c995811db 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.ListBudgetPolicies.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.ListBudgetPolicies.g.cs @@ -17,16 +17,16 @@ public partial interface IGuardrailPoliciesClient /// Example: 50 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// global::System.Threading.Tasks.Task ListBudgetPoliciesAsync( - global::System.Guid workspaceId, int? offset = default, int? limit = default, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -42,16 +42,16 @@ public partial interface IGuardrailPoliciesClient /// Example: 50 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> ListBudgetPoliciesAsResponseAsync( - global::System.Guid workspaceId, int? offset = default, int? limit = default, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.ListModelAvailabilityPolicies.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.ListModelAvailabilityPolicies.g.cs index e4f53e784..6a8ddeb83 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.ListModelAvailabilityPolicies.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.ListModelAvailabilityPolicies.g.cs @@ -17,16 +17,16 @@ public partial interface IGuardrailPoliciesClient /// Example: 50 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// global::System.Threading.Tasks.Task ListModelAvailabilityPoliciesAsync( - global::System.Guid workspaceId, int? offset = default, int? limit = default, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -42,16 +42,16 @@ public partial interface IGuardrailPoliciesClient /// Example: 50 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> ListModelAvailabilityPoliciesAsResponseAsync( - global::System.Guid workspaceId, int? offset = default, int? limit = default, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.ListModerationPolicies.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.ListModerationPolicies.g.cs index 63b194ce2..d9f6807c1 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.ListModerationPolicies.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.ListModerationPolicies.g.cs @@ -17,16 +17,16 @@ public partial interface IGuardrailPoliciesClient /// Example: 50 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// global::System.Threading.Tasks.Task ListModerationPoliciesAsync( - global::System.Guid workspaceId, int? offset = default, int? limit = default, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -42,16 +42,16 @@ public partial interface IGuardrailPoliciesClient /// Example: 50 /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> ListModerationPoliciesAsResponseAsync( - global::System.Guid workspaceId, int? offset = default, int? limit = default, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.UpdateBudgetPolicy.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.UpdateBudgetPolicy.g.cs index 7aca4b357..e2f781349 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.UpdateBudgetPolicy.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.UpdateBudgetPolicy.g.cs @@ -75,7 +75,7 @@ public partial interface IGuardrailPoliciesClient /// Example: [user_2abcDEFghiJKLmnoPQRstu] /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -85,12 +85,12 @@ public partial interface IGuardrailPoliciesClient global::System.Guid id, global::OpenRouter.GuardrailBudgetPolicyAuthoringConfig config, string name, - global::System.Guid workspaceId, global::System.Collections.Generic.IList? apiKeyHashes = default, bool? isWorkspaceDefault = default, global::System.Collections.Generic.IList? memberIds = default, global::System.Collections.Generic.IList? optedOutApiKeyHashes = default, global::System.Collections.Generic.IList? optedOutMemberIds = default, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.UpdateModelAvailabilityPolicy.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.UpdateModelAvailabilityPolicy.g.cs index abdbb79e1..7bc65ba68 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.UpdateModelAvailabilityPolicy.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.UpdateModelAvailabilityPolicy.g.cs @@ -75,7 +75,7 @@ public partial interface IGuardrailPoliciesClient /// Example: [user_2abcDEFghiJKLmnoPQRstu] /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -85,12 +85,12 @@ public partial interface IGuardrailPoliciesClient global::System.Guid id, global::OpenRouter.GuardrailModelAvailabilityPolicyAuthoringConfig config, string name, - global::System.Guid workspaceId, global::System.Collections.Generic.IList? apiKeyHashes = default, bool? isWorkspaceDefault = default, global::System.Collections.Generic.IList? memberIds = default, global::System.Collections.Generic.IList? optedOutApiKeyHashes = default, global::System.Collections.Generic.IList? optedOutMemberIds = default, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.UpdateModerationPolicy.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.UpdateModerationPolicy.g.cs index fba9c5e72..a505502af 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.UpdateModerationPolicy.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailPoliciesClient.UpdateModerationPolicy.g.cs @@ -75,7 +75,7 @@ public partial interface IGuardrailPoliciesClient /// Example: [user_2abcDEFghiJKLmnoPQRstu] /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -85,12 +85,12 @@ public partial interface IGuardrailPoliciesClient global::System.Guid id, global::OpenRouter.GuardrailModerationPolicyConfig config, string name, - global::System.Guid workspaceId, global::System.Collections.Generic.IList? apiKeyHashes = default, bool? isWorkspaceDefault = default, global::System.Collections.Generic.IList? memberIds = default, global::System.Collections.Generic.IList? optedOutApiKeyHashes = default, global::System.Collections.Generic.IList? optedOutMemberIds = default, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.BulkAssignKeys.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.BulkAssignKeys.g.cs index 487846b37..87ffe521d 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.BulkAssignKeys.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.BulkAssignKeys.g.cs @@ -6,7 +6,7 @@ public partial interface IGuardrailsClient { /// /// Bulk assign keys to a guardrail
- /// Assign multiple API keys to a specific guardrail. A key may hold at most one guardrail; assigning replaces any existing assignment. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Assign multiple API keys to a specific guardrail. A key may hold at most one guardrail; assigning replaces any existing assignment. A workspace-scoped management key reaches only guardrails in its own workspace (any other returns 404), and a batch naming an unknown or out-of-workspace key hash is rejected with 400 before anything changes. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail
@@ -24,7 +24,7 @@ public partial interface IGuardrailsClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Bulk assign keys to a guardrail
- /// Assign multiple API keys to a specific guardrail. A key may hold at most one guardrail; assigning replaces any existing assignment. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Assign multiple API keys to a specific guardrail. A key may hold at most one guardrail; assigning replaces any existing assignment. A workspace-scoped management key reaches only guardrails in its own workspace (any other returns 404), and a batch naming an unknown or out-of-workspace key hash is rejected with 400 before anything changes. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail
@@ -42,7 +42,7 @@ public partial interface IGuardrailsClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Bulk assign keys to a guardrail
- /// Assign multiple API keys to a specific guardrail. A key may hold at most one guardrail; assigning replaces any existing assignment. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Assign multiple API keys to a specific guardrail. A key may hold at most one guardrail; assigning replaces any existing assignment. A workspace-scoped management key reaches only guardrails in its own workspace (any other returns 404), and a batch naming an unknown or out-of-workspace key hash is rejected with 400 before anything changes. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.BulkAssignMembers.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.BulkAssignMembers.g.cs index 680cf67a7..7528f1b57 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.BulkAssignMembers.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.BulkAssignMembers.g.cs @@ -6,7 +6,7 @@ public partial interface IGuardrailsClient { /// /// Bulk assign members to a guardrail
- /// Assign multiple organization members to a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Assign multiple organization members to a specific guardrail. Requires an organization-scoped management key; workspace-scoped management keys return 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail
@@ -24,7 +24,7 @@ public partial interface IGuardrailsClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Bulk assign members to a guardrail
- /// Assign multiple organization members to a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Assign multiple organization members to a specific guardrail. Requires an organization-scoped management key; workspace-scoped management keys return 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail
@@ -42,7 +42,7 @@ public partial interface IGuardrailsClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Bulk assign members to a guardrail
- /// Assign multiple organization members to a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Assign multiple organization members to a specific guardrail. Requires an organization-scoped management key; workspace-scoped management keys return 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.BulkUnassignKeys.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.BulkUnassignKeys.g.cs index bc055aa5c..b9ca59c7a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.BulkUnassignKeys.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.BulkUnassignKeys.g.cs @@ -6,7 +6,7 @@ public partial interface IGuardrailsClient { /// /// Bulk unassign keys from a guardrail
- /// Unassign multiple API keys from a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Unassign multiple API keys from a specific guardrail. A workspace-scoped management key reaches only guardrails in its own workspace (any other returns 404), and a batch naming an unknown or out-of-workspace key hash is rejected with 400 before anything changes. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail
@@ -24,7 +24,7 @@ public partial interface IGuardrailsClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Bulk unassign keys from a guardrail
- /// Unassign multiple API keys from a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Unassign multiple API keys from a specific guardrail. A workspace-scoped management key reaches only guardrails in its own workspace (any other returns 404), and a batch naming an unknown or out-of-workspace key hash is rejected with 400 before anything changes. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail
@@ -42,7 +42,7 @@ public partial interface IGuardrailsClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Bulk unassign keys from a guardrail
- /// Unassign multiple API keys from a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Unassign multiple API keys from a specific guardrail. A workspace-scoped management key reaches only guardrails in its own workspace (any other returns 404), and a batch naming an unknown or out-of-workspace key hash is rejected with 400 before anything changes. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.BulkUnassignMembers.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.BulkUnassignMembers.g.cs index 33dde8a69..d196f88fb 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.BulkUnassignMembers.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.BulkUnassignMembers.g.cs @@ -6,7 +6,7 @@ public partial interface IGuardrailsClient { /// /// Bulk unassign members from a guardrail
- /// Unassign multiple organization members from a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Unassign multiple organization members from a specific guardrail. Requires an organization-scoped management key; workspace-scoped management keys return 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail
@@ -24,7 +24,7 @@ public partial interface IGuardrailsClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Bulk unassign members from a guardrail
- /// Unassign multiple organization members from a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Unassign multiple organization members from a specific guardrail. Requires an organization-scoped management key; workspace-scoped management keys return 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail
@@ -42,7 +42,7 @@ public partial interface IGuardrailsClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Bulk unassign members from a guardrail
- /// Unassign multiple organization members from a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Unassign multiple organization members from a specific guardrail. Requires an organization-scoped management key; workspace-scoped management keys return 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.Create.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.Create.g.cs index 9162af0f6..2b17ba5d8 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.Create.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.Create.g.cs @@ -8,7 +8,7 @@ public partial interface IGuardrailsClient { /// /// Create a guardrail
- /// Create a new guardrail for the authenticated user. A newly created guardrail enforces nothing until it is assigned to API keys or organization members; `workspace_id` places the guardrail in a workspace but does not apply it to that workspace's traffic. To restrict all traffic in a workspace, update the workspace's default guardrail instead. Set `allowed_data_regions` to enforce [In-Region Routing](/docs/guides/features/in-region-routing#enforcing-in-region-routing-with-guardrails): governed requests must arrive through one of the listed OpenRouter domains and are rejected with a 403 otherwise. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Create a new guardrail for the authenticated user. A newly created guardrail enforces nothing until it is assigned to API keys or organization members; `workspace_id` places the guardrail in a workspace but does not apply it to that workspace's traffic. To restrict all traffic in a workspace, update the workspace's default guardrail instead. Set `allowed_data_regions` to enforce [In-Region Routing](/docs/guides/features/in-region-routing#enforcing-in-region-routing-with-guardrails): governed requests must arrive through one of the listed OpenRouter domains and are rejected with a 403 otherwise. A workspace-scoped management key creates in its own workspace, which `workspace_id` defaults to; naming another workspace returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -21,7 +21,7 @@ public partial interface IGuardrailsClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Create a guardrail
- /// Create a new guardrail for the authenticated user. A newly created guardrail enforces nothing until it is assigned to API keys or organization members; `workspace_id` places the guardrail in a workspace but does not apply it to that workspace's traffic. To restrict all traffic in a workspace, update the workspace's default guardrail instead. Set `allowed_data_regions` to enforce [In-Region Routing](/docs/guides/features/in-region-routing#enforcing-in-region-routing-with-guardrails): governed requests must arrive through one of the listed OpenRouter domains and are rejected with a 403 otherwise. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Create a new guardrail for the authenticated user. A newly created guardrail enforces nothing until it is assigned to API keys or organization members; `workspace_id` places the guardrail in a workspace but does not apply it to that workspace's traffic. To restrict all traffic in a workspace, update the workspace's default guardrail instead. Set `allowed_data_regions` to enforce [In-Region Routing](/docs/guides/features/in-region-routing#enforcing-in-region-routing-with-guardrails): governed requests must arrive through one of the listed OpenRouter domains and are rejected with a 403 otherwise. A workspace-scoped management key creates in its own workspace, which `workspace_id` defaults to; naming another workspace returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -34,7 +34,7 @@ public partial interface IGuardrailsClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Create a guardrail
- /// Create a new guardrail for the authenticated user. A newly created guardrail enforces nothing until it is assigned to API keys or organization members; `workspace_id` places the guardrail in a workspace but does not apply it to that workspace's traffic. To restrict all traffic in a workspace, update the workspace's default guardrail instead. Set `allowed_data_regions` to enforce [In-Region Routing](/docs/guides/features/in-region-routing#enforcing-in-region-routing-with-guardrails): governed requests must arrive through one of the listed OpenRouter domains and are rejected with a 403 otherwise. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Create a new guardrail for the authenticated user. A newly created guardrail enforces nothing until it is assigned to API keys or organization members; `workspace_id` places the guardrail in a workspace but does not apply it to that workspace's traffic. To restrict all traffic in a workspace, update the workspace's default guardrail instead. Set `allowed_data_regions` to enforce [In-Region Routing](/docs/guides/features/in-region-routing#enforcing-in-region-routing-with-guardrails): governed requests must arrive through one of the listed OpenRouter domains and are rejected with a 403 otherwise. A workspace-scoped management key creates in its own workspace, which `workspace_id` defaults to; naming another workspace returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Whether ZDR-only requests to google/* models may also use Safety Retention endpoints, which may retain prompts and responses from any request, only to prevent abuse, and do not use them for training. false allows only ZDR endpoints. A guardrail can only be more restrictive than the account setting. Inherits the account setting when not provided.
@@ -129,7 +129,7 @@ public partial interface IGuardrailsClient /// Example: monthly /// /// - /// The workspace to create the guardrail in. When omitted, the guardrail is created in the default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly. This only places the guardrail in the workspace; the created guardrail enforces nothing for that workspace's traffic until it is assigned to API keys or members. To restrict all traffic in a workspace, update the workspace's default guardrail instead.
+ /// The workspace to create the guardrail in. When omitted, an organization management key creates the guardrail in the default workspace (a 400 if that default has been deleted, so pass `workspace_id` explicitly) and a workspace-scoped key creates it in its own workspace. A workspace-scoped key gets a 403 for any other workspace. This only places the guardrail in the workspace; the created guardrail enforces nothing for that workspace's traffic until it is assigned to API keys or members. To restrict all traffic in a workspace, update the workspace's default guardrail instead.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.Delete.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.Delete.g.cs index bc19cac7c..2190b83bd 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.Delete.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.Delete.g.cs @@ -6,7 +6,7 @@ public partial interface IGuardrailsClient { /// /// Delete a guardrail
- /// Delete an existing guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Delete an existing guardrail. A workspace-scoped management key reaches only guardrails in its own workspace; any other guardrail returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail to delete
@@ -21,7 +21,7 @@ public partial interface IGuardrailsClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Delete a guardrail
- /// Delete an existing guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Delete an existing guardrail. A workspace-scoped management key reaches only guardrails in its own workspace; any other guardrail returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail to delete
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.Get.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.Get.g.cs index 58faeee22..450a2d636 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.Get.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.Get.g.cs @@ -6,7 +6,7 @@ public partial interface IGuardrailsClient { /// /// Get a guardrail
- /// Get a single guardrail by ID. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Get a single guardrail by ID. A workspace-scoped management key reaches only guardrails in its own workspace; any other guardrail returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail to retrieve
@@ -21,7 +21,7 @@ public partial interface IGuardrailsClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Get a guardrail
- /// Get a single guardrail by ID. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Get a single guardrail by ID. A workspace-scoped management key reaches only guardrails in its own workspace; any other guardrail returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail to retrieve
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.List.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.List.g.cs index b1266a6f2..f8871bfa5 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.List.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.List.g.cs @@ -6,7 +6,7 @@ public partial interface IGuardrailsClient { /// /// List guardrails
- /// List all guardrails for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// List all guardrails for the authenticated user. A workspace-scoped management key lists only its own workspace, which `workspace_id` defaults to; naming another workspace returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Number of records to skip for pagination
@@ -19,7 +19,7 @@ public partial interface IGuardrailsClient /// Example: 50 /// /// - /// Filter guardrails by workspace ID. By default, guardrails in the default workspace are returned.
+ /// Filter guardrails by workspace ID. When omitted, an organization management key gets guardrails in the default workspace and a workspace-scoped key gets guardrails in its own workspace. A workspace-scoped key gets 403 for any other workspace.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -33,7 +33,7 @@ public partial interface IGuardrailsClient global::System.Threading.CancellationToken cancellationToken = default); /// /// List guardrails
- /// List all guardrails for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// List all guardrails for the authenticated user. A workspace-scoped management key lists only its own workspace, which `workspace_id` defaults to; naming another workspace returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Number of records to skip for pagination
@@ -46,7 +46,7 @@ public partial interface IGuardrailsClient /// Example: 50 /// /// - /// Filter guardrails by workspace ID. By default, guardrails in the default workspace are returned.
+ /// Filter guardrails by workspace ID. When omitted, an organization management key gets guardrails in the default workspace and a workspace-scoped key gets guardrails in its own workspace. A workspace-scoped key gets 403 for any other workspace.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.ListGuardrailKeyAssignments.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.ListGuardrailKeyAssignments.g.cs index 8c03e78a9..0a2eb1f9a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.ListGuardrailKeyAssignments.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.ListGuardrailKeyAssignments.g.cs @@ -6,7 +6,7 @@ public partial interface IGuardrailsClient { /// /// List key assignments for a guardrail
- /// List all API key assignments for a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// List all API key assignments for a specific guardrail. A workspace-scoped management key reaches only guardrails in its own workspace; any other guardrail returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail
@@ -33,7 +33,7 @@ public partial interface IGuardrailsClient global::System.Threading.CancellationToken cancellationToken = default); /// /// List key assignments for a guardrail
- /// List all API key assignments for a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// List all API key assignments for a specific guardrail. A workspace-scoped management key reaches only guardrails in its own workspace; any other guardrail returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.ListGuardrailMemberAssignments.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.ListGuardrailMemberAssignments.g.cs index e497b1dbc..bee44f47a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.ListGuardrailMemberAssignments.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.ListGuardrailMemberAssignments.g.cs @@ -6,7 +6,7 @@ public partial interface IGuardrailsClient { /// /// List member assignments for a guardrail
- /// List all organization member assignments for a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// List all organization member assignments for a specific guardrail. A workspace-scoped management key reaches only guardrails in its own workspace; any other guardrail returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail
@@ -33,7 +33,7 @@ public partial interface IGuardrailsClient global::System.Threading.CancellationToken cancellationToken = default); /// /// List member assignments for a guardrail
- /// List all organization member assignments for a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// List all organization member assignments for a specific guardrail. A workspace-scoped management key reaches only guardrails in its own workspace; any other guardrail returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.ListKeyAssignments.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.ListKeyAssignments.g.cs index 2f3782621..6aea109e3 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.ListKeyAssignments.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.ListKeyAssignments.g.cs @@ -6,7 +6,7 @@ public partial interface IGuardrailsClient { /// /// List all key assignments
- /// List all API key guardrail assignments for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// List all API key guardrail assignments for the authenticated user. A workspace-scoped management key lists only its own workspace, which `workspace_id` defaults to; naming another workspace returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Number of records to skip for pagination
@@ -18,17 +18,22 @@ public partial interface IGuardrailsClient /// Default Value: 50
/// Example: 50 /// + /// + /// Only list assignments of guardrails in this workspace. When omitted, an organization management key lists every workspace and a workspace-scoped key lists its own workspace. A workspace-scoped key gets 403 for any other workspace.
+ /// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// global::System.Threading.Tasks.Task ListKeyAssignmentsAsync( int? offset = default, int? limit = default, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// /// List all key assignments
- /// List all API key guardrail assignments for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// List all API key guardrail assignments for the authenticated user. A workspace-scoped management key lists only its own workspace, which `workspace_id` defaults to; naming another workspace returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Number of records to skip for pagination
@@ -40,12 +45,17 @@ public partial interface IGuardrailsClient /// Default Value: 50
/// Example: 50 /// + /// + /// Only list assignments of guardrails in this workspace. When omitted, an organization management key lists every workspace and a workspace-scoped key lists its own workspace. A workspace-scoped key gets 403 for any other workspace.
+ /// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> ListKeyAssignmentsAsResponseAsync( int? offset = default, int? limit = default, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.ListMemberAssignments.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.ListMemberAssignments.g.cs index ca61992a0..5f1f2011a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.ListMemberAssignments.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.ListMemberAssignments.g.cs @@ -6,7 +6,7 @@ public partial interface IGuardrailsClient { /// /// List all member assignments
- /// List all organization member guardrail assignments for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// List all organization member guardrail assignments for the authenticated user. A workspace-scoped management key lists only its own workspace, which `workspace_id` defaults to; naming another workspace returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Number of records to skip for pagination
@@ -18,17 +18,22 @@ public partial interface IGuardrailsClient /// Default Value: 50
/// Example: 50 /// + /// + /// Only list assignments of guardrails in this workspace. When omitted, an organization management key lists every workspace and a workspace-scoped key lists its own workspace. A workspace-scoped key gets 403 for any other workspace.
+ /// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// global::System.Threading.Tasks.Task ListMemberAssignmentsAsync( int? offset = default, int? limit = default, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// /// List all member assignments
- /// List all organization member guardrail assignments for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// List all organization member guardrail assignments for the authenticated user. A workspace-scoped management key lists only its own workspace, which `workspace_id` defaults to; naming another workspace returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Number of records to skip for pagination
@@ -40,12 +45,17 @@ public partial interface IGuardrailsClient /// Default Value: 50
/// Example: 50 /// + /// + /// Only list assignments of guardrails in this workspace. When omitted, an organization management key lists every workspace and a workspace-scoped key lists its own workspace. A workspace-scoped key gets 403 for any other workspace.
+ /// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> ListMemberAssignmentsAsResponseAsync( int? offset = default, int? limit = default, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.Update.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.Update.g.cs index 4b4c7d48a..67bad1c48 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.Update.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.Update.g.cs @@ -8,7 +8,7 @@ public partial interface IGuardrailsClient { /// /// Update a guardrail
- /// Update an existing guardrail, or materialize an unconfigured workspace default guardrail. Collection fields use replace semantics: send the full desired set on every update. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Update an existing guardrail, or materialize an unconfigured workspace default guardrail. Collection fields use replace semantics: send the full desired set on every update. A workspace-scoped management key reaches only guardrails in its own workspace; any other guardrail returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail to update
@@ -26,7 +26,7 @@ public partial interface IGuardrailsClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Update a guardrail
- /// Update an existing guardrail, or materialize an unconfigured workspace default guardrail. Collection fields use replace semantics: send the full desired set on every update. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Update an existing guardrail, or materialize an unconfigured workspace default guardrail. Collection fields use replace semantics: send the full desired set on every update. A workspace-scoped management key reaches only guardrails in its own workspace; any other guardrail returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail to update
@@ -44,7 +44,7 @@ public partial interface IGuardrailsClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Update a guardrail
- /// Update an existing guardrail, or materialize an unconfigured workspace default guardrail. Collection fields use replace semantics: send the full desired set on every update. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Update an existing guardrail, or materialize an unconfigured workspace default guardrail. Collection fields use replace semantics: send the full desired set on every update. A workspace-scoped management key reaches only guardrails in its own workspace; any other guardrail returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The unique identifier of the guardrail to update
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.Create.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.Create.g.cs index 7c4e9e51a..a7990d874 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.Create.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.Create.g.cs @@ -6,7 +6,7 @@ public partial interface IObservabilityClient { /// /// Create an observability destination
- /// Create a new observability destination. A maximum of 5 destinations per type is allowed. Defaults to the authenticated entity's default workspace; use the `workspace_id` body field to scope to a different workspace. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Create a new observability destination. A maximum of 5 destinations per type is allowed. Defaults to the authenticated entity's default workspace, or a workspace-scoped management key's own workspace; use the `workspace_id` body field to scope to a different workspace. A workspace-scoped management key can only create in its own workspace; any other `workspace_id` returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -19,7 +19,7 @@ public partial interface IObservabilityClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Create an observability destination
- /// Create a new observability destination. A maximum of 5 destinations per type is allowed. Defaults to the authenticated entity's default workspace; use the `workspace_id` body field to scope to a different workspace. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Create a new observability destination. A maximum of 5 destinations per type is allowed. Defaults to the authenticated entity's default workspace, or a workspace-scoped management key's own workspace; use the `workspace_id` body field to scope to a different workspace. A workspace-scoped management key can only create in its own workspace; any other `workspace_id` returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -32,10 +32,10 @@ public partial interface IObservabilityClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Create an observability destination
- /// Create a new observability destination. A maximum of 5 destinations per type is allowed. Defaults to the authenticated entity's default workspace; use the `workspace_id` body field to scope to a different workspace. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Create a new observability destination. A maximum of 5 destinations per type is allowed. Defaults to the authenticated entity's default workspace, or a workspace-scoped management key's own workspace; use the `workspace_id` body field to scope to a different workspace. A workspace-scoped management key can only create in its own workspace; any other `workspace_id` returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// - /// Optional allowlist of OpenRouter API key hashes whose traffic is forwarded. `null` or omitted means all keys. Must contain at least one hash if provided.
+ /// Optional allowlist of OpenRouter API key hashes whose traffic is forwarded. `null` or omitted means all keys. Must contain at least one hash if provided. A workspace-scoped management key can only name API keys in its own workspace; any other hash returns 400.
/// Example: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 /// /// @@ -94,7 +94,7 @@ public partial interface IObservabilityClient /// Example: langfuse /// /// - /// Optional workspace ID. Defaults to the authenticated entity's default workspace.
+ /// Optional workspace ID. Defaults to the authenticated entity's default workspace, or a workspace-scoped management key's own workspace.
/// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.Delete.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.Delete.g.cs index ea128f551..fccc2411f 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.Delete.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.Delete.g.cs @@ -6,7 +6,7 @@ public partial interface IObservabilityClient { /// /// Delete an observability destination
- /// Delete an existing observability destination. This performs a soft delete. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Delete an existing observability destination. This performs a soft delete. A workspace-scoped management key only reaches destinations in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The destination ID (UUID).
@@ -21,7 +21,7 @@ public partial interface IObservabilityClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Delete an observability destination
- /// Delete an existing observability destination. This performs a soft delete. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Delete an existing observability destination. This performs a soft delete. A workspace-scoped management key only reaches destinations in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The destination ID (UUID).
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.Get.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.Get.g.cs index df4c149d1..727daac05 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.Get.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.Get.g.cs @@ -6,7 +6,7 @@ public partial interface IObservabilityClient { /// /// Get an observability destination
- /// Fetch a single observability destination by its UUID. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Fetch a single observability destination by its UUID. A workspace-scoped management key only reaches destinations in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The destination ID (UUID).
@@ -21,7 +21,7 @@ public partial interface IObservabilityClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Get an observability destination
- /// Fetch a single observability destination by its UUID. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Fetch a single observability destination by its UUID. A workspace-scoped management key only reaches destinations in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The destination ID (UUID).
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.List.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.List.g.cs index 97670065d..0235a9eb4 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.List.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.List.g.cs @@ -6,7 +6,7 @@ public partial interface IObservabilityClient { /// /// List observability destinations
- /// List the observability destinations configured for the authenticated entity's default workspace. Use the `workspace_id` query parameter to scope the result to a different workspace. Only destinations with stable release status are surfaced — destinations of other types are excluded. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// List the observability destinations configured for the authenticated entity's default workspace, or a workspace-scoped management key's own workspace. Use the `workspace_id` query parameter to scope the result to a different workspace. A workspace-scoped management key can only list its own workspace; any other `workspace_id` returns 403. Only destinations with stable release status are surfaced — destinations of other types are excluded. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Number of records to skip for pagination
@@ -19,7 +19,7 @@ public partial interface IObservabilityClient /// Example: 50 /// /// - /// Optional workspace ID to filter by. Defaults to the authenticated entity's default workspace.
+ /// Optional workspace ID to filter by. Defaults to the authenticated entity's default workspace, or a workspace-scoped management key's own workspace.
/// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -33,7 +33,7 @@ public partial interface IObservabilityClient global::System.Threading.CancellationToken cancellationToken = default); /// /// List observability destinations
- /// List the observability destinations configured for the authenticated entity's default workspace. Use the `workspace_id` query parameter to scope the result to a different workspace. Only destinations with stable release status are surfaced — destinations of other types are excluded. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// List the observability destinations configured for the authenticated entity's default workspace, or a workspace-scoped management key's own workspace. Use the `workspace_id` query parameter to scope the result to a different workspace. A workspace-scoped management key can only list its own workspace; any other `workspace_id` returns 403. Only destinations with stable release status are surfaced — destinations of other types are excluded. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Number of records to skip for pagination
@@ -46,7 +46,7 @@ public partial interface IObservabilityClient /// Example: 50 /// /// - /// Optional workspace ID to filter by. Defaults to the authenticated entity's default workspace.
+ /// Optional workspace ID to filter by. Defaults to the authenticated entity's default workspace, or a workspace-scoped management key's own workspace.
/// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.Update.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.Update.g.cs index fc96646e8..8f64708de 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.Update.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.Update.g.cs @@ -6,7 +6,7 @@ public partial interface IObservabilityClient { /// /// Update an observability destination
- /// Update an existing observability destination. Only the fields provided in the request body are updated. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Update an existing observability destination. Only the fields provided in the request body are updated. A workspace-scoped management key only reaches destinations in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The destination ID (UUID).
@@ -24,7 +24,7 @@ public partial interface IObservabilityClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Update an observability destination
- /// Update an existing observability destination. Only the fields provided in the request body are updated. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Update an existing observability destination. Only the fields provided in the request body are updated. A workspace-scoped management key only reaches destinations in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The destination ID (UUID).
@@ -42,14 +42,14 @@ public partial interface IObservabilityClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Update an observability destination
- /// Update an existing observability destination. Only the fields provided in the request body are updated. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Update an existing observability destination. Only the fields provided in the request body are updated. A workspace-scoped management key only reaches destinations in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The destination ID (UUID).
/// Example: 99999999-aaaa-bbbb-cccc-dddddddddddd /// /// - /// Optional allowlist of OpenRouter API key hashes. `null` clears the filter (all keys). Omitting leaves the current value. Must contain at least one hash if provided.
+ /// Optional allowlist of OpenRouter API key hashes. `null` clears the filter (all keys). Omitting leaves the current value, including any API key from another workspace that an organization-scoped key attached. Must contain at least one hash if provided. A workspace-scoped management key can only name API keys in its own workspace; any other hash returns 400.
/// Example: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 /// /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs index a5c469fe8..4f74f7699 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs @@ -1342,6 +1342,7 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.Workspace))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreditPurchase))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreditPurchaseStatus), TypeInfoPropertyName = "CreditPurchaseStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreditPurchasePaymentRequired))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreditPurchaseResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "AnyOfCustomToolFormatVariant1CustomToolFormatVariant22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CustomToolFormatVariant1))] @@ -1504,7 +1505,7 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ExtractionForecastFieldType), TypeInfoPropertyName = "ExtractionForecastFieldType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ExtractionListAnswer))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ExtractionListAnswerSource), TypeInfoPropertyName = "ExtractionListAnswerSource2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ExtractionListAnswerType), TypeInfoPropertyName = "ExtractionListAnswerType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ExtractionListField))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ExtractionListFieldItems), TypeInfoPropertyName = "ExtractionListFieldItems2")] @@ -1534,7 +1535,6 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ExtractionTextFieldType), TypeInfoPropertyName = "ExtractionTextFieldType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ExtractionTimeAnswerSource), TypeInfoPropertyName = "ExtractionTimeAnswerSource2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ExtractionTimeAnswerType), TypeInfoPropertyName = "ExtractionTimeAnswerType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ExtractionTimeFieldType), TypeInfoPropertyName = "ExtractionTimeFieldType2")] internal sealed partial class SourceGenerationContextChunk2 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -1632,6 +1632,7 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.McpServerToolOpenRouter>>), TypeInfoPropertyName = "McpServerToolOpenRouter_fd1aafb377e55677")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2, global::OpenRouter.McpServerToolOpenRouter>>), TypeInfoPropertyName = "McpServerToolOpenRouter_c5b4e0c90a2233c6")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ExtractionTimeFieldType), TypeInfoPropertyName = "ExtractionTimeFieldType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FailableToolCallStatus), TypeInfoPropertyName = "FailableToolCallStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FailedEvent))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FailedEventType), TypeInfoPropertyName = "FailedEventType2")] @@ -2050,7 +2051,6 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.McpServerToolType), TypeInfoPropertyName = "McpServerToolType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.McpServerToolParameters))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.McpServerToolOpenRouterType), TypeInfoPropertyName = "McpServerToolOpenRouterType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf, global::OpenRouter.McpServerToolParametersAllowedTools>), TypeInfoPropertyName = "AnyOfIListStringMcpServerToolParametersAllowedTools2")] internal sealed partial class SourceGenerationContextChunk3 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -2148,6 +2148,7 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.McpServerToolOpenRouter>>), TypeInfoPropertyName = "McpServerToolOpenRouter_fd1aafb377e55677")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2, global::OpenRouter.McpServerToolOpenRouter>>), TypeInfoPropertyName = "McpServerToolOpenRouter_c5b4e0c90a2233c6")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf, global::OpenRouter.McpServerToolParametersAllowedTools>), TypeInfoPropertyName = "AnyOfIListStringMcpServerToolParametersAllowedTools2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.McpServerToolParametersAllowedTools))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.McpServerToolParametersRequireApprovalVariant1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.McpServerToolParametersRequireApprovalVariant1Always))] @@ -2560,7 +2561,6 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenRouterFileType), TypeInfoPropertyName = "OpenRouterFileType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenRouterFileDeletedShape), TypeInfoPropertyName = "OpenRouterFileDeletedShape2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenRouterFileDeletedType), TypeInfoPropertyName = "OpenRouterFileDeletedType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenRouterFileListShape), TypeInfoPropertyName = "OpenRouterFileListShape2")] internal sealed partial class SourceGenerationContextChunk4 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -2658,6 +2658,7 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.McpServerToolOpenRouter>>), TypeInfoPropertyName = "McpServerToolOpenRouter_fd1aafb377e55677")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2, global::OpenRouter.McpServerToolOpenRouter>>), TypeInfoPropertyName = "McpServerToolOpenRouter_c5b4e0c90a2233c6")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenRouterFileListShape), TypeInfoPropertyName = "OpenRouterFileListShape2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RouterAttempt))] @@ -3070,7 +3071,6 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.StreamLogprobTopLogprob), TypeInfoPropertyName = "StreamLogprobTopLogprob2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.STTEntity))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.STTInlineInputAudio))] internal sealed partial class SourceGenerationContextChunk5 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -3168,6 +3168,7 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.McpServerToolOpenRouter>>), TypeInfoPropertyName = "McpServerToolOpenRouter_fd1aafb377e55677")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2, global::OpenRouter.McpServerToolOpenRouter>>), TypeInfoPropertyName = "McpServerToolOpenRouter_c5b4e0c90a2233c6")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.STTInlineInputAudio))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.STTInputAudio), TypeInfoPropertyName = "STTInputAudio2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.STTUrlInputAudio))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.STTRequest))] @@ -3582,7 +3583,6 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicBashCodeExecutionContent?), TypeInfoPropertyName = "NullableAnthropicBashCodeExecutionContent2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicBashCodeExecutionContentDiscriminatorType?), TypeInfoPropertyName = "NullableAnthropicBashCodeExecutionContentDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicBashCodeExecutionOutputType?), TypeInfoPropertyName = "NullableAnthropicBashCodeExecutionOutputType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicBashCodeExecutionResultType?), TypeInfoPropertyName = "NullableAnthropicBashCodeExecutionResultType2")] internal sealed partial class SourceGenerationContextChunk6 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -3680,6 +3680,7 @@ internal sealed partial class SourceGenerationContextChunk6 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.McpServerToolOpenRouter>>), TypeInfoPropertyName = "McpServerToolOpenRouter_fd1aafb377e55677")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2, global::OpenRouter.McpServerToolOpenRouter>>), TypeInfoPropertyName = "McpServerToolOpenRouter_c5b4e0c90a2233c6")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicBashCodeExecutionResultType?), TypeInfoPropertyName = "NullableAnthropicBashCodeExecutionResultType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicBashCodeExecutionToolResultType?), TypeInfoPropertyName = "NullableAnthropicBashCodeExecutionToolResultType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorErrorCode?), TypeInfoPropertyName = "NullableAnthropicBashCodeExecutionToolResultErrorErrorCode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorType?), TypeInfoPropertyName = "NullableAnthropicBashCodeExecutionToolResultErrorType2")] @@ -4096,7 +4097,6 @@ internal sealed partial class SourceGenerationContextChunk6 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DecisionsBoxAnswerType?), TypeInfoPropertyName = "NullableDecisionsBoxAnswerType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>?), TypeInfoPropertyName = "NullableAnyOfStringObjectIListObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DecisionsBoxQuestionType?), TypeInfoPropertyName = "NullableDecisionsBoxQuestionType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DecisionsChoiceAnswerType?), TypeInfoPropertyName = "NullableDecisionsChoiceAnswerType2")] internal sealed partial class SourceGenerationContextChunk7 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -4194,6 +4194,7 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.McpServerToolOpenRouter>>), TypeInfoPropertyName = "McpServerToolOpenRouter_fd1aafb377e55677")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2, global::OpenRouter.McpServerToolOpenRouter>>), TypeInfoPropertyName = "McpServerToolOpenRouter_c5b4e0c90a2233c6")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DecisionsChoiceAnswerType?), TypeInfoPropertyName = "NullableDecisionsChoiceAnswerType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DecisionsChoiceQuestionType?), TypeInfoPropertyName = "NullableDecisionsChoiceQuestionType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DecisionsImageAssetFormat?), TypeInfoPropertyName = "NullableDecisionsImageAssetFormat2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DecisionsImageAssetType?), TypeInfoPropertyName = "NullableDecisionsImageAssetType2")] @@ -4610,7 +4611,6 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDoneType?), TypeInfoPropertyName = "NullableOpenAIResponsesCodeInterpreterCallCodeDoneType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesCodeInterpreterCallCompletedType?), TypeInfoPropertyName = "NullableOpenAIResponsesCodeInterpreterCallCompletedType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesCodeInterpreterCallInProgressType?), TypeInfoPropertyName = "NullableOpenAIResponsesCodeInterpreterCallInProgressType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesCodeInterpreterCallInterpretingType?), TypeInfoPropertyName = "NullableOpenAIResponsesCodeInterpreterCallInterpretingType2")] internal sealed partial class SourceGenerationContextChunk8 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -4708,6 +4708,7 @@ internal sealed partial class SourceGenerationContextChunk8 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.McpServerToolOpenRouter>>), TypeInfoPropertyName = "McpServerToolOpenRouter_fd1aafb377e55677")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2, global::OpenRouter.McpServerToolOpenRouter>>), TypeInfoPropertyName = "McpServerToolOpenRouter_c5b4e0c90a2233c6")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesCodeInterpreterCallInterpretingType?), TypeInfoPropertyName = "NullableOpenAIResponsesCodeInterpreterCallInterpretingType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesImageGenCallCompletedType?), TypeInfoPropertyName = "NullableOpenAIResponsesImageGenCallCompletedType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesImageGenCallGeneratingType?), TypeInfoPropertyName = "NullableOpenAIResponsesImageGenCallGeneratingType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesImageGenCallInProgressType?), TypeInfoPropertyName = "NullableOpenAIResponsesImageGenCallInProgressType2")] @@ -5120,7 +5121,6 @@ internal sealed partial class SourceGenerationContextChunk8 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] internal sealed partial class SourceGenerationContextChunk9 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -5218,6 +5218,7 @@ internal sealed partial class SourceGenerationContextChunk9 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.McpServerToolOpenRouter>>), TypeInfoPropertyName = "McpServerToolOpenRouter_fd1aafb377e55677")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2, global::OpenRouter.McpServerToolOpenRouter>>), TypeInfoPropertyName = "McpServerToolOpenRouter_c5b4e0c90a2233c6")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -5291,7 +5292,7 @@ internal sealed partial class SourceGenerationContextChunk9 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs index 4a34d7ae6..9b5be81f3 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs @@ -4206,7183 +4206,7187 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::OpenRouter.CreditPurchaseResponse? Type1042 { get; set; } + public global::OpenRouter.CreditPurchasePaymentRequired? Type1042 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1043 { get; set; } + public global::OpenRouter.CreditPurchaseResponse? Type1043 { get; set; } /// /// /// - public global::OpenRouter.CustomToolFormatVariant1? Type1044 { get; set; } + public global::OpenRouter.AnyOf? Type1044 { get; set; } /// /// /// - public global::OpenRouter.CustomToolFormatVariant1Type? Type1045 { get; set; } + public global::OpenRouter.CustomToolFormatVariant1? Type1045 { get; set; } /// /// /// - public global::OpenRouter.CustomToolFormatVariant2? Type1046 { get; set; } + public global::OpenRouter.CustomToolFormatVariant1Type? Type1046 { get; set; } /// /// /// - public global::OpenRouter.CustomToolFormatVariant2Syntax? Type1047 { get; set; } + public global::OpenRouter.CustomToolFormatVariant2? Type1047 { get; set; } /// /// /// - public global::OpenRouter.CustomToolFormatVariant2Type? Type1048 { get; set; } + public global::OpenRouter.CustomToolFormatVariant2Syntax? Type1048 { get; set; } /// /// /// - public global::OpenRouter.CustomToolType? Type1049 { get; set; } + public global::OpenRouter.CustomToolFormatVariant2Type? Type1049 { get; set; } /// /// /// - public global::OpenRouter.CustomToolCallInputDeltaEvent? Type1050 { get; set; } + public global::OpenRouter.CustomToolType? Type1050 { get; set; } /// /// /// - public global::OpenRouter.CustomToolCallInputDoneEvent? Type1051 { get; set; } + public global::OpenRouter.CustomToolCallInputDeltaEvent? Type1051 { get; set; } /// /// /// - public global::OpenRouter.CustomToolCallItem? Type1052 { get; set; } + public global::OpenRouter.CustomToolCallInputDoneEvent? Type1052 { get; set; } /// /// /// - public global::OpenRouter.ToolCallStatus? Type1053 { get; set; } + public global::OpenRouter.CustomToolCallItem? Type1053 { get; set; } /// /// /// - public global::OpenRouter.CustomToolCallItemType? Type1054 { get; set; } + public global::OpenRouter.ToolCallStatus? Type1054 { get; set; } /// /// /// - public global::OpenRouter.CustomToolCallOutputItem? Type1055 { get; set; } + public global::OpenRouter.CustomToolCallItemType? Type1055 { get; set; } /// /// /// - public global::OpenRouter.CustomToolCallOutputItemVariant2? Type1056 { get; set; } + public global::OpenRouter.CustomToolCallOutputItem? Type1056 { get; set; } /// /// /// - public global::OpenRouter.AnyOf?, global::OpenRouter.InputFile>>>? Type1057 { get; set; } + public global::OpenRouter.CustomToolCallOutputItemVariant2? Type1057 { get; set; } /// /// /// - public global::System.Collections.Generic.IList?, global::OpenRouter.InputFile>>? Type1058 { get; set; } + public global::OpenRouter.AnyOf?, global::OpenRouter.InputFile>>>? Type1058 { get; set; } /// /// /// - public global::OpenRouter.OneOf?, global::OpenRouter.InputFile>? Type1059 { get; set; } + public global::System.Collections.Generic.IList?, global::OpenRouter.InputFile>>? Type1059 { get; set; } /// /// /// - public global::OpenRouter.DABenchmarkEntry? Type1060 { get; set; } + public global::OpenRouter.OneOf?, global::OpenRouter.InputFile>? Type1060 { get; set; } /// /// /// - public global::OpenRouter.DatetimeServerToolConfig? Type1061 { get; set; } + public global::OpenRouter.DABenchmarkEntry? Type1061 { get; set; } /// /// /// - public global::OpenRouter.DatetimeServerToolType? Type1062 { get; set; } + public global::OpenRouter.DatetimeServerToolConfig? Type1062 { get; set; } /// /// /// - public global::OpenRouter.DebugEvent? Type1063 { get; set; } + public global::OpenRouter.DatetimeServerToolType? Type1063 { get; set; } /// /// /// - public global::OpenRouter.DebugEventDebug? Type1064 { get; set; } + public global::OpenRouter.DebugEvent? Type1064 { get; set; } /// /// /// - public global::OpenRouter.DebugEventDebugTimings? Type1065 { get; set; } + public global::OpenRouter.DebugEventDebug? Type1065 { get; set; } /// /// /// - public global::OpenRouter.DebugEventDebugTimingsEvent? Type1066 { get; set; } + public global::OpenRouter.DebugEventDebugTimings? Type1066 { get; set; } /// /// /// - public global::OpenRouter.DebugEventType? Type1067 { get; set; } + public global::OpenRouter.DebugEventDebugTimingsEvent? Type1067 { get; set; } /// /// /// - public global::OpenRouter.Decisions? Type1068 { get; set; } + public global::OpenRouter.DebugEventType? Type1068 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1069 { get; set; } + public global::OpenRouter.Decisions? Type1069 { get; set; } /// /// /// - public global::OpenRouter.PercentileStats? Type1070 { get; set; } + public global::OpenRouter.AllOf? Type1070 { get; set; } /// /// /// - public global::OpenRouter.DecisionsBoxAnswer? Type1071 { get; set; } + public global::OpenRouter.PercentileStats? Type1071 { get; set; } /// /// /// - public global::OpenRouter.DecisionsBoxAnswerBox? Type1072 { get; set; } + public global::OpenRouter.DecisionsBoxAnswer? Type1072 { get; set; } /// /// /// - public global::OpenRouter.DecisionsBoxAnswerType? Type1073 { get; set; } + public global::OpenRouter.DecisionsBoxAnswerBox? Type1073 { get; set; } /// /// /// - public global::OpenRouter.DecisionsBoxQuestion? Type1074 { get; set; } + public global::OpenRouter.DecisionsBoxAnswerType? Type1074 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type1075 { get; set; } + public global::OpenRouter.DecisionsBoxQuestion? Type1075 { get; set; } /// /// /// - public global::OpenRouter.DecisionsBoxQuestionType? Type1076 { get; set; } + public global::OpenRouter.AnyOf>? Type1076 { get; set; } /// /// /// - public global::OpenRouter.DecisionsChoiceAnswer? Type1077 { get; set; } + public global::OpenRouter.DecisionsBoxQuestionType? Type1077 { get; set; } /// /// /// - public global::OpenRouter.DecisionsChoiceAnswerType? Type1078 { get; set; } + public global::OpenRouter.DecisionsChoiceAnswer? Type1078 { get; set; } /// /// /// - public global::OpenRouter.DecisionsChoiceQuestion? Type1079 { get; set; } + public global::OpenRouter.DecisionsChoiceAnswerType? Type1079 { get; set; } /// /// /// - public global::OpenRouter.DecisionsChoiceQuestionType? Type1080 { get; set; } + public global::OpenRouter.DecisionsChoiceQuestion? Type1080 { get; set; } /// /// /// - public global::OpenRouter.DecisionsImageAsset? Type1081 { get; set; } + public global::OpenRouter.DecisionsChoiceQuestionType? Type1081 { get; set; } /// /// /// - public global::OpenRouter.DecisionsImageAssetFormat? Type1082 { get; set; } + public global::OpenRouter.DecisionsImageAsset? Type1082 { get; set; } /// /// /// - public global::OpenRouter.DecisionsImageAssetType? Type1083 { get; set; } + public global::OpenRouter.DecisionsImageAssetFormat? Type1083 { get; set; } /// /// /// - public global::OpenRouter.DecisionsNoulAnswer? Type1084 { get; set; } + public global::OpenRouter.DecisionsImageAssetType? Type1084 { get; set; } /// /// /// - public global::OpenRouter.DecisionsNoulAnswerType? Type1085 { get; set; } + public global::OpenRouter.DecisionsNoulAnswer? Type1085 { get; set; } /// /// /// - public global::OpenRouter.DecisionsNoulQuestion? Type1086 { get; set; } + public global::OpenRouter.DecisionsNoulAnswerType? Type1086 { get; set; } /// /// /// - public global::OpenRouter.DecisionsNoulQuestionCriteria? Type1087 { get; set; } + public global::OpenRouter.DecisionsNoulQuestion? Type1087 { get; set; } /// /// /// - public global::OpenRouter.DecisionsNoulQuestionType? Type1088 { get; set; } + public global::OpenRouter.DecisionsNoulQuestionCriteria? Type1088 { get; set; } /// /// /// - public global::OpenRouter.DecisionsRefusalAnswer? Type1089 { get; set; } + public global::OpenRouter.DecisionsNoulQuestionType? Type1089 { get; set; } /// /// /// - public global::OpenRouter.DecisionsRefusalAnswerType? Type1090 { get; set; } + public global::OpenRouter.DecisionsRefusalAnswer? Type1090 { get; set; } /// /// /// - public global::OpenRouter.DecisionsRequest? Type1091 { get; set; } + public global::OpenRouter.DecisionsRefusalAnswerType? Type1091 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type1092 { get; set; } + public global::OpenRouter.DecisionsRequest? Type1092 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1093 { get; set; } + public global::System.Collections.Generic.Dictionary? Type1093 { get; set; } /// /// /// - public global::OpenRouter.Questions? Type1094 { get; set; } + public global::OpenRouter.AllOf? Type1094 { get; set; } /// /// /// - public global::OpenRouter.DecisionsScoreQuestion? Type1095 { get; set; } + public global::OpenRouter.Questions? Type1095 { get; set; } /// /// /// - public global::OpenRouter.DecisionsRequestQuestionsDiscriminator? Type1096 { get; set; } + public global::OpenRouter.DecisionsScoreQuestion? Type1096 { get; set; } /// /// /// - public global::OpenRouter.DecisionsRequestQuestionsDiscriminatorType? Type1097 { get; set; } + public global::OpenRouter.DecisionsRequestQuestionsDiscriminator? Type1097 { get; set; } /// /// /// - public global::OpenRouter.DecisionsResponse? Type1098 { get; set; } + public global::OpenRouter.DecisionsRequestQuestionsDiscriminatorType? Type1098 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1099 { get; set; } + public global::OpenRouter.DecisionsResponse? Type1099 { get; set; } /// /// /// - public global::OpenRouter.DecisionsUrlCitationAnnotation? Type1100 { get; set; } + public global::System.Collections.Generic.IList? Type1100 { get; set; } /// /// /// - public global::OpenRouter.Answers? Type1101 { get; set; } + public global::OpenRouter.DecisionsUrlCitationAnnotation? Type1101 { get; set; } /// /// /// - public global::OpenRouter.DecisionsScoreAnswer? Type1102 { get; set; } + public global::OpenRouter.Answers? Type1102 { get; set; } /// /// /// - public global::OpenRouter.DecisionsResponseAnswersDiscriminator? Type1103 { get; set; } + public global::OpenRouter.DecisionsScoreAnswer? Type1103 { get; set; } /// /// /// - public global::OpenRouter.DecisionsResponseAnswersDiscriminatorType? Type1104 { get; set; } + public global::OpenRouter.DecisionsResponseAnswersDiscriminator? Type1104 { get; set; } /// /// /// - public global::OpenRouter.DecisionsResponseUsage? Type1105 { get; set; } + public global::OpenRouter.DecisionsResponseAnswersDiscriminatorType? Type1105 { get; set; } /// /// /// - public global::OpenRouter.DecisionsUsageInputTokensDetails? Type1106 { get; set; } + public global::OpenRouter.DecisionsResponseUsage? Type1106 { get; set; } /// /// /// - public global::OpenRouter.DecisionsScoreAnswerType? Type1107 { get; set; } + public global::OpenRouter.DecisionsUsageInputTokensDetails? Type1107 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>>? Type1108 { get; set; } + public global::OpenRouter.DecisionsScoreAnswerType? Type1108 { get; set; } /// /// /// - public global::OpenRouter.DecisionsScoreQuestionType? Type1109 { get; set; } + public global::System.Collections.Generic.IList>>? Type1109 { get; set; } /// /// /// - public global::OpenRouter.DecisionsUrlCitationAnnotationType? Type1110 { get; set; } + public global::OpenRouter.DecisionsScoreQuestionType? Type1110 { get; set; } /// /// /// - public global::OpenRouter.DecisionsUrlCitationAnnotationUrlCitation? Type1111 { get; set; } + public global::OpenRouter.DecisionsUrlCitationAnnotationType? Type1111 { get; set; } /// /// /// - public global::OpenRouter.DefaultParameters? Type1112 { get; set; } + public global::OpenRouter.DecisionsUrlCitationAnnotationUrlCitation? Type1112 { get; set; } /// /// /// - public global::OpenRouter.DeferredBm25Search? Type1113 { get; set; } + public global::OpenRouter.DefaultParameters? Type1113 { get; set; } /// /// /// - public global::OpenRouter.DeferredBm25SearchType? Type1114 { get; set; } + public global::OpenRouter.DeferredBm25Search? Type1114 { get; set; } /// /// /// - public global::OpenRouter.DeferredCustomSearch? Type1115 { get; set; } + public global::OpenRouter.DeferredBm25SearchType? Type1115 { get; set; } /// /// /// - public global::OpenRouter.DeferredCustomSearchType? Type1116 { get; set; } + public global::OpenRouter.DeferredCustomSearch? Type1116 { get; set; } /// /// /// - public global::OpenRouter.DeferredRegexSearch? Type1117 { get; set; } + public global::OpenRouter.DeferredCustomSearchType? Type1117 { get; set; } /// /// /// - public global::OpenRouter.DeferredRegexSearchType? Type1118 { get; set; } + public global::OpenRouter.DeferredRegexSearch? Type1118 { get; set; } /// /// /// - public global::OpenRouter.DeferredToolsControlCascadeMode? Type1119 { get; set; } + public global::OpenRouter.DeferredRegexSearchType? Type1119 { get; set; } /// /// /// - public global::OpenRouter.DeferredToolsControlInterface? Type1120 { get; set; } + public global::OpenRouter.DeferredToolsControlCascadeMode? Type1120 { get; set; } /// /// /// - public global::OpenRouter.DeferredToolsControlProfile? Type1121 { get; set; } + public global::OpenRouter.DeferredToolsControlInterface? Type1121 { get; set; } /// /// /// - public global::OpenRouter.DeferredToolsControlProtocol? Type1122 { get; set; } + public global::OpenRouter.DeferredToolsControlProfile? Type1122 { get; set; } /// /// /// - public global::OpenRouter.DeferredToolsControlScope? Type1123 { get; set; } + public global::OpenRouter.DeferredToolsControlProtocol? Type1123 { get; set; } /// /// /// - public global::OpenRouter.DeferredToolsSearchStrategy? Type1124 { get; set; } + public global::OpenRouter.DeferredToolsControlScope? Type1124 { get; set; } /// /// /// - public global::OpenRouter.DeferredToolsControlValidation? Type1125 { get; set; } + public global::OpenRouter.DeferredToolsSearchStrategy? Type1125 { get; set; } /// /// /// - public global::OpenRouter.DeferredToolsSearchStrategyDiscriminator? Type1126 { get; set; } + public global::OpenRouter.DeferredToolsControlValidation? Type1126 { get; set; } /// /// /// - public global::OpenRouter.DeferredToolsSearchStrategyDiscriminatorType? Type1127 { get; set; } + public global::OpenRouter.DeferredToolsSearchStrategyDiscriminator? Type1127 { get; set; } /// /// /// - public global::OpenRouter.DeleteBYOKKeyResponse? Type1128 { get; set; } + public global::OpenRouter.DeferredToolsSearchStrategyDiscriminatorType? Type1128 { get; set; } /// /// /// - public global::OpenRouter.DeleteGuardrailPolicyResponse? Type1129 { get; set; } + public global::OpenRouter.DeleteBYOKKeyResponse? Type1129 { get; set; } /// /// /// - public global::OpenRouter.DeleteGuardrailResponse? Type1130 { get; set; } + public global::OpenRouter.DeleteGuardrailPolicyResponse? Type1130 { get; set; } /// /// /// - public global::OpenRouter.DeleteObservabilityDestinationResponse? Type1131 { get; set; } + public global::OpenRouter.DeleteGuardrailResponse? Type1131 { get; set; } /// /// /// - public global::OpenRouter.DeletePrivateEndpointResponse? Type1132 { get; set; } + public global::OpenRouter.DeleteObservabilityDestinationResponse? Type1132 { get; set; } /// /// /// - public global::OpenRouter.DeletePrivateEndpointResponseData? Type1133 { get; set; } + public global::OpenRouter.DeletePrivateEndpointResponse? Type1133 { get; set; } /// /// /// - public global::OpenRouter.DeleteScimGroupMappingResponse? Type1134 { get; set; } + public global::OpenRouter.DeletePrivateEndpointResponseData? Type1134 { get; set; } /// /// /// - public global::OpenRouter.DeleteWorkspaceBudgetResponse? Type1135 { get; set; } + public global::OpenRouter.DeleteScimGroupMappingResponse? Type1135 { get; set; } /// /// /// - public global::OpenRouter.DeleteWorkspaceResponse? Type1136 { get; set; } + public global::OpenRouter.DeleteWorkspaceBudgetResponse? Type1136 { get; set; } /// /// /// - public global::OpenRouter.EasyInputMessage? Type1137 { get; set; } + public global::OpenRouter.DeleteWorkspaceResponse? Type1137 { get; set; } /// /// /// - public global::OpenRouter.AnyOf?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>>, string>? Type1138 { get; set; } + public global::OpenRouter.EasyInputMessage? Type1138 { get; set; } /// /// /// - public global::System.Collections.Generic.IList?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>>? Type1139 { get; set; } + public global::OpenRouter.AnyOf?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>>, string>? Type1139 { get; set; } /// /// /// - public global::OpenRouter.OneOf?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>? Type1140 { get; set; } + public global::System.Collections.Generic.IList?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>>? Type1140 { get; set; } /// /// /// - public global::OpenRouter.InputVideo? Type1141 { get; set; } + public global::OpenRouter.OneOf?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>? Type1141 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1142 { get; set; } + public global::OpenRouter.InputVideo? Type1142 { get; set; } /// /// /// - public global::OpenRouter.EasyInputMessagePhaseVariant1? Type1143 { get; set; } + public global::OpenRouter.AnyOf? Type1143 { get; set; } /// /// /// - public global::OpenRouter.EasyInputMessagePhaseVariant2? Type1144 { get; set; } + public global::OpenRouter.EasyInputMessagePhaseVariant1? Type1144 { get; set; } /// /// /// - public global::OpenRouter.EasyInputMessageRoleVariant1? Type1145 { get; set; } + public global::OpenRouter.EasyInputMessagePhaseVariant2? Type1145 { get; set; } /// /// /// - public global::OpenRouter.EasyInputMessageRoleVariant2? Type1146 { get; set; } + public global::OpenRouter.EasyInputMessageRoleVariant1? Type1146 { get; set; } /// /// /// - public global::OpenRouter.EasyInputMessageRoleVariant3? Type1147 { get; set; } + public global::OpenRouter.EasyInputMessageRoleVariant2? Type1147 { get; set; } /// /// /// - public global::OpenRouter.EasyInputMessageRoleVariant4? Type1148 { get; set; } + public global::OpenRouter.EasyInputMessageRoleVariant3? Type1148 { get; set; } /// /// /// - public global::OpenRouter.EasyInputMessageType? Type1149 { get; set; } + public global::OpenRouter.EasyInputMessageRoleVariant4? Type1149 { get; set; } /// /// /// - public global::OpenRouter.EdgeNetworkTimeoutResponse? Type1150 { get; set; } + public global::OpenRouter.EasyInputMessageType? Type1150 { get; set; } /// /// /// - public global::OpenRouter.EdgeNetworkTimeoutResponseErrorData? Type1151 { get; set; } + public global::OpenRouter.EdgeNetworkTimeoutResponse? Type1151 { get; set; } /// /// /// - public global::OpenRouter.Embeddings? Type1152 { get; set; } + public global::OpenRouter.EdgeNetworkTimeoutResponseErrorData? Type1152 { get; set; } /// /// /// - public global::OpenRouter.EndpointInfo? Type1153 { get; set; } + public global::OpenRouter.Embeddings? Type1153 { get; set; } /// /// /// - public global::OpenRouter.EndpointsMetadata? Type1154 { get; set; } + public global::OpenRouter.EndpointInfo? Type1154 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1155 { get; set; } + public global::OpenRouter.EndpointsMetadata? Type1155 { get; set; } /// /// /// - public global::OpenRouter.EnumCapabilityType? Type1156 { get; set; } + public global::System.Collections.Generic.IList? Type1156 { get; set; } /// /// /// - public global::OpenRouter.ErrorEvent? Type1157 { get; set; } + public global::OpenRouter.EnumCapabilityType? Type1157 { get; set; } /// /// /// - public global::OpenRouter.ExternalUser? Type1158 { get; set; } + public global::OpenRouter.ErrorEvent? Type1158 { get; set; } /// /// /// - public global::OpenRouter.ExternalUserResponse? Type1159 { get; set; } + public global::OpenRouter.ExternalUser? Type1159 { get; set; } /// /// /// - public global::OpenRouter.ExtractionAsset? Type1160 { get; set; } + public global::OpenRouter.ExternalUserResponse? Type1160 { get; set; } /// /// /// - public global::OpenRouter.ExtractionAssetFormat? Type1161 { get; set; } + public global::OpenRouter.ExtractionAsset? Type1161 { get; set; } /// /// /// - public global::OpenRouter.ExtractionAssetType? Type1162 { get; set; } + public global::OpenRouter.ExtractionAssetFormat? Type1162 { get; set; } /// /// /// - public global::OpenRouter.ExtractionDateAnswer? Type1163 { get; set; } + public global::OpenRouter.ExtractionAssetType? Type1163 { get; set; } /// /// /// - public global::OpenRouter.ExtractionDateAnswerSource? Type1164 { get; set; } + public global::OpenRouter.ExtractionDateAnswer? Type1164 { get; set; } /// /// /// - public global::OpenRouter.ExtractionDateAnswerType? Type1165 { get; set; } + public global::OpenRouter.ExtractionDateAnswerSource? Type1165 { get; set; } /// /// /// - public global::OpenRouter.ExtractionDateField? Type1166 { get; set; } + public global::OpenRouter.ExtractionDateAnswerType? Type1166 { get; set; } /// /// /// - public global::OpenRouter.ExtractionDateFieldType? Type1167 { get; set; } + public global::OpenRouter.ExtractionDateField? Type1167 { get; set; } /// /// /// - public global::OpenRouter.ExtractionDatetimeAnswer? Type1168 { get; set; } + public global::OpenRouter.ExtractionDateFieldType? Type1168 { get; set; } /// /// /// - public global::OpenRouter.ExtractionDatetimeAnswerSource? Type1169 { get; set; } + public global::OpenRouter.ExtractionDatetimeAnswer? Type1169 { get; set; } /// /// /// - public global::OpenRouter.ExtractionDatetimeAnswerType? Type1170 { get; set; } + public global::OpenRouter.ExtractionDatetimeAnswerSource? Type1170 { get; set; } /// /// /// - public global::OpenRouter.ExtractionDatetimeField? Type1171 { get; set; } + public global::OpenRouter.ExtractionDatetimeAnswerType? Type1171 { get; set; } /// /// /// - public global::OpenRouter.ExtractionDatetimeFieldType? Type1172 { get; set; } + public global::OpenRouter.ExtractionDatetimeField? Type1172 { get; set; } /// /// /// - public global::OpenRouter.ExtractionDurationAnswer? Type1173 { get; set; } + public global::OpenRouter.ExtractionDatetimeFieldType? Type1173 { get; set; } /// /// /// - public global::OpenRouter.ExtractionDurationAnswerSource? Type1174 { get; set; } + public global::OpenRouter.ExtractionDurationAnswer? Type1174 { get; set; } /// /// /// - public global::OpenRouter.ExtractionDurationAnswerType? Type1175 { get; set; } + public global::OpenRouter.ExtractionDurationAnswerSource? Type1175 { get; set; } /// /// /// - public global::OpenRouter.ExtractionDurationField? Type1176 { get; set; } + public global::OpenRouter.ExtractionDurationAnswerType? Type1176 { get; set; } /// /// /// - public global::OpenRouter.ExtractionDurationFieldType? Type1177 { get; set; } + public global::OpenRouter.ExtractionDurationField? Type1177 { get; set; } /// /// /// - public global::OpenRouter.ExtractionEstimateAnswer? Type1178 { get; set; } + public global::OpenRouter.ExtractionDurationFieldType? Type1178 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1179 { get; set; } + public global::OpenRouter.ExtractionEstimateAnswer? Type1179 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type1180 { get; set; } + public global::OpenRouter.AnyOf? Type1180 { get; set; } /// /// /// - public global::OpenRouter.ExtractionEstimateAnswerSource? Type1181 { get; set; } + public global::System.Collections.Generic.IList>? Type1181 { get; set; } /// /// /// - public global::OpenRouter.ExtractionEstimateAnswerType? Type1182 { get; set; } + public global::OpenRouter.ExtractionEstimateAnswerSource? Type1182 { get; set; } /// /// /// - public global::OpenRouter.ExtractionEstimateField? Type1183 { get; set; } + public global::OpenRouter.ExtractionEstimateAnswerType? Type1183 { get; set; } /// /// /// - public global::OpenRouter.ExtractionEstimateFieldScale? Type1184 { get; set; } + public global::OpenRouter.ExtractionEstimateField? Type1184 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1185 { get; set; } + public global::OpenRouter.ExtractionEstimateFieldScale? Type1185 { get; set; } /// /// /// - public global::OpenRouter.ExtractionEstimateFieldStepVariant2? Type1186 { get; set; } + public global::OpenRouter.AnyOf? Type1186 { get; set; } /// /// /// - public global::OpenRouter.ExtractionEstimateFieldStepVariant3? Type1187 { get; set; } + public global::OpenRouter.ExtractionEstimateFieldStepVariant2? Type1187 { get; set; } /// /// /// - public global::OpenRouter.ExtractionEstimateFieldType? Type1188 { get; set; } + public global::OpenRouter.ExtractionEstimateFieldStepVariant3? Type1188 { get; set; } /// /// /// - public global::OpenRouter.ExtractionForecastAnswer? Type1189 { get; set; } + public global::OpenRouter.ExtractionEstimateFieldType? Type1189 { get; set; } /// /// /// - public global::OpenRouter.ExtractionForecastAnswerSource? Type1190 { get; set; } + public global::OpenRouter.ExtractionForecastAnswer? Type1190 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1191 { get; set; } + public global::OpenRouter.ExtractionForecastAnswerSource? Type1191 { get; set; } /// /// /// - public global::OpenRouter.ExtractionForecastStep? Type1192 { get; set; } + public global::System.Collections.Generic.IList? Type1192 { get; set; } /// /// /// - public global::OpenRouter.ExtractionForecastAnswerType? Type1193 { get; set; } + public global::OpenRouter.ExtractionForecastStep? Type1193 { get; set; } /// /// /// - public global::OpenRouter.ExtractionForecastField? Type1194 { get; set; } + public global::OpenRouter.ExtractionForecastAnswerType? Type1194 { get; set; } /// /// /// - public global::OpenRouter.ExtractionForecastFieldInterval? Type1195 { get; set; } + public global::OpenRouter.ExtractionForecastField? Type1195 { get; set; } /// /// /// - public global::OpenRouter.ExtractionForecastFieldScale? Type1196 { get; set; } + public global::OpenRouter.ExtractionForecastFieldInterval? Type1196 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1197 { get; set; } + public global::OpenRouter.ExtractionForecastFieldScale? Type1197 { get; set; } /// /// /// - public global::OpenRouter.ExtractionForecastFieldStepVariant2? Type1198 { get; set; } + public global::OpenRouter.AnyOf? Type1198 { get; set; } /// /// /// - public global::OpenRouter.ExtractionForecastFieldStepVariant3? Type1199 { get; set; } + public global::OpenRouter.ExtractionForecastFieldStepVariant2? Type1199 { get; set; } /// /// /// - public global::OpenRouter.ExtractionForecastFieldType? Type1200 { get; set; } + public global::OpenRouter.ExtractionForecastFieldStepVariant3? Type1200 { get; set; } /// /// /// - public global::OpenRouter.ExtractionListAnswer? Type1201 { get; set; } + public global::OpenRouter.ExtractionForecastFieldType? Type1201 { get; set; } /// /// /// - public global::OpenRouter.ExtractionListAnswerSource? Type1202 { get; set; } + public global::OpenRouter.ExtractionListAnswer? Type1202 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type1203 { get; set; } + public global::OpenRouter.ExtractionListAnswerSource? Type1203 { get; set; } /// /// /// - public global::OpenRouter.ExtractionListAnswerType? Type1204 { get; set; } + public global::System.Collections.Generic.IList?>? Type1204 { get; set; } /// /// /// - public global::OpenRouter.ExtractionListField? Type1205 { get; set; } + public global::OpenRouter.ExtractionListAnswerType? Type1205 { get; set; } /// /// /// - public global::OpenRouter.ExtractionListFieldItems? Type1206 { get; set; } + public global::OpenRouter.ExtractionListField? Type1206 { get; set; } /// /// /// - public global::OpenRouter.ExtractionListFieldType? Type1207 { get; set; } + public global::OpenRouter.ExtractionListFieldItems? Type1207 { get; set; } /// /// /// - public global::OpenRouter.ExtractionNumberAnswer? Type1208 { get; set; } + public global::OpenRouter.ExtractionListFieldType? Type1208 { get; set; } /// /// /// - public global::OpenRouter.ExtractionNumberAnswerSource? Type1209 { get; set; } + public global::OpenRouter.ExtractionNumberAnswer? Type1209 { get; set; } /// /// /// - public global::OpenRouter.ExtractionNumberAnswerType? Type1210 { get; set; } + public global::OpenRouter.ExtractionNumberAnswerSource? Type1210 { get; set; } /// /// /// - public global::OpenRouter.ExtractionNumberField? Type1211 { get; set; } + public global::OpenRouter.ExtractionNumberAnswerType? Type1211 { get; set; } /// /// /// - public global::OpenRouter.ExtractionNumberFieldType? Type1212 { get; set; } + public global::OpenRouter.ExtractionNumberField? Type1212 { get; set; } /// /// /// - public global::OpenRouter.Extractions? Type1213 { get; set; } + public global::OpenRouter.ExtractionNumberFieldType? Type1213 { get; set; } /// /// /// - public global::OpenRouter.ExtractionsRequest? Type1214 { get; set; } + public global::OpenRouter.Extractions? Type1214 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type1215 { get; set; } + public global::OpenRouter.ExtractionsRequest? Type1215 { get; set; } /// /// /// - public global::OpenRouter.Fields? Type1216 { get; set; } + public global::System.Collections.Generic.Dictionary? Type1216 { get; set; } /// /// /// - public global::OpenRouter.ExtractionTextField? Type1217 { get; set; } + public global::OpenRouter.Fields? Type1217 { get; set; } /// /// /// - public global::OpenRouter.ExtractionTimeField? Type1218 { get; set; } + public global::OpenRouter.ExtractionTextField? Type1218 { get; set; } /// /// /// - public global::OpenRouter.ExtractionsRequestFieldsDiscriminator? Type1219 { get; set; } + public global::OpenRouter.ExtractionTimeField? Type1219 { get; set; } /// /// /// - public global::OpenRouter.ExtractionsRequestFieldsDiscriminatorType? Type1220 { get; set; } + public global::OpenRouter.ExtractionsRequestFieldsDiscriminator? Type1220 { get; set; } /// /// /// - public global::OpenRouter.ExtractionsResponse? Type1221 { get; set; } + public global::OpenRouter.ExtractionsRequestFieldsDiscriminatorType? Type1221 { get; set; } /// /// /// - public global::OpenRouter.Answers2? Type1222 { get; set; } + public global::OpenRouter.ExtractionsResponse? Type1222 { get; set; } /// /// /// - public global::OpenRouter.ExtractionTextAnswer? Type1223 { get; set; } + public global::OpenRouter.Answers2? Type1223 { get; set; } /// /// /// - public global::OpenRouter.ExtractionTimeAnswer? Type1224 { get; set; } + public global::OpenRouter.ExtractionTextAnswer? Type1224 { get; set; } /// /// /// - public global::OpenRouter.ExtractionsResponseAnswersDiscriminator? Type1225 { get; set; } + public global::OpenRouter.ExtractionTimeAnswer? Type1225 { get; set; } /// /// /// - public global::OpenRouter.ExtractionsResponseAnswersDiscriminatorType? Type1226 { get; set; } + public global::OpenRouter.ExtractionsResponseAnswersDiscriminator? Type1226 { get; set; } /// /// /// - public global::OpenRouter.ExtractionsUsage? Type1227 { get; set; } + public global::OpenRouter.ExtractionsResponseAnswersDiscriminatorType? Type1227 { get; set; } /// /// /// - public global::OpenRouter.ExtractionTextAnswerSource? Type1228 { get; set; } + public global::OpenRouter.ExtractionsUsage? Type1228 { get; set; } /// /// /// - public global::OpenRouter.ExtractionTextAnswerType? Type1229 { get; set; } + public global::OpenRouter.ExtractionTextAnswerSource? Type1229 { get; set; } /// /// /// - public global::OpenRouter.ExtractionTextFieldType? Type1230 { get; set; } + public global::OpenRouter.ExtractionTextAnswerType? Type1230 { get; set; } /// /// /// - public global::OpenRouter.ExtractionTimeAnswerSource? Type1231 { get; set; } + public global::OpenRouter.ExtractionTextFieldType? Type1231 { get; set; } /// /// /// - public global::OpenRouter.ExtractionTimeAnswerType? Type1232 { get; set; } + public global::OpenRouter.ExtractionTimeAnswerSource? Type1232 { get; set; } /// /// /// - public global::OpenRouter.ExtractionTimeFieldType? Type1233 { get; set; } + public global::OpenRouter.ExtractionTimeAnswerType? Type1233 { get; set; } /// /// /// - public global::OpenRouter.FailableToolCallStatus? Type1234 { get; set; } + public global::OpenRouter.ExtractionTimeFieldType? Type1234 { get; set; } /// /// /// - public global::OpenRouter.FailedEvent? Type1235 { get; set; } + public global::OpenRouter.FailableToolCallStatus? Type1235 { get; set; } /// /// /// - public global::OpenRouter.FailedEventType? Type1236 { get; set; } + public global::OpenRouter.FailedEvent? Type1236 { get; set; } /// /// /// - public global::OpenRouter.FileCitation? Type1237 { get; set; } + public global::OpenRouter.FailedEventType? Type1237 { get; set; } /// /// /// - public global::OpenRouter.FileCitationType? Type1238 { get; set; } + public global::OpenRouter.FileCitation? Type1238 { get; set; } /// /// /// - public global::OpenRouter.FileDeleteResponse? Type1239 { get; set; } + public global::OpenRouter.FileCitationType? Type1239 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFileDeleted? Type1240 { get; set; } + public global::OpenRouter.FileDeleteResponse? Type1240 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileDeleted? Type1241 { get; set; } + public global::OpenRouter.OpenRouterFileDeleted? Type1241 { get; set; } /// /// /// - public global::OpenRouter.FileDeleteResponseDiscriminator? Type1242 { get; set; } + public global::OpenRouter.OpenAIFileDeleted? Type1242 { get; set; } /// /// /// - public global::OpenRouter.FileDeleteResponseDiscriminatorShape? Type1243 { get; set; } + public global::OpenRouter.FileDeleteResponseDiscriminator? Type1243 { get; set; } /// /// /// - public global::OpenRouter.FileListResponse? Type1244 { get; set; } + public global::OpenRouter.FileDeleteResponseDiscriminatorShape? Type1244 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFileList? Type1245 { get; set; } + public global::OpenRouter.FileListResponse? Type1245 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileList? Type1246 { get; set; } + public global::OpenRouter.OpenRouterFileList? Type1246 { get; set; } /// /// /// - public global::OpenRouter.FileListResponseDiscriminator? Type1247 { get; set; } + public global::OpenRouter.OpenAIFileList? Type1247 { get; set; } /// /// /// - public global::OpenRouter.FileListResponseDiscriminatorShape? Type1248 { get; set; } + public global::OpenRouter.FileListResponseDiscriminator? Type1248 { get; set; } /// /// /// - public global::OpenRouter.FileParserPluginId? Type1249 { get; set; } + public global::OpenRouter.FileListResponseDiscriminatorShape? Type1249 { get; set; } /// /// /// - public global::OpenRouter.PDFParserOptions? Type1250 { get; set; } + public global::OpenRouter.FileParserPluginId? Type1250 { get; set; } /// /// /// - public global::OpenRouter.FilePath? Type1251 { get; set; } + public global::OpenRouter.PDFParserOptions? Type1251 { get; set; } /// /// /// - public global::OpenRouter.FilePathType? Type1252 { get; set; } + public global::OpenRouter.FilePath? Type1252 { get; set; } /// /// /// - public global::OpenRouter.FileProvider? Type1253 { get; set; } + public global::OpenRouter.FilePathType? Type1253 { get; set; } /// /// /// - public global::OpenRouter.FileResponse? Type1254 { get; set; } + public global::OpenRouter.FileProvider? Type1254 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFile? Type1255 { get; set; } + public global::OpenRouter.FileResponse? Type1255 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFile? Type1256 { get; set; } + public global::OpenRouter.OpenRouterFile? Type1256 { get; set; } /// /// /// - public global::OpenRouter.FileResponseDiscriminator? Type1257 { get; set; } + public global::OpenRouter.OpenAIFile? Type1257 { get; set; } /// /// /// - public global::OpenRouter.FileResponseDiscriminatorShape? Type1258 { get; set; } + public global::OpenRouter.FileResponseDiscriminator? Type1258 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1259 { get; set; } + public global::OpenRouter.FileResponseDiscriminatorShape? Type1259 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolFilters? Type1260 { get; set; } + public global::OpenRouter.AnyOf? Type1260 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolFiltersType? Type1261 { get; set; } + public global::OpenRouter.FileSearchServerToolFilters? Type1261 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>>? Type1262 { get; set; } + public global::OpenRouter.FileSearchServerToolFiltersType? Type1262 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolRankingOptions? Type1263 { get; set; } + public global::OpenRouter.AnyOf>>? Type1263 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolRankingOptionsRanker? Type1264 { get; set; } + public global::OpenRouter.FileSearchServerToolRankingOptions? Type1264 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolType? Type1265 { get; set; } + public global::OpenRouter.FileSearchServerToolRankingOptionsRanker? Type1265 { get; set; } /// /// /// - public global::OpenRouter.FilesServerToolConfig? Type1266 { get; set; } + public global::OpenRouter.FileSearchServerToolType? Type1266 { get; set; } /// /// /// - public global::OpenRouter.FilesServerToolType? Type1267 { get; set; } + public global::OpenRouter.FilesServerToolConfig? Type1267 { get; set; } /// /// /// - public global::OpenRouter.Filter? Type1268 { get; set; } + public global::OpenRouter.FilesServerToolType? Type1268 { get; set; } /// /// /// - public global::OpenRouter.ScalarFilter? Type1269 { get; set; } + public global::OpenRouter.Filter? Type1269 { get; set; } /// /// /// - public global::OpenRouter.SetFilter? Type1270 { get; set; } + public global::OpenRouter.ScalarFilter? Type1270 { get; set; } /// /// /// - public global::OpenRouter.ForbiddenResponse? Type1271 { get; set; } + public global::OpenRouter.SetFilter? Type1271 { get; set; } /// /// /// - public global::OpenRouter.ForbiddenResponseErrorData? Type1272 { get; set; } + public global::OpenRouter.ForbiddenResponse? Type1272 { get; set; } /// /// /// - public global::OpenRouter.FormatJsonObjectConfig? Type1273 { get; set; } + public global::OpenRouter.ForbiddenResponseErrorData? Type1273 { get; set; } /// /// /// - public global::OpenRouter.FormatJsonObjectConfigType? Type1274 { get; set; } + public global::OpenRouter.FormatJsonObjectConfig? Type1274 { get; set; } /// /// /// - public global::OpenRouter.FormatJsonSchemaConfig? Type1275 { get; set; } + public global::OpenRouter.FormatJsonObjectConfigType? Type1275 { get; set; } /// /// /// - public global::OpenRouter.FormatJsonSchemaConfigType? Type1276 { get; set; } + public global::OpenRouter.FormatJsonSchemaConfig? Type1276 { get; set; } /// /// /// - public global::OpenRouter.Formats? Type1277 { get; set; } + public global::OpenRouter.FormatJsonSchemaConfigType? Type1277 { get; set; } /// /// /// - public global::OpenRouter.FormatTextConfig? Type1278 { get; set; } + public global::OpenRouter.Formats? Type1278 { get; set; } /// /// /// - public global::OpenRouter.FormatTextConfigType? Type1279 { get; set; } + public global::OpenRouter.FormatTextConfig? Type1279 { get; set; } /// /// /// - public global::OpenRouter.FrameImage? Type1280 { get; set; } + public global::OpenRouter.FormatTextConfigType? Type1280 { get; set; } /// /// /// - public global::OpenRouter.FrameImageVariant2? Type1281 { get; set; } + public global::OpenRouter.FrameImage? Type1281 { get; set; } /// /// /// - public global::OpenRouter.FrameImageVariant2FrameType? Type1282 { get; set; } + public global::OpenRouter.FrameImageVariant2? Type1282 { get; set; } /// /// /// - public global::OpenRouter.FreeModelDailyRequests? Type1283 { get; set; } + public global::OpenRouter.FrameImageVariant2FrameType? Type1283 { get; set; } /// /// /// - public global::OpenRouter.FunctionCallArgsDeltaEvent? Type1284 { get; set; } + public global::OpenRouter.FreeModelDailyRequests? Type1284 { get; set; } /// /// /// - public global::OpenRouter.FunctionCallArgsDoneEvent? Type1285 { get; set; } + public global::OpenRouter.FunctionCallArgsDeltaEvent? Type1285 { get; set; } /// /// /// - public global::OpenRouter.FunctionCallItem? Type1286 { get; set; } + public global::OpenRouter.FunctionCallArgsDoneEvent? Type1286 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1287 { get; set; } + public global::OpenRouter.FunctionCallItem? Type1287 { get; set; } /// /// /// - public global::OpenRouter.FunctionCallItemSubagentItem? Type1288 { get; set; } + public global::System.Collections.Generic.IList? Type1288 { get; set; } /// /// /// - public global::OpenRouter.FunctionCallItemType? Type1289 { get; set; } + public global::OpenRouter.FunctionCallItemSubagentItem? Type1289 { get; set; } /// /// /// - public global::OpenRouter.FunctionCallOutputItem? Type1290 { get; set; } + public global::OpenRouter.FunctionCallItemType? Type1290 { get; set; } /// /// /// - public global::OpenRouter.FunctionCallOutputItemVariant2? Type1291 { get; set; } + public global::OpenRouter.FunctionCallOutputItem? Type1291 { get; set; } /// /// /// - public global::OpenRouter.FunctionToolType? Type1292 { get; set; } + public global::OpenRouter.FunctionCallOutputItemVariant2? Type1292 { get; set; } /// /// /// - public global::OpenRouter.FusionAnalysisResult? Type1293 { get; set; } + public global::OpenRouter.FunctionToolType? Type1293 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1294 { get; set; } + public global::OpenRouter.FusionAnalysisResult? Type1294 { get; set; } /// /// /// - public global::OpenRouter.FusionAnalysisResultContradiction? Type1295 { get; set; } + public global::System.Collections.Generic.IList? Type1295 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1296 { get; set; } + public global::OpenRouter.FusionAnalysisResultContradiction? Type1296 { get; set; } /// /// /// - public global::OpenRouter.FusionAnalysisResultContradictionStance? Type1297 { get; set; } + public global::System.Collections.Generic.IList? Type1297 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1298 { get; set; } + public global::OpenRouter.FusionAnalysisResultContradictionStance? Type1298 { get; set; } /// /// /// - public global::OpenRouter.FusionAnalysisResultPartialCoverageItem? Type1299 { get; set; } + public global::System.Collections.Generic.IList? Type1299 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1300 { get; set; } + public global::OpenRouter.FusionAnalysisResultPartialCoverageItem? Type1300 { get; set; } /// /// /// - public global::OpenRouter.FusionAnalysisResultUniqueInsight? Type1301 { get; set; } + public global::System.Collections.Generic.IList? Type1301 { get; set; } /// /// /// - public global::OpenRouter.FusionCallAnalysisCompletedEvent? Type1302 { get; set; } + public global::OpenRouter.FusionAnalysisResultUniqueInsight? Type1302 { get; set; } /// /// /// - public global::OpenRouter.FusionCallAnalysisCompletedEventType? Type1303 { get; set; } + public global::OpenRouter.FusionCallAnalysisCompletedEvent? Type1303 { get; set; } /// /// /// - public global::OpenRouter.FusionCallAnalysisInProgressEvent? Type1304 { get; set; } + public global::OpenRouter.FusionCallAnalysisCompletedEventType? Type1304 { get; set; } /// /// /// - public global::OpenRouter.FusionCallAnalysisInProgressEventType? Type1305 { get; set; } + public global::OpenRouter.FusionCallAnalysisInProgressEvent? Type1305 { get; set; } /// /// /// - public global::OpenRouter.FusionCallCompletedEvent? Type1306 { get; set; } + public global::OpenRouter.FusionCallAnalysisInProgressEventType? Type1306 { get; set; } /// /// /// - public global::OpenRouter.FusionCallCompletedEventType? Type1307 { get; set; } + public global::OpenRouter.FusionCallCompletedEvent? Type1307 { get; set; } /// /// /// - public global::OpenRouter.FusionCallInProgressEvent? Type1308 { get; set; } + public global::OpenRouter.FusionCallCompletedEventType? Type1308 { get; set; } /// /// /// - public global::OpenRouter.FusionCallInProgressEventType? Type1309 { get; set; } + public global::OpenRouter.FusionCallInProgressEvent? Type1309 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelAddedEvent? Type1310 { get; set; } + public global::OpenRouter.FusionCallInProgressEventType? Type1310 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelAddedEventType? Type1311 { get; set; } + public global::OpenRouter.FusionCallPanelAddedEvent? Type1311 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelCompletedEvent? Type1312 { get; set; } + public global::OpenRouter.FusionCallPanelAddedEventType? Type1312 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelCompletedEventType? Type1313 { get; set; } + public global::OpenRouter.FusionCallPanelCompletedEvent? Type1313 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelDeltaEvent? Type1314 { get; set; } + public global::OpenRouter.FusionCallPanelCompletedEventType? Type1314 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelDeltaEventType? Type1315 { get; set; } + public global::OpenRouter.FusionCallPanelDeltaEvent? Type1315 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelFailedEvent? Type1316 { get; set; } + public global::OpenRouter.FusionCallPanelDeltaEventType? Type1316 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelFailedEventType? Type1317 { get; set; } + public global::OpenRouter.FusionCallPanelFailedEvent? Type1317 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelReasoningDeltaEvent? Type1318 { get; set; } + public global::OpenRouter.FusionCallPanelFailedEventType? Type1318 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelReasoningDeltaEventType? Type1319 { get; set; } + public global::OpenRouter.FusionCallPanelReasoningDeltaEvent? Type1319 { get; set; } /// /// /// - public global::OpenRouter.FusionPluginId? Type1320 { get; set; } + public global::OpenRouter.FusionCallPanelReasoningDeltaEventType? Type1320 { get; set; } /// /// /// - public global::OpenRouter.FusionPluginPreset? Type1321 { get; set; } + public global::OpenRouter.FusionPluginId? Type1321 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1322 { get; set; } + public global::OpenRouter.FusionPluginPreset? Type1322 { get; set; } /// /// /// - public global::OpenRouter.FusionPluginTool? Type1323 { get; set; } + public global::System.Collections.Generic.IList? Type1323 { get; set; } /// /// /// - public global::OpenRouter.AnyOf?>, object>? Type1324 { get; set; } + public global::OpenRouter.FusionPluginTool? Type1324 { get; set; } /// /// /// - public global::System.Collections.Generic.IList?>? Type1325 { get; set; } + public global::OpenRouter.AnyOf?>, object>? Type1325 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1326 { get; set; } + public global::System.Collections.Generic.IList?>? Type1326 { get; set; } /// /// /// - public global::OpenRouter.FusionServerToolConfig? Type1327 { get; set; } + public global::OpenRouter.AnyOf? Type1327 { get; set; } /// /// /// - public global::OpenRouter.FusionServerToolOpenRouterType? Type1328 { get; set; } + public global::OpenRouter.FusionServerToolConfig? Type1328 { get; set; } /// /// /// - public global::OpenRouter.FusionServerToolConfigReasoning? Type1329 { get; set; } + public global::OpenRouter.FusionServerToolOpenRouterType? Type1329 { get; set; } /// /// /// - public global::OpenRouter.FusionServerToolConfigReasoningEffort? Type1330 { get; set; } + public global::OpenRouter.FusionServerToolConfigReasoning? Type1330 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1331 { get; set; } + public global::OpenRouter.FusionServerToolConfigReasoningEffort? Type1331 { get; set; } /// /// /// - public global::OpenRouter.FusionServerToolConfigTool? Type1332 { get; set; } + public global::System.Collections.Generic.IList? Type1332 { get; set; } /// /// /// - public global::OpenRouter.FusionSource? Type1333 { get; set; } + public global::OpenRouter.FusionServerToolConfigTool? Type1333 { get; set; } /// /// /// - public global::OpenRouter.GatewayTimeoutResponse? Type1334 { get; set; } + public global::OpenRouter.FusionSource? Type1334 { get; set; } /// /// /// - public global::OpenRouter.GatewayTimeoutResponseErrorData? Type1335 { get; set; } + public global::OpenRouter.GatewayTimeoutResponse? Type1335 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentData? Type1336 { get; set; } + public global::OpenRouter.GatewayTimeoutResponseErrorData? Type1336 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentError? Type1337 { get; set; } + public global::OpenRouter.GenerationContentData? Type1337 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1338 { get; set; } + public global::OpenRouter.GenerationContentError? Type1338 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentDataInputVariant1? Type1339 { get; set; } + public global::OpenRouter.AnyOf? Type1339 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentDataInputVariant2? Type1340 { get; set; } + public global::OpenRouter.GenerationContentDataInputVariant1? Type1340 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentDataOutput? Type1341 { get; set; } + public global::OpenRouter.GenerationContentDataInputVariant2? Type1341 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1342 { get; set; } + public global::OpenRouter.GenerationContentDataOutput? Type1342 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentErrorAttempt? Type1343 { get; set; } + public global::System.Collections.Generic.IList? Type1343 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentResponse? Type1344 { get; set; } + public global::OpenRouter.GenerationContentErrorAttempt? Type1344 { get; set; } /// /// /// - public global::OpenRouter.GenerationResponse? Type1345 { get; set; } + public global::OpenRouter.GenerationContentResponse? Type1345 { get; set; } /// /// /// - public global::OpenRouter.GenerationResponseData? Type1346 { get; set; } + public global::OpenRouter.GenerationResponse? Type1346 { get; set; } /// /// /// - public global::OpenRouter.GenerationResponseDataApiType? Type1347 { get; set; } + public global::OpenRouter.GenerationResponseData? Type1347 { get; set; } /// /// /// - public global::OpenRouter.GenerationResponseDataDataRegion? Type1348 { get; set; } + public global::OpenRouter.GenerationResponseDataApiType? Type1348 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1349 { get; set; } + public global::OpenRouter.GenerationResponseDataDataRegion? Type1349 { get; set; } /// /// /// - public global::OpenRouter.ProviderResponse? Type1350 { get; set; } + public global::System.Collections.Generic.IList? Type1350 { get; set; } /// /// /// - public global::OpenRouter.GetBYOKKeyResponse? Type1351 { get; set; } + public global::OpenRouter.ProviderResponse? Type1351 { get; set; } /// /// /// - public global::OpenRouter.GetGuardrailResponse? Type1352 { get; set; } + public global::OpenRouter.GetBYOKKeyResponse? Type1352 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponse? Type1353 { get; set; } + public global::OpenRouter.GetGuardrailResponse? Type1353 { get; set; } /// /// /// - public global::OpenRouter.GetPresetResponse? Type1354 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponse? Type1354 { get; set; } /// /// /// - public global::OpenRouter.GetPresetVersionResponse? Type1355 { get; set; } + public global::OpenRouter.GetPresetResponse? Type1355 { get; set; } /// /// /// - public global::OpenRouter.PresetDesignatedVersion? Type1356 { get; set; } + public global::OpenRouter.GetPresetVersionResponse? Type1356 { get; set; } /// /// /// - public global::OpenRouter.GetScimGroupMappingResponse? Type1357 { get; set; } + public global::OpenRouter.PresetDesignatedVersion? Type1357 { get; set; } /// /// /// - public global::OpenRouter.GetScimSyncJobResponse? Type1358 { get; set; } + public global::OpenRouter.GetScimGroupMappingResponse? Type1358 { get; set; } /// /// /// - public global::OpenRouter.GetToolResponse? Type1359 { get; set; } + public global::OpenRouter.GetScimSyncJobResponse? Type1359 { get; set; } /// /// /// - public global::OpenRouter.ServerToolDetails? Type1360 { get; set; } + public global::OpenRouter.GetToolResponse? Type1360 { get; set; } /// /// /// - public global::OpenRouter.GetWorkspaceBudgetResponse? Type1361 { get; set; } + public global::OpenRouter.ServerToolDetails? Type1361 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1362 { get; set; } + public global::OpenRouter.GetWorkspaceBudgetResponse? Type1362 { get; set; } /// /// /// - public global::OpenRouter.WorkspaceBudget? Type1363 { get; set; } + public global::OpenRouter.AllOf? Type1363 { get; set; } /// /// /// - public global::OpenRouter.GetWorkspaceResponse? Type1364 { get; set; } + public global::OpenRouter.WorkspaceBudget? Type1364 { get; set; } /// /// /// - public global::OpenRouter.GoneResponse? Type1365 { get; set; } + public global::OpenRouter.GetWorkspaceResponse? Type1365 { get; set; } /// /// /// - public global::OpenRouter.GoneResponseErrorData? Type1366 { get; set; } + public global::OpenRouter.GoneResponse? Type1366 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1367 { get; set; } + public global::OpenRouter.GoneResponseErrorData? Type1367 { get; set; } /// /// /// - public global::OpenRouter.GuardrailBudgetPolicyAuthoringConfigResetInterval? Type1368 { get; set; } + public global::System.Collections.Generic.IList? Type1368 { get; set; } /// /// /// - public global::OpenRouter.GuardrailModelAvailabilityPolicyConfig? Type1369 { get; set; } + public global::OpenRouter.GuardrailBudgetPolicyAuthoringConfigResetInterval? Type1369 { get; set; } /// /// /// - public global::OpenRouter.GuardrailModerationPolicyConfigArmor? Type1370 { get; set; } + public global::OpenRouter.GuardrailModelAvailabilityPolicyConfig? Type1370 { get; set; } /// /// /// - public global::OpenRouter.GuardrailModerationPolicyConfigArmorMode? Type1371 { get; set; } + public global::OpenRouter.GuardrailModerationPolicyConfigArmor? Type1371 { get; set; } /// /// /// - public global::OpenRouter.GuardrailModerationPolicyConfigArmorOnError? Type1372 { get; set; } + public global::OpenRouter.GuardrailModerationPolicyConfigArmorMode? Type1372 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1373 { get; set; } + public global::OpenRouter.GuardrailModerationPolicyConfigArmorOnError? Type1373 { get; set; } /// /// /// - public global::OpenRouter.GuardrailModerationPolicyConfigContentFilterBuiltin? Type1374 { get; set; } + public global::System.Collections.Generic.IList? Type1374 { get; set; } /// /// /// - public global::OpenRouter.GuardrailModerationPolicyConfigContentFilterBuiltinAction? Type1375 { get; set; } + public global::OpenRouter.GuardrailModerationPolicyConfigContentFilterBuiltin? Type1375 { get; set; } /// /// /// - public global::OpenRouter.GuardrailModerationPolicyConfigContentFilterBuiltinScanScope? Type1376 { get; set; } + public global::OpenRouter.GuardrailModerationPolicyConfigContentFilterBuiltinAction? Type1376 { get; set; } /// /// /// - public global::OpenRouter.GuardrailModerationPolicyConfigContentFilterBuiltinSlug? Type1377 { get; set; } + public global::OpenRouter.GuardrailModerationPolicyConfigContentFilterBuiltinScanScope? Type1377 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1378 { get; set; } + public global::OpenRouter.GuardrailModerationPolicyConfigContentFilterBuiltinSlug? Type1378 { get; set; } /// /// /// - public global::OpenRouter.GuardrailModerationPolicyConfigContentFilter? Type1379 { get; set; } + public global::System.Collections.Generic.IList? Type1379 { get; set; } /// /// /// - public global::OpenRouter.GuardrailModerationPolicyConfigContentFilterAction? Type1380 { get; set; } + public global::OpenRouter.GuardrailModerationPolicyConfigContentFilter? Type1380 { get; set; } /// /// /// - public global::OpenRouter.GuardrailModerationPolicyConfigLakeraInjectionProtectionMode? Type1381 { get; set; } + public global::OpenRouter.GuardrailModerationPolicyConfigContentFilterAction? Type1381 { get; set; } /// /// /// - public global::OpenRouter.GuardrailModerationPolicyConfigModelArmorInjectionConfidenceLevel? Type1382 { get; set; } + public global::OpenRouter.GuardrailModerationPolicyConfigLakeraInjectionProtectionMode? Type1382 { get; set; } /// /// /// - public global::OpenRouter.GuardrailModerationPolicyConfigModelArmorInjectionProtectionMode? Type1383 { get; set; } + public global::OpenRouter.GuardrailModerationPolicyConfigModelArmorInjectionConfidenceLevel? Type1383 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1384 { get; set; } + public global::OpenRouter.GuardrailModerationPolicyConfigModelArmorInjectionProtectionMode? Type1384 { get; set; } /// /// /// - public global::OpenRouter.GuardrailModerationPolicyConfigPiiFilter? Type1385 { get; set; } + public global::System.Collections.Generic.IList? Type1385 { get; set; } /// /// /// - public global::OpenRouter.GuardrailModerationPolicyConfigPiiFilterAction? Type1386 { get; set; } + public global::OpenRouter.GuardrailModerationPolicyConfigPiiFilter? Type1386 { get; set; } /// /// /// - public global::OpenRouter.GuardrailPolicyAssignmentResponse? Type1387 { get; set; } + public global::OpenRouter.GuardrailModerationPolicyConfigPiiFilterAction? Type1387 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type1388 { get; set; } + public global::OpenRouter.GuardrailPolicyAssignmentResponse? Type1388 { get; set; } /// /// /// - public global::OpenRouter.ImageEndpoint? Type1389 { get; set; } + public global::OpenRouter.AnyOf>? Type1389 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1390 { get; set; } + public global::OpenRouter.ImageEndpoint? Type1390 { get; set; } /// /// /// - public global::OpenRouter.ImagePricingEntry? Type1391 { get; set; } + public global::System.Collections.Generic.IList? Type1391 { get; set; } /// /// /// - public global::OpenRouter.AllOf, object>? Type1392 { get; set; } + public global::OpenRouter.ImagePricingEntry? Type1392 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type1393 { get; set; } + public global::OpenRouter.AllOf, object>? Type1393 { get; set; } /// /// /// - public global::OpenRouter.ImageGenCallCompletedEvent? Type1394 { get; set; } + public global::System.Collections.Generic.Dictionary? Type1394 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallCompleted? Type1395 { get; set; } + public global::OpenRouter.ImageGenCallCompletedEvent? Type1395 { get; set; } /// /// /// - public global::OpenRouter.ImageGenCallGeneratingEvent? Type1396 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallCompleted? Type1396 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallGenerating? Type1397 { get; set; } + public global::OpenRouter.ImageGenCallGeneratingEvent? Type1397 { get; set; } /// /// /// - public global::OpenRouter.ImageGenCallInProgressEvent? Type1398 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallGenerating? Type1398 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallInProgress? Type1399 { get; set; } + public global::OpenRouter.ImageGenCallInProgressEvent? Type1399 { get; set; } /// /// /// - public global::OpenRouter.ImageGenCallPartialImageEvent? Type1400 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallInProgress? Type1400 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallPartialImage? Type1401 { get; set; } + public global::OpenRouter.ImageGenCallPartialImageEvent? Type1401 { get; set; } /// /// /// - public global::OpenRouter.ImageGenCompletedEvent? Type1402 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallPartialImage? Type1402 { get; set; } /// /// /// - public global::OpenRouter.ImageGenCompletedEventType? Type1403 { get; set; } + public global::OpenRouter.ImageGenCompletedEvent? Type1403 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationUsage? Type1404 { get; set; } + public global::OpenRouter.ImageGenCompletedEventType? Type1404 { get; set; } /// /// /// - public global::OpenRouter.ImageGeneration? Type1405 { get; set; } + public global::OpenRouter.ImageGenerationUsage? Type1405 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationProviderPreferences? Type1406 { get; set; } + public global::OpenRouter.ImageGeneration? Type1406 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1407 { get; set; } + public global::OpenRouter.ImageGenerationProviderPreferences? Type1407 { get; set; } /// /// /// - public global::OpenRouter.ProviderOptions? Type1408 { get; set; } + public global::OpenRouter.AllOf? Type1408 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1409 { get; set; } + public global::OpenRouter.ProviderOptions? Type1409 { get; set; } /// /// /// - public global::OpenRouter.ProviderSort? Type1410 { get; set; } + public global::OpenRouter.AnyOf? Type1410 { get; set; } /// /// /// - public global::OpenRouter.ProviderSortConfig? Type1411 { get; set; } + public global::OpenRouter.ProviderSort? Type1411 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationRequest? Type1412 { get; set; } + public global::OpenRouter.ProviderSortConfig? Type1412 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationRequestAspectRatio? Type1413 { get; set; } + public global::OpenRouter.ImageGenerationRequest? Type1413 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationRequestBackground? Type1414 { get; set; } + public global::OpenRouter.ImageGenerationRequestAspectRatio? Type1414 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1415 { get; set; } + public global::OpenRouter.ImageGenerationRequestBackground? Type1415 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1416 { get; set; } + public global::System.Collections.Generic.IList? Type1416 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationRequestOutputFormat? Type1417 { get; set; } + public global::OpenRouter.AllOf? Type1417 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationRequestQuality? Type1418 { get; set; } + public global::OpenRouter.ImageGenerationRequestOutputFormat? Type1418 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationRequestResolution? Type1419 { get; set; } + public global::OpenRouter.ImageGenerationRequestQuality? Type1419 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationResponse? Type1420 { get; set; } + public global::OpenRouter.ImageGenerationRequestResolution? Type1420 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1421 { get; set; } + public global::OpenRouter.ImageGenerationResponse? Type1421 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationResponseDataItem? Type1422 { get; set; } + public global::System.Collections.Generic.IList? Type1422 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolBackground? Type1423 { get; set; } + public global::OpenRouter.ImageGenerationResponseDataItem? Type1423 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolInputFidelity? Type1424 { get; set; } + public global::OpenRouter.ImageGenerationServerToolBackground? Type1424 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolInputImageMask? Type1425 { get; set; } + public global::OpenRouter.ImageGenerationServerToolInputFidelity? Type1425 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolModeration? Type1426 { get; set; } + public global::OpenRouter.ImageGenerationServerToolInputImageMask? Type1426 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolOutputFormat? Type1427 { get; set; } + public global::OpenRouter.ImageGenerationServerToolModeration? Type1427 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolQuality? Type1428 { get; set; } + public global::OpenRouter.ImageGenerationServerToolOutputFormat? Type1428 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolType? Type1429 { get; set; } + public global::OpenRouter.ImageGenerationServerToolQuality? Type1429 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolConfig? Type1430 { get; set; } + public global::OpenRouter.ImageGenerationServerToolType? Type1430 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolOpenRouterType? Type1431 { get; set; } + public global::OpenRouter.ImageGenerationServerToolConfig? Type1431 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationStatus? Type1432 { get; set; } + public global::OpenRouter.ImageGenerationServerToolOpenRouterType? Type1432 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationUsageCompletionTokensDetails? Type1433 { get; set; } + public global::OpenRouter.ImageGenerationStatus? Type1433 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationUsagePromptTokensDetails? Type1434 { get; set; } + public global::OpenRouter.ImageGenerationUsageCompletionTokensDetails? Type1434 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationUsageServerToolUse? Type1435 { get; set; } + public global::OpenRouter.ImageGenerationUsagePromptTokensDetails? Type1435 { get; set; } /// /// /// - public global::OpenRouter.ImageGenPartialImageEvent? Type1436 { get; set; } + public global::OpenRouter.ImageGenerationUsageServerToolUse? Type1436 { get; set; } /// /// /// - public global::OpenRouter.ImageGenPartialImageEventType? Type1437 { get; set; } + public global::OpenRouter.ImageGenPartialImageEvent? Type1437 { get; set; } /// /// /// - public global::OpenRouter.ImageGenStreamErrorEvent? Type1438 { get; set; } + public global::OpenRouter.ImageGenPartialImageEventType? Type1438 { get; set; } /// /// /// - public global::OpenRouter.ImageGenStreamErrorEventError? Type1439 { get; set; } + public global::OpenRouter.ImageGenStreamErrorEvent? Type1439 { get; set; } /// /// /// - public global::OpenRouter.ImageGenStreamErrorEventType? Type1440 { get; set; } + public global::OpenRouter.ImageGenStreamErrorEventError? Type1440 { get; set; } /// /// /// - public global::OpenRouter.ImageGenTextChunkEvent? Type1441 { get; set; } + public global::OpenRouter.ImageGenStreamErrorEventType? Type1441 { get; set; } /// /// /// - public global::OpenRouter.ImageGenTextChunkEventPhase? Type1442 { get; set; } + public global::OpenRouter.ImageGenTextChunkEvent? Type1442 { get; set; } /// /// /// - public global::OpenRouter.ImageGenTextChunkEventType? Type1443 { get; set; } + public global::OpenRouter.ImageGenTextChunkEventPhase? Type1443 { get; set; } /// /// /// - public global::OpenRouter.ImageInputModality? Type1444 { get; set; } + public global::OpenRouter.ImageGenTextChunkEventType? Type1444 { get; set; } /// /// /// - public global::OpenRouter.ImageModelArchitecture? Type1445 { get; set; } + public global::OpenRouter.ImageInputModality? Type1445 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1446 { get; set; } + public global::OpenRouter.ImageModelArchitecture? Type1446 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1447 { get; set; } + public global::System.Collections.Generic.IList? Type1447 { get; set; } /// /// /// - public global::OpenRouter.ImageOutputModality? Type1448 { get; set; } + public global::System.Collections.Generic.IList? Type1448 { get; set; } /// /// /// - public global::OpenRouter.ImageModelEndpointsResponse? Type1449 { get; set; } + public global::OpenRouter.ImageOutputModality? Type1449 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1450 { get; set; } + public global::OpenRouter.ImageModelEndpointsResponse? Type1450 { get; set; } /// /// /// - public global::OpenRouter.ImageModelListItem? Type1451 { get; set; } + public global::System.Collections.Generic.IList? Type1451 { get; set; } /// /// /// - public global::OpenRouter.ImageModelsListResponse? Type1452 { get; set; } + public global::OpenRouter.ImageModelListItem? Type1452 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1453 { get; set; } + public global::OpenRouter.ImageModelsListResponse? Type1453 { get; set; } /// /// /// - public global::OpenRouter.ImagePricingEntryBillable? Type1454 { get; set; } + public global::System.Collections.Generic.IList? Type1454 { get; set; } /// /// /// - public global::OpenRouter.ImagePricingEntryUnit? Type1455 { get; set; } + public global::OpenRouter.ImagePricingEntryBillable? Type1455 { get; set; } /// /// /// - public global::OpenRouter.ImageStreamingResponse? Type1456 { get; set; } + public global::OpenRouter.ImagePricingEntryUnit? Type1456 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1457 { get; set; } + public global::OpenRouter.ImageStreamingResponse? Type1457 { get; set; } /// /// /// - public global::OpenRouter.IncompleteDetailsReason? Type1458 { get; set; } + public global::OpenRouter.AnyOf? Type1458 { get; set; } /// /// /// - public global::OpenRouter.IncompleteEvent? Type1459 { get; set; } + public global::OpenRouter.IncompleteDetailsReason? Type1459 { get; set; } /// /// /// - public global::OpenRouter.IncompleteEventType? Type1460 { get; set; } + public global::OpenRouter.IncompleteEvent? Type1460 { get; set; } /// /// /// - public global::OpenRouter.InProgressEvent? Type1461 { get; set; } + public global::OpenRouter.IncompleteEventType? Type1461 { get; set; } /// /// /// - public global::OpenRouter.InProgressEventType? Type1462 { get; set; } + public global::OpenRouter.InProgressEvent? Type1462 { get; set; } /// /// /// - public global::OpenRouter.InputAudioInputAudio1? Type1463 { get; set; } + public global::OpenRouter.InProgressEventType? Type1463 { get; set; } /// /// /// - public global::OpenRouter.InputAudioInputAudio1Format? Type1464 { get; set; } + public global::OpenRouter.InputAudioInputAudio1? Type1464 { get; set; } /// /// /// - public global::OpenRouter.InputAudioType? Type1465 { get; set; } + public global::OpenRouter.InputAudioInputAudio1Format? Type1465 { get; set; } /// /// /// - public global::OpenRouter.InputFileType? Type1466 { get; set; } + public global::OpenRouter.InputAudioType? Type1466 { get; set; } /// /// /// - public global::OpenRouter.InputImageDetail? Type1467 { get; set; } + public global::OpenRouter.InputFileType? Type1467 { get; set; } /// /// /// - public global::OpenRouter.InputImageType? Type1468 { get; set; } + public global::OpenRouter.InputImageDetail? Type1468 { get; set; } /// /// /// - public global::OpenRouter.InputMessageItem? Type1469 { get; set; } + public global::OpenRouter.InputImageType? Type1469 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1470 { get; set; } + public global::OpenRouter.InputMessageItem? Type1470 { get; set; } /// /// /// - public global::OpenRouter.InputMessageItemRoleVariant1? Type1471 { get; set; } + public global::OpenRouter.AnyOf? Type1471 { get; set; } /// /// /// - public global::OpenRouter.InputMessageItemRoleVariant2? Type1472 { get; set; } + public global::OpenRouter.InputMessageItemRoleVariant1? Type1472 { get; set; } /// /// /// - public global::OpenRouter.InputMessageItemRoleVariant3? Type1473 { get; set; } + public global::OpenRouter.InputMessageItemRoleVariant2? Type1473 { get; set; } /// /// /// - public global::OpenRouter.InputMessageItemType? Type1474 { get; set; } + public global::OpenRouter.InputMessageItemRoleVariant3? Type1474 { get; set; } /// /// /// - public global::OpenRouter.InputModality? Type1475 { get; set; } + public global::OpenRouter.InputMessageItemType? Type1475 { get; set; } /// /// /// - public global::OpenRouter.InputReference? Type1476 { get; set; } + public global::OpenRouter.InputModality? Type1476 { get; set; } /// /// /// - public global::OpenRouter.InputReferenceDiscriminator? Type1477 { get; set; } + public global::OpenRouter.InputReference? Type1477 { get; set; } /// /// /// - public global::OpenRouter.InputReferenceDiscriminatorType? Type1478 { get; set; } + public global::OpenRouter.InputReferenceDiscriminator? Type1478 { get; set; } /// /// /// - public global::OpenRouter.Inputs? Type1479 { get; set; } + public global::OpenRouter.InputReferenceDiscriminatorType? Type1479 { get; set; } /// /// /// - public global::OpenRouter.ReasoningItem? Type1480 { get; set; } + public global::OpenRouter.Inputs? Type1480 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1481 { get; set; } + public global::OpenRouter.ReasoningItem? Type1481 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageItem? Type1482 { get; set; } + public global::OpenRouter.AllOf? Type1482 { get; set; } /// /// /// - public global::OpenRouter.InputsVariant2ItemVariant82? Type1483 { get; set; } + public global::OpenRouter.OutputMessageItem? Type1483 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>, string>? Type1484 { get; set; } + public global::OpenRouter.InputsVariant2ItemVariant82? Type1484 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type1485 { get; set; } + public global::OpenRouter.AnyOf>, string>? Type1485 { get; set; } /// /// /// - public global::OpenRouter.InputsVariant2ItemVariant8Type? Type1486 { get; set; } + public global::System.Collections.Generic.IList>? Type1486 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1487 { get; set; } + public global::OpenRouter.InputsVariant2ItemVariant8Type? Type1487 { get; set; } /// /// /// - public global::OpenRouter.OutputReasoningItem? Type1488 { get; set; } + public global::OpenRouter.AllOf? Type1488 { get; set; } /// /// /// - public global::OpenRouter.InputsVariant2ItemVariant92? Type1489 { get; set; } + public global::OpenRouter.OutputReasoningItem? Type1489 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1490 { get; set; } + public global::OpenRouter.InputsVariant2ItemVariant92? Type1490 { get; set; } /// /// /// - public global::OpenRouter.OutputWebSearchCallItem? Type1491 { get; set; } + public global::System.Collections.Generic.IList? Type1491 { get; set; } /// /// /// - public global::OpenRouter.OutputFileSearchCallItem? Type1492 { get; set; } + public global::OpenRouter.OutputWebSearchCallItem? Type1492 { get; set; } /// /// /// - public global::OpenRouter.OutputImageGenerationCallItem? Type1493 { get; set; } + public global::OpenRouter.OutputFileSearchCallItem? Type1493 { get; set; } /// /// /// - public global::OpenRouter.OutputCodeInterpreterCallItem? Type1494 { get; set; } + public global::OpenRouter.OutputImageGenerationCallItem? Type1494 { get; set; } /// /// /// - public global::OpenRouter.OutputComputerCallItem? Type1495 { get; set; } + public global::OpenRouter.OutputCodeInterpreterCallItem? Type1495 { get; set; } /// /// /// - public global::OpenRouter.OutputDatetimeItem? Type1496 { get; set; } + public global::OpenRouter.OutputComputerCallItem? Type1496 { get; set; } /// /// /// - public global::OpenRouter.OutputWebSearchServerToolItem? Type1497 { get; set; } + public global::OpenRouter.OutputDatetimeItem? Type1497 { get; set; } /// /// /// - public global::OpenRouter.OutputCodeInterpreterServerToolItem? Type1498 { get; set; } + public global::OpenRouter.OutputWebSearchServerToolItem? Type1498 { get; set; } /// /// /// - public global::OpenRouter.OutputFileSearchServerToolItem? Type1499 { get; set; } + public global::OpenRouter.OutputCodeInterpreterServerToolItem? Type1499 { get; set; } /// /// /// - public global::OpenRouter.OutputImageGenerationServerToolItem? Type1500 { get; set; } + public global::OpenRouter.OutputFileSearchServerToolItem? Type1500 { get; set; } /// /// /// - public global::OpenRouter.OutputBrowserUseServerToolItem? Type1501 { get; set; } + public global::OpenRouter.OutputImageGenerationServerToolItem? Type1501 { get; set; } /// /// /// - public global::OpenRouter.OutputBashServerToolItem? Type1502 { get; set; } + public global::OpenRouter.OutputBrowserUseServerToolItem? Type1502 { get; set; } /// /// /// - public global::OpenRouter.OutputTextEditorServerToolItem? Type1503 { get; set; } + public global::OpenRouter.OutputBashServerToolItem? Type1503 { get; set; } /// /// /// - public global::OpenRouter.OutputApplyPatchServerToolItem? Type1504 { get; set; } + public global::OpenRouter.OutputTextEditorServerToolItem? Type1504 { get; set; } /// /// /// - public global::OpenRouter.OutputWebFetchServerToolItem? Type1505 { get; set; } + public global::OpenRouter.OutputApplyPatchServerToolItem? Type1505 { get; set; } /// /// /// - public global::OpenRouter.OutputToolSearchServerToolItem? Type1506 { get; set; } + public global::OpenRouter.OutputWebFetchServerToolItem? Type1506 { get; set; } /// /// /// - public global::OpenRouter.OutputMemoryServerToolItem? Type1507 { get; set; } + public global::OpenRouter.OutputToolSearchServerToolItem? Type1507 { get; set; } /// /// /// - public global::OpenRouter.OutputArmorBlockedItem? Type1508 { get; set; } + public global::OpenRouter.OutputMemoryServerToolItem? Type1508 { get; set; } /// /// /// - public global::OpenRouter.OutputSearchModelsServerToolItem? Type1509 { get; set; } + public global::OpenRouter.OutputArmorBlockedItem? Type1509 { get; set; } /// /// /// - public global::OpenRouter.OutputFusionServerToolItem? Type1510 { get; set; } + public global::OpenRouter.OutputSearchModelsServerToolItem? Type1510 { get; set; } /// /// /// - public global::OpenRouter.OutputAdvisorServerToolItem? Type1511 { get; set; } + public global::OpenRouter.OutputFusionServerToolItem? Type1511 { get; set; } /// /// /// - public global::OpenRouter.OutputSubagentServerToolItem? Type1512 { get; set; } + public global::OpenRouter.OutputAdvisorServerToolItem? Type1512 { get; set; } /// /// /// - public global::OpenRouter.OutputFilesServerToolItem? Type1513 { get; set; } + public global::OpenRouter.OutputSubagentServerToolItem? Type1513 { get; set; } /// /// /// - public global::OpenRouter.OutputShellServerToolItem? Type1514 { get; set; } + public global::OpenRouter.OutputFilesServerToolItem? Type1514 { get; set; } /// /// /// - public global::OpenRouter.LocalShellCallItem? Type1515 { get; set; } + public global::OpenRouter.OutputShellServerToolItem? Type1515 { get; set; } /// /// /// - public global::OpenRouter.LocalShellCallOutputItem? Type1516 { get; set; } + public global::OpenRouter.LocalShellCallItem? Type1516 { get; set; } /// /// /// - public global::OpenRouter.ShellCallItem? Type1517 { get; set; } + public global::OpenRouter.LocalShellCallOutputItem? Type1517 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputItem? Type1518 { get; set; } + public global::OpenRouter.ShellCallItem? Type1518 { get; set; } /// /// /// - public global::OpenRouter.McpListToolsItem? Type1519 { get; set; } + public global::OpenRouter.ShellCallOutputItem? Type1519 { get; set; } /// /// /// - public global::OpenRouter.McpApprovalRequestItem? Type1520 { get; set; } + public global::OpenRouter.McpListToolsItem? Type1520 { get; set; } /// /// /// - public global::OpenRouter.McpApprovalResponseItem? Type1521 { get; set; } + public global::OpenRouter.McpApprovalRequestItem? Type1521 { get; set; } /// /// /// - public global::OpenRouter.McpCallItem? Type1522 { get; set; } + public global::OpenRouter.McpApprovalResponseItem? Type1522 { get; set; } /// /// /// - public global::OpenRouter.ItemReferenceItem? Type1523 { get; set; } + public global::OpenRouter.McpCallItem? Type1523 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchCallItem? Type1524 { get; set; } + public global::OpenRouter.ItemReferenceItem? Type1524 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchOutputItem? Type1525 { get; set; } + public global::OpenRouter.ToolSearchCallItem? Type1525 { get; set; } /// /// /// - public global::OpenRouter.InputTextType? Type1526 { get; set; } + public global::OpenRouter.ToolSearchOutputItem? Type1526 { get; set; } /// /// /// - public global::OpenRouter.InputVideoProcessing? Type1527 { get; set; } + public global::OpenRouter.InputTextType? Type1527 { get; set; } /// /// /// - public global::OpenRouter.InputVideoType? Type1528 { get; set; } + public global::OpenRouter.InputVideoProcessing? Type1528 { get; set; } /// /// /// - public global::OpenRouter.InstructType? Type1529 { get; set; } + public global::OpenRouter.InputVideoType? Type1529 { get; set; } /// /// /// - public global::OpenRouter.InternalServerResponse? Type1530 { get; set; } + public global::OpenRouter.InstructType? Type1530 { get; set; } /// /// /// - public global::OpenRouter.InternalServerResponseErrorData? Type1531 { get; set; } + public global::OpenRouter.InternalServerResponse? Type1531 { get; set; } /// /// /// - public global::OpenRouter.ItemReferenceItemType? Type1532 { get; set; } + public global::OpenRouter.InternalServerResponseErrorData? Type1532 { get; set; } /// /// /// - public global::OpenRouter.JevRouterPluginId? Type1533 { get; set; } + public global::OpenRouter.ItemReferenceItemType? Type1533 { get; set; } /// /// /// - public global::OpenRouter.KeyAssignment? Type1534 { get; set; } + public global::OpenRouter.JevRouterPluginId? Type1534 { get; set; } /// /// /// - public global::OpenRouter.KeyBudget? Type1535 { get; set; } + public global::OpenRouter.KeyAssignment? Type1535 { get; set; } /// /// /// - public global::OpenRouter.KeyBudgetResetInterval? Type1536 { get; set; } + public global::OpenRouter.KeyBudget? Type1536 { get; set; } /// /// /// - public global::OpenRouter.KeyBudgetScope? Type1537 { get; set; } + public global::OpenRouter.KeyBudgetResetInterval? Type1537 { get; set; } /// /// /// - public global::OpenRouter.LegacyChatContentVideoType? Type1538 { get; set; } + public global::OpenRouter.KeyBudgetScope? Type1538 { get; set; } /// /// /// - public global::OpenRouter.LegacyChatContentVideoInput? Type1539 { get; set; } + public global::OpenRouter.LegacyChatContentVideoType? Type1539 { get; set; } /// /// /// - public global::OpenRouter.LegacyChatContentVideoInputProcessing? Type1540 { get; set; } + public global::OpenRouter.LegacyChatContentVideoInput? Type1540 { get; set; } /// /// /// - public global::OpenRouter.WebSearchDomainFilter? Type1541 { get; set; } + public global::OpenRouter.LegacyChatContentVideoInputProcessing? Type1541 { get; set; } /// /// /// - public global::OpenRouter.SearchContextSizeEnum? Type1542 { get; set; } + public global::OpenRouter.WebSearchDomainFilter? Type1542 { get; set; } /// /// /// - public global::OpenRouter.LegacyWebSearchServerToolType? Type1543 { get; set; } + public global::OpenRouter.SearchContextSizeEnum? Type1543 { get; set; } /// /// /// - public global::OpenRouter.WebSearchUserLocation? Type1544 { get; set; } + public global::OpenRouter.LegacyWebSearchServerToolType? Type1544 { get; set; } /// /// /// - public global::OpenRouter.ListAccountGuardrailPoliciesResponse? Type1545 { get; set; } + public global::OpenRouter.WebSearchUserLocation? Type1545 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1546 { get; set; } + public global::OpenRouter.ListAccountGuardrailPoliciesResponse? Type1546 { get; set; } /// /// /// - public global::OpenRouter.ListBudgetGuardrailPoliciesResponse? Type1547 { get; set; } + public global::System.Collections.Generic.IList? Type1547 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1548 { get; set; } + public global::OpenRouter.ListBudgetGuardrailPoliciesResponse? Type1548 { get; set; } /// /// /// - public global::OpenRouter.ListBYOKKeysResponse? Type1549 { get; set; } + public global::System.Collections.Generic.IList? Type1549 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1550 { get; set; } + public global::OpenRouter.ListBYOKKeysResponse? Type1550 { get; set; } /// /// /// - public global::OpenRouter.ListEndpointsResponse? Type1551 { get; set; } + public global::System.Collections.Generic.IList? Type1551 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1552 { get; set; } + public global::OpenRouter.ListEndpointsResponse? Type1552 { get; set; } /// /// /// - public global::OpenRouter.ModelArchitecture? Type1553 { get; set; } + public global::OpenRouter.AllOf? Type1553 { get; set; } /// /// /// - public global::OpenRouter.ListEndpointsResponseArchitecture? Type1554 { get; set; } + public global::OpenRouter.ModelArchitecture? Type1554 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1555 { get; set; } + public global::OpenRouter.ListEndpointsResponseArchitecture? Type1555 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1556 { get; set; } + public global::System.Collections.Generic.IList? Type1556 { get; set; } /// /// /// - public global::OpenRouter.OutputModality? Type1557 { get; set; } + public global::System.Collections.Generic.IList? Type1557 { get; set; } /// /// /// - public global::OpenRouter.ModelGroup? Type1558 { get; set; } + public global::OpenRouter.OutputModality? Type1558 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1559 { get; set; } + public global::OpenRouter.ModelGroup? Type1559 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpoint? Type1560 { get; set; } + public global::System.Collections.Generic.IList? Type1560 { get; set; } /// /// /// - public global::OpenRouter.ListExternalUsersResponse? Type1561 { get; set; } + public global::OpenRouter.PublicEndpoint? Type1561 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1562 { get; set; } + public global::OpenRouter.ListExternalUsersResponse? Type1562 { get; set; } /// /// /// - public global::OpenRouter.ListGuardrailsResponse? Type1563 { get; set; } + public global::System.Collections.Generic.IList? Type1563 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1564 { get; set; } + public global::OpenRouter.ListGuardrailsResponse? Type1564 { get; set; } /// /// /// - public global::OpenRouter.ListKeyAssignmentsResponse? Type1565 { get; set; } + public global::System.Collections.Generic.IList? Type1565 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1566 { get; set; } + public global::OpenRouter.ListKeyAssignmentsResponse? Type1566 { get; set; } /// /// /// - public global::OpenRouter.ListMemberAssignmentsResponse? Type1567 { get; set; } + public global::System.Collections.Generic.IList? Type1567 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1568 { get; set; } + public global::OpenRouter.ListMemberAssignmentsResponse? Type1568 { get; set; } /// /// /// - public global::OpenRouter.MemberAssignment? Type1569 { get; set; } + public global::System.Collections.Generic.IList? Type1569 { get; set; } /// /// /// - public global::OpenRouter.ListModelAvailabilityGuardrailPoliciesResponse? Type1570 { get; set; } + public global::OpenRouter.MemberAssignment? Type1570 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1571 { get; set; } + public global::OpenRouter.ListModelAvailabilityGuardrailPoliciesResponse? Type1571 { get; set; } /// /// /// - public global::OpenRouter.ModelAvailabilityGuardrailPolicySummary? Type1572 { get; set; } + public global::System.Collections.Generic.IList? Type1572 { get; set; } /// /// /// - public global::OpenRouter.ListModerationGuardrailPoliciesResponse? Type1573 { get; set; } + public global::OpenRouter.ModelAvailabilityGuardrailPolicySummary? Type1573 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1574 { get; set; } + public global::OpenRouter.ListModerationGuardrailPoliciesResponse? Type1574 { get; set; } /// /// /// - public global::OpenRouter.ModerationGuardrailPolicySummary? Type1575 { get; set; } + public global::System.Collections.Generic.IList? Type1575 { get; set; } /// /// /// - public global::OpenRouter.ListObservabilityDestinationsResponse? Type1576 { get; set; } + public global::OpenRouter.ModerationGuardrailPolicySummary? Type1576 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1577 { get; set; } + public global::OpenRouter.ListObservabilityDestinationsResponse? Type1577 { get; set; } /// /// /// - public global::OpenRouter.ListPresetsResponse? Type1578 { get; set; } + public global::System.Collections.Generic.IList? Type1578 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1579 { get; set; } + public global::OpenRouter.ListPresetsResponse? Type1579 { get; set; } /// /// /// - public global::OpenRouter.Preset? Type1580 { get; set; } + public global::System.Collections.Generic.IList? Type1580 { get; set; } /// /// /// - public global::OpenRouter.ListPresetVersionsResponse? Type1581 { get; set; } + public global::OpenRouter.Preset? Type1581 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1582 { get; set; } + public global::OpenRouter.ListPresetVersionsResponse? Type1582 { get; set; } /// /// /// - public global::OpenRouter.ListPrivateEndpointsResponse? Type1583 { get; set; } + public global::System.Collections.Generic.IList? Type1583 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1584 { get; set; } + public global::OpenRouter.ListPrivateEndpointsResponse? Type1584 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointSummary? Type1585 { get; set; } + public global::System.Collections.Generic.IList? Type1585 { get; set; } /// /// /// - public global::OpenRouter.ListScimGroupMappingsResponse? Type1586 { get; set; } + public global::OpenRouter.PrivateEndpointSummary? Type1586 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1587 { get; set; } + public global::OpenRouter.ListScimGroupMappingsResponse? Type1587 { get; set; } /// /// /// - public global::OpenRouter.ListScimGroupsResponse? Type1588 { get; set; } + public global::System.Collections.Generic.IList? Type1588 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1589 { get; set; } + public global::OpenRouter.ListScimGroupsResponse? Type1589 { get; set; } /// /// /// - public global::OpenRouter.ScimGroup? Type1590 { get; set; } + public global::System.Collections.Generic.IList? Type1590 { get; set; } /// /// /// - public global::OpenRouter.ListToolsResponse? Type1591 { get; set; } + public global::OpenRouter.ScimGroup? Type1591 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1592 { get; set; } + public global::OpenRouter.ListToolsResponse? Type1592 { get; set; } /// /// /// - public global::OpenRouter.ServerTool? Type1593 { get; set; } + public global::System.Collections.Generic.IList? Type1593 { get; set; } /// /// /// - public global::OpenRouter.ListToolsResponseLinks? Type1594 { get; set; } + public global::OpenRouter.ServerTool? Type1594 { get; set; } /// /// /// - public global::OpenRouter.ListWorkspaceBudgetsResponse? Type1595 { get; set; } + public global::OpenRouter.ListToolsResponseLinks? Type1595 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1596 { get; set; } + public global::OpenRouter.ListWorkspaceBudgetsResponse? Type1596 { get; set; } /// /// /// - public global::OpenRouter.ListWorkspaceMembersResponse? Type1597 { get; set; } + public global::System.Collections.Generic.IList? Type1597 { get; set; } /// /// /// - public global::OpenRouter.ListWorkspacesResponse? Type1598 { get; set; } + public global::OpenRouter.ListWorkspaceMembersResponse? Type1598 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1599 { get; set; } + public global::OpenRouter.ListWorkspacesResponse? Type1599 { get; set; } /// /// /// - public global::OpenRouter.LocalShellCallItemAction? Type1600 { get; set; } + public global::System.Collections.Generic.IList? Type1600 { get; set; } /// /// /// - public global::OpenRouter.LocalShellCallItemActionType? Type1601 { get; set; } + public global::OpenRouter.LocalShellCallItemAction? Type1601 { get; set; } /// /// /// - public global::OpenRouter.LocalShellCallItemType? Type1602 { get; set; } + public global::OpenRouter.LocalShellCallItemActionType? Type1602 { get; set; } /// /// /// - public global::OpenRouter.LocalShellCallOutputItemType? Type1603 { get; set; } + public global::OpenRouter.LocalShellCallItemType? Type1603 { get; set; } /// /// /// - public global::OpenRouter.ManagedPrivateEndpointVariant2? Type1604 { get; set; } + public global::OpenRouter.LocalShellCallOutputItemType? Type1604 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointDeclaredRegion? Type1605 { get; set; } + public global::OpenRouter.ManagedPrivateEndpointVariant2? Type1605 { get; set; } /// /// /// - public global::OpenRouter.ManagedPrivateEndpointResponse? Type1606 { get; set; } + public global::OpenRouter.PrivateEndpointDeclaredRegion? Type1606 { get; set; } /// /// /// - public global::OpenRouter.McpApprovalRequestItemType? Type1607 { get; set; } + public global::OpenRouter.ManagedPrivateEndpointResponse? Type1607 { get; set; } /// /// /// - public global::OpenRouter.McpApprovalResponseItemType? Type1608 { get; set; } + public global::OpenRouter.McpApprovalRequestItemType? Type1608 { get; set; } /// /// /// - public global::OpenRouter.McpCallArgumentsDeltaEvent? Type1609 { get; set; } + public global::OpenRouter.McpApprovalResponseItemType? Type1609 { get; set; } /// /// /// - public global::OpenRouter.McpCallArgumentsDeltaEventType? Type1610 { get; set; } + public global::OpenRouter.McpCallArgumentsDeltaEvent? Type1610 { get; set; } /// /// /// - public global::OpenRouter.McpCallArgumentsDoneEvent? Type1611 { get; set; } + public global::OpenRouter.McpCallArgumentsDeltaEventType? Type1611 { get; set; } /// /// /// - public global::OpenRouter.McpCallArgumentsDoneEventType? Type1612 { get; set; } + public global::OpenRouter.McpCallArgumentsDoneEvent? Type1612 { get; set; } /// /// /// - public global::OpenRouter.McpCallCompletedEvent? Type1613 { get; set; } + public global::OpenRouter.McpCallArgumentsDoneEventType? Type1613 { get; set; } /// /// /// - public global::OpenRouter.McpCallCompletedEventType? Type1614 { get; set; } + public global::OpenRouter.McpCallCompletedEvent? Type1614 { get; set; } /// /// /// - public global::OpenRouter.McpCallFailedEvent? Type1615 { get; set; } + public global::OpenRouter.McpCallCompletedEventType? Type1615 { get; set; } /// /// /// - public global::OpenRouter.McpCallFailedEventType? Type1616 { get; set; } + public global::OpenRouter.McpCallFailedEvent? Type1616 { get; set; } /// /// /// - public global::OpenRouter.McpCallInProgressEvent? Type1617 { get; set; } + public global::OpenRouter.McpCallFailedEventType? Type1617 { get; set; } /// /// /// - public global::OpenRouter.McpCallInProgressEventType? Type1618 { get; set; } + public global::OpenRouter.McpCallInProgressEvent? Type1618 { get; set; } /// /// /// - public global::OpenRouter.McpToolCallError? Type1619 { get; set; } + public global::OpenRouter.McpCallInProgressEventType? Type1619 { get; set; } /// /// /// - public global::OpenRouter.McpCallItemStatus? Type1620 { get; set; } + public global::OpenRouter.McpToolCallError? Type1620 { get; set; } /// /// /// - public global::OpenRouter.McpCallItemType? Type1621 { get; set; } + public global::OpenRouter.McpCallItemStatus? Type1621 { get; set; } /// /// /// - public global::OpenRouter.McpHttpError? Type1622 { get; set; } + public global::OpenRouter.McpCallItemType? Type1622 { get; set; } /// /// /// - public global::OpenRouter.McpHttpErrorType? Type1623 { get; set; } + public global::OpenRouter.McpHttpError? Type1623 { get; set; } /// /// /// - public global::OpenRouter.McpListToolsCompletedEvent? Type1624 { get; set; } + public global::OpenRouter.McpHttpErrorType? Type1624 { get; set; } /// /// /// - public global::OpenRouter.McpListToolsCompletedEventType? Type1625 { get; set; } + public global::OpenRouter.McpListToolsCompletedEvent? Type1625 { get; set; } /// /// /// - public global::OpenRouter.McpListToolsFailedEvent? Type1626 { get; set; } + public global::OpenRouter.McpListToolsCompletedEventType? Type1626 { get; set; } /// /// /// - public global::OpenRouter.McpListToolsFailedEventType? Type1627 { get; set; } + public global::OpenRouter.McpListToolsFailedEvent? Type1627 { get; set; } /// /// /// - public global::OpenRouter.McpListToolsInProgressEvent? Type1628 { get; set; } + public global::OpenRouter.McpListToolsFailedEventType? Type1628 { get; set; } /// /// /// - public global::OpenRouter.McpListToolsInProgressEventType? Type1629 { get; set; } + public global::OpenRouter.McpListToolsInProgressEvent? Type1629 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1630 { get; set; } + public global::OpenRouter.McpListToolsInProgressEventType? Type1630 { get; set; } /// /// /// - public global::OpenRouter.McpListToolsItemTool? Type1631 { get; set; } + public global::System.Collections.Generic.IList? Type1631 { get; set; } /// /// /// - public global::OpenRouter.McpListToolsItemType? Type1632 { get; set; } + public global::OpenRouter.McpListToolsItemTool? Type1632 { get; set; } /// /// /// - public global::OpenRouter.McpProtocolError? Type1633 { get; set; } + public global::OpenRouter.McpListToolsItemType? Type1633 { get; set; } /// /// /// - public global::OpenRouter.McpProtocolErrorType? Type1634 { get; set; } + public global::OpenRouter.McpProtocolError? Type1634 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, global::OpenRouter.McpServerToolAllowedTools>? Type1635 { get; set; } + public global::OpenRouter.McpProtocolErrorType? Type1635 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolAllowedTools? Type1636 { get; set; } + public global::OpenRouter.AnyOf, global::OpenRouter.McpServerToolAllowedTools>? Type1636 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApprovalVariant1? Type1637 { get; set; } + public global::OpenRouter.McpServerToolAllowedTools? Type1637 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApprovalVariant1Always? Type1638 { get; set; } + public global::OpenRouter.McpServerToolRequireApprovalVariant1? Type1638 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApprovalVariant1Never? Type1639 { get; set; } + public global::OpenRouter.McpServerToolRequireApprovalVariant1Always? Type1639 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApprovalVariant2? Type1640 { get; set; } + public global::OpenRouter.McpServerToolRequireApprovalVariant1Never? Type1640 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApprovalVariant3? Type1641 { get; set; } + public global::OpenRouter.McpServerToolRequireApprovalVariant2? Type1641 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolType? Type1642 { get; set; } + public global::OpenRouter.McpServerToolRequireApprovalVariant3? Type1642 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolParameters? Type1643 { get; set; } + public global::OpenRouter.McpServerToolType? Type1643 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolOpenRouterType? Type1644 { get; set; } + public global::OpenRouter.McpServerToolParameters? Type1644 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, global::OpenRouter.McpServerToolParametersAllowedTools>? Type1645 { get; set; } + public global::OpenRouter.McpServerToolOpenRouterType? Type1645 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolParametersAllowedTools? Type1646 { get; set; } + public global::OpenRouter.AnyOf, global::OpenRouter.McpServerToolParametersAllowedTools>? Type1646 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolParametersRequireApprovalVariant1? Type1647 { get; set; } + public global::OpenRouter.McpServerToolParametersAllowedTools? Type1647 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolParametersRequireApprovalVariant1Always? Type1648 { get; set; } + public global::OpenRouter.McpServerToolParametersRequireApprovalVariant1? Type1648 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolParametersRequireApprovalVariant1Never? Type1649 { get; set; } + public global::OpenRouter.McpServerToolParametersRequireApprovalVariant1Always? Type1649 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolParametersRequireApprovalVariant2? Type1650 { get; set; } + public global::OpenRouter.McpServerToolParametersRequireApprovalVariant1Never? Type1650 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolParametersRequireApprovalVariant3? Type1651 { get; set; } + public global::OpenRouter.McpServerToolParametersRequireApprovalVariant2? Type1651 { get; set; } /// /// /// - public global::OpenRouter.McpToolExecutionError? Type1652 { get; set; } + public global::OpenRouter.McpServerToolParametersRequireApprovalVariant3? Type1652 { get; set; } /// /// /// - public global::OpenRouter.McpToolExecutionErrorType? Type1653 { get; set; } + public global::OpenRouter.McpToolExecutionError? Type1653 { get; set; } /// /// /// - public global::OpenRouter.MessagesAdvisorToolResultBlock? Type1654 { get; set; } + public global::OpenRouter.McpToolExecutionErrorType? Type1654 { get; set; } /// /// /// - public global::OpenRouter.MessagesAdvisorToolResultBlockType? Type1655 { get; set; } + public global::OpenRouter.MessagesAdvisorToolResultBlock? Type1655 { get; set; } /// /// /// - public global::OpenRouter.MessagesBashToolResultBlock? Type1656 { get; set; } + public global::OpenRouter.MessagesAdvisorToolResultBlockType? Type1656 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1657 { get; set; } + public global::OpenRouter.MessagesBashToolResultBlock? Type1657 { get; set; } /// /// /// - public global::OpenRouter.MessagesBashToolResultBlockFile? Type1658 { get; set; } + public global::System.Collections.Generic.IList? Type1658 { get; set; } /// /// /// - public global::OpenRouter.MessagesBashToolResultBlockFileType? Type1659 { get; set; } + public global::OpenRouter.MessagesBashToolResultBlockFile? Type1659 { get; set; } /// /// /// - public global::OpenRouter.MessagesBashToolResultBlockType? Type1660 { get; set; } + public global::OpenRouter.MessagesBashToolResultBlockFileType? Type1660 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEvent? Type1661 { get; set; } + public global::OpenRouter.MessagesBashToolResultBlockType? Type1661 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant1? Type1662 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEvent? Type1662 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant1Type? Type1663 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant1? Type1663 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant2? Type1664 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant1Type? Type1664 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant2Type? Type1665 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant2? Type1665 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant3? Type1666 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant2Type? Type1666 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant3Type? Type1667 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant3? Type1667 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant4? Type1668 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant3Type? Type1668 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant4Type? Type1669 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant4? Type1669 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5? Type1670 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant4Type? Type1670 { get; set; } /// /// /// - public global::OpenRouter.Citation? Type1671 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5? Type1671 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5CitationDiscriminator? Type1672 { get; set; } + public global::OpenRouter.Citation? Type1672 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5CitationDiscriminatorType? Type1673 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5CitationDiscriminator? Type1673 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5Type? Type1674 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5CitationDiscriminatorType? Type1674 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant6? Type1675 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5Type? Type1675 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant6Type? Type1676 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant6? Type1676 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventType? Type1677 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant6Type? Type1677 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockStartEvent? Type1678 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventType? Type1678 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicServerToolUseBlock? Type1679 { get; set; } + public global::OpenRouter.MessagesContentBlockStartEvent? Type1679 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicShellToolResult? Type1680 { get; set; } + public global::OpenRouter.ORAnthropicServerToolUseBlock? Type1680 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicBashToolResult? Type1681 { get; set; } + public global::OpenRouter.ORAnthropicShellToolResult? Type1681 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicToolSearchResult? Type1682 { get; set; } + public global::OpenRouter.ORAnthropicBashToolResult? Type1682 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockStartEventContentBlock? Type1683 { get; set; } + public global::OpenRouter.ORAnthropicToolSearchResult? Type1683 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockStartEventContentBlockType? Type1684 { get; set; } + public global::OpenRouter.MessagesContentBlockStartEventContentBlock? Type1684 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockStartEventType? Type1685 { get; set; } + public global::OpenRouter.MessagesContentBlockStartEventContentBlockType? Type1685 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockStopEvent? Type1686 { get; set; } + public global::OpenRouter.MessagesContentBlockStartEventType? Type1686 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockStopEventType? Type1687 { get; set; } + public global::OpenRouter.MessagesContentBlockStopEvent? Type1687 { get; set; } /// /// /// - public global::OpenRouter.MessagesDeltaEvent? Type1688 { get; set; } + public global::OpenRouter.MessagesContentBlockStopEventType? Type1688 { get; set; } /// /// /// - public global::OpenRouter.MessagesDeltaEventDelta? Type1689 { get; set; } + public global::OpenRouter.MessagesDeltaEvent? Type1689 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1690 { get; set; } + public global::OpenRouter.MessagesDeltaEventDelta? Type1690 { get; set; } /// /// /// - public global::OpenRouter.MessagesDeltaEventType? Type1691 { get; set; } + public global::System.Collections.Generic.IList? Type1691 { get; set; } /// /// /// - public global::OpenRouter.MessagesDeltaEventUsage? Type1692 { get; set; } + public global::OpenRouter.MessagesDeltaEventType? Type1692 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicServerToolUsage? Type1693 { get; set; } + public global::OpenRouter.MessagesDeltaEventUsage? Type1693 { get; set; } /// /// /// - public global::OpenRouter.MessagesErrorEvent? Type1694 { get; set; } + public global::OpenRouter.ORAnthropicServerToolUsage? Type1694 { get; set; } /// /// /// - public global::OpenRouter.MessagesErrorEventError? Type1695 { get; set; } + public global::OpenRouter.MessagesErrorEvent? Type1695 { get; set; } /// /// /// - public global::OpenRouter.MessagesErrorEventType? Type1696 { get; set; } + public global::OpenRouter.MessagesErrorEventError? Type1696 { get; set; } /// /// /// - public global::OpenRouter.MessagesFallbackParam? Type1697 { get; set; } + public global::OpenRouter.MessagesErrorEventType? Type1697 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParam? Type1698 { get; set; } + public global::OpenRouter.MessagesFallbackParam? Type1698 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant4? Type1699 { get; set; } + public global::OpenRouter.MessagesMessageParam? Type1699 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant4Type? Type1700 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant4? Type1700 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5? Type1701 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant4Type? Type1701 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5ContentVariant2Item? Type1702 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5? Type1702 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5ContentVariant2ItemType? Type1703 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5ContentVariant2Item? Type1703 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5Type? Type1704 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5ContentVariant2ItemType? Type1704 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant6? Type1705 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5Type? Type1705 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant6Type? Type1706 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant6? Type1706 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant7? Type1707 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant6Type? Type1707 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant7Type? Type1708 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant7? Type1708 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant8? Type1709 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant7Type? Type1709 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant8Type? Type1710 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant8? Type1710 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9? Type1711 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant8Type? Type1711 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Content>? Type1712 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9? Type1712 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1713 { get; set; } + public global::OpenRouter.AnyOf, global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Content>? Type1713 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Content? Type1714 { get; set; } + public global::System.Collections.Generic.IList? Type1714 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9ContentErrorCode? Type1715 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Content? Type1715 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9ContentType? Type1716 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9ContentErrorCode? Type1716 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Type? Type1717 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9ContentType? Type1717 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant11? Type1718 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Type? Type1718 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant11Type? Type1719 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant11? Type1719 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlock? Type1720 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant11Type? Type1720 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlock? Type1721 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlock? Type1721 { get; set; } /// /// /// - public global::OpenRouter.MessagesShellToolResultBlock? Type1722 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlock? Type1722 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicToolSearchResultParam? Type1723 { get; set; } + public global::OpenRouter.MessagesShellToolResultBlock? Type1723 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamRole? Type1724 { get; set; } + public global::OpenRouter.ORAnthropicToolSearchResultParam? Type1724 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfig? Type1725 { get; set; } + public global::OpenRouter.MessagesMessageParamRole? Type1725 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigEffort? Type1726 { get; set; } + public global::OpenRouter.MessagesOutputConfig? Type1726 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigFormat? Type1727 { get; set; } + public global::OpenRouter.MessagesOutputConfigEffort? Type1727 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigFormatType? Type1728 { get; set; } + public global::OpenRouter.MessagesOutputConfigFormat? Type1728 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigTaskBudget? Type1729 { get; set; } + public global::OpenRouter.MessagesOutputConfigFormatType? Type1729 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigTaskBudgetType? Type1730 { get; set; } + public global::OpenRouter.MessagesOutputConfigTaskBudget? Type1730 { get; set; } /// /// /// - public global::OpenRouter.MessagesPingEvent? Type1731 { get; set; } + public global::OpenRouter.MessagesOutputConfigTaskBudgetType? Type1731 { get; set; } /// /// /// - public global::OpenRouter.MessagesPingEventType? Type1732 { get; set; } + public global::OpenRouter.MessagesPingEvent? Type1732 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequest? Type1733 { get; set; } + public global::OpenRouter.MessagesPingEventType? Type1733 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagement? Type1734 { get; set; } + public global::OpenRouter.MessagesRequest? Type1734 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant1? Type1735 { get; set; } + public global::OpenRouter.MessagesRequestContextManagement? Type1735 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type1736 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant1? Type1736 { get; set; } /// /// /// - public global::OpenRouter.Trigger? Type1737 { get; set; } + public global::OpenRouter.AnyOf>? Type1737 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant1TriggerDiscriminator? Type1738 { get; set; } + public global::OpenRouter.Trigger? Type1738 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant1TriggerDiscriminatorType? Type1739 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant1TriggerDiscriminator? Type1739 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant1Type? Type1740 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant1TriggerDiscriminatorType? Type1740 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant2? Type1741 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant1Type? Type1741 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant2KeepEnum? Type1742 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant2? Type1742 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant2KeepEnumType? Type1743 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant2KeepEnum? Type1743 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant2KeepEnum2? Type1744 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant2KeepEnumType? Type1744 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant2Type? Type1745 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant2KeepEnum2? Type1745 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant3? Type1746 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant2Type? Type1746 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1747 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant3? Type1747 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant3Type? Type1748 { get; set; } + public global::OpenRouter.AllOf? Type1748 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1749 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant3Type? Type1749 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1750 { get; set; } + public global::System.Collections.Generic.IList? Type1750 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestMetadata? Type1751 { get; set; } + public global::System.Collections.Generic.IList? Type1751 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1752 { get; set; } + public global::OpenRouter.MessagesRequestMetadata? Type1752 { get; set; } /// /// /// - public global::OpenRouter.PluginsItem2? Type1753 { get; set; } + public global::System.Collections.Generic.IList? Type1753 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginDiscriminator? Type1754 { get; set; } + public global::OpenRouter.PluginsItem2? Type1754 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginDiscriminatorId? Type1755 { get; set; } + public global::OpenRouter.MessagesRequestPluginDiscriminator? Type1755 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1756 { get; set; } + public global::OpenRouter.MessagesRequestPluginDiscriminatorId? Type1756 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1757 { get; set; } + public global::System.Collections.Generic.IList? Type1757 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type1758 { get; set; } + public global::OpenRouter.AllOf? Type1758 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant1? Type1759 { get; set; } + public global::OpenRouter.AnyOf>? Type1759 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant1Type? Type1760 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant1? Type1760 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant2? Type1761 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant1Type? Type1761 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant2Type? Type1762 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant2? Type1762 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant3? Type1763 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant2Type? Type1763 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant3Type? Type1764 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant3? Type1764 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant4? Type1765 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant3Type? Type1765 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant4Type? Type1766 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant4? Type1766 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant1? Type1767 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant4Type? Type1767 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant1Type? Type1768 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant1? Type1768 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant2? Type1769 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant1Type? Type1769 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant2Type? Type1770 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant2? Type1770 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant3? Type1771 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant2Type? Type1771 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant3Type? Type1772 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant3? Type1772 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant4? Type1773 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant3Type? Type1773 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant4Type? Type1774 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant4? Type1774 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant1? Type1775 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant4Type? Type1775 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant1InputSchema? Type1776 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant1? Type1776 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant1Type? Type1777 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant1InputSchema? Type1777 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant2? Type1778 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant1Type? Type1778 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant2Name? Type1779 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant2? Type1779 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant2Type? Type1780 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant2Name? Type1780 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant3? Type1781 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant2Type? Type1781 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant3Name? Type1782 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant3? Type1782 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant3Type? Type1783 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant3Name? Type1783 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant4? Type1784 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant3Type? Type1784 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant4Name? Type1785 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant4? Type1785 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant4Type? Type1786 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant4Name? Type1786 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant5? Type1787 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant4Type? Type1787 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant5Name? Type1788 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant5? Type1788 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant5Type? Type1789 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant5Name? Type1789 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant6? Type1790 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant5Type? Type1790 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant6Name? Type1791 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant6? Type1791 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant6Type? Type1792 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant6Name? Type1792 { get; set; } /// /// /// - public global::OpenRouter.MessagesSearchModelsServerTool? Type1793 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant6Type? Type1793 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant13? Type1794 { get; set; } + public global::OpenRouter.MessagesSearchModelsServerTool? Type1794 { get; set; } /// /// /// - public global::OpenRouter.MessagesResult? Type1795 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant13? Type1795 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultVariant2? Type1796 { get; set; } + public global::OpenRouter.MessagesResult? Type1796 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultVariant2ContextManagement? Type1797 { get; set; } + public global::OpenRouter.MessagesResultVariant2? Type1797 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1798 { get; set; } + public global::OpenRouter.MessagesResultVariant2ContextManagement? Type1798 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultVariant2ContextManagementAppliedEdit? Type1799 { get; set; } + public global::System.Collections.Generic.IList? Type1799 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1800 { get; set; } + public global::OpenRouter.MessagesResultVariant2ContextManagementAppliedEdit? Type1800 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultVariant2Usage? Type1801 { get; set; } + public global::OpenRouter.AllOf? Type1801 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultVariant2UsageDeferredToolsDetails? Type1802 { get; set; } + public global::OpenRouter.MessagesResultVariant2Usage? Type1802 { get; set; } /// /// /// - public global::OpenRouter.MessagesSearchModelsServerToolType? Type1803 { get; set; } + public global::OpenRouter.MessagesResultVariant2UsageDeferredToolsDetails? Type1803 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1804 { get; set; } + public global::OpenRouter.MessagesSearchModelsServerToolType? Type1804 { get; set; } /// /// /// - public global::OpenRouter.MessagesShellToolResultBlockFile? Type1805 { get; set; } + public global::System.Collections.Generic.IList? Type1805 { get; set; } /// /// /// - public global::OpenRouter.MessagesShellToolResultBlockFileType? Type1806 { get; set; } + public global::OpenRouter.MessagesShellToolResultBlockFile? Type1806 { get; set; } /// /// /// - public global::OpenRouter.MessagesShellToolResultBlockType? Type1807 { get; set; } + public global::OpenRouter.MessagesShellToolResultBlockFileType? Type1807 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEvent? Type1808 { get; set; } + public global::OpenRouter.MessagesShellToolResultBlockType? Type1808 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEventMessage? Type1809 { get; set; } + public global::OpenRouter.MessagesStartEvent? Type1809 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEventMessageProvider? Type1810 { get; set; } + public global::OpenRouter.MessagesStartEventMessage? Type1810 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEventMessageRole? Type1811 { get; set; } + public global::OpenRouter.MessagesStartEventMessageProvider? Type1811 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEventMessageType? Type1812 { get; set; } + public global::OpenRouter.MessagesStartEventMessageRole? Type1812 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1813 { get; set; } + public global::OpenRouter.MessagesStartEventMessageType? Type1813 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEventMessageUsage? Type1814 { get; set; } + public global::OpenRouter.AllOf? Type1814 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEventType? Type1815 { get; set; } + public global::OpenRouter.MessagesStartEventMessageUsage? Type1815 { get; set; } /// /// /// - public global::OpenRouter.MessagesStopEvent? Type1816 { get; set; } + public global::OpenRouter.MessagesStartEventType? Type1816 { get; set; } /// /// /// - public global::OpenRouter.MessagesStopEventType? Type1817 { get; set; } + public global::OpenRouter.MessagesStopEvent? Type1817 { get; set; } /// /// /// - public global::OpenRouter.MessagesStreamEvents? Type1818 { get; set; } + public global::OpenRouter.MessagesStopEventType? Type1818 { get; set; } /// /// /// - public global::OpenRouter.MessagesStreamEventsDiscriminator? Type1819 { get; set; } + public global::OpenRouter.MessagesStreamEvents? Type1819 { get; set; } /// /// /// - public global::OpenRouter.MessagesStreamEventsDiscriminatorType? Type1820 { get; set; } + public global::OpenRouter.MessagesStreamEventsDiscriminator? Type1820 { get; set; } /// /// /// - public global::OpenRouter.MessagesStreamingResponse? Type1821 { get; set; } + public global::OpenRouter.MessagesStreamEventsDiscriminatorType? Type1821 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockToolVariant1? Type1822 { get; set; } + public global::OpenRouter.MessagesStreamingResponse? Type1822 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockToolVariant1Type? Type1823 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockToolVariant1? Type1823 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockToolVariant2? Type1824 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockToolVariant1Type? Type1824 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockToolVariant2Type? Type1825 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockToolVariant2? Type1825 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockToolVariant3? Type1826 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockToolVariant2Type? Type1826 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockToolVariant3Type? Type1827 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockToolVariant3? Type1827 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockToolVariant4? Type1828 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockToolVariant3Type? Type1828 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockToolVariant4Type? Type1829 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockToolVariant4? Type1829 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockType? Type1830 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockToolVariant4Type? Type1830 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockToolVariant1? Type1831 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockType? Type1831 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockToolVariant1Type? Type1832 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockToolVariant1? Type1832 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockToolVariant2? Type1833 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockToolVariant1Type? Type1833 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockToolVariant2Type? Type1834 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockToolVariant2? Type1834 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockToolVariant3? Type1835 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockToolVariant2Type? Type1835 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockToolVariant3Type? Type1836 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockToolVariant3? Type1836 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockType? Type1837 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockToolVariant3Type? Type1837 { get; set; } /// /// /// - public global::OpenRouter.MetadataLevel? Type1838 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockType? Type1838 { get; set; } /// /// /// - public global::OpenRouter.Model? Type1839 { get; set; } + public global::OpenRouter.MetadataLevel? Type1839 { get; set; } /// /// /// - public global::OpenRouter.ModelAliasTarget? Type1840 { get; set; } + public global::OpenRouter.Model? Type1840 { get; set; } /// /// /// - public global::OpenRouter.ModelBenchmarks? Type1841 { get; set; } + public global::OpenRouter.ModelAliasTarget? Type1841 { get; set; } /// /// /// - public global::OpenRouter.ModelLinks? Type1842 { get; set; } + public global::OpenRouter.ModelBenchmarks? Type1842 { get; set; } /// /// /// - public global::OpenRouter.PerRequestLimits? Type1843 { get; set; } + public global::OpenRouter.ModelLinks? Type1843 { get; set; } /// /// /// - public global::OpenRouter.PublicPricing? Type1844 { get; set; } + public global::OpenRouter.PerRequestLimits? Type1844 { get; set; } /// /// /// - public global::OpenRouter.ModelReasoning? Type1845 { get; set; } + public global::OpenRouter.PublicPricing? Type1845 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1846 { get; set; } + public global::OpenRouter.ModelReasoning? Type1846 { get; set; } /// /// /// - public global::OpenRouter.Parameter? Type1847 { get; set; } + public global::System.Collections.Generic.IList? Type1847 { get; set; } /// /// /// - public global::OpenRouter.TopProviderInfo? Type1848 { get; set; } + public global::OpenRouter.Parameter? Type1848 { get; set; } /// /// /// - public global::OpenRouter.ModelAvailabilityAccountGuardrailPolicyPolicyType? Type1849 { get; set; } + public global::OpenRouter.TopProviderInfo? Type1849 { get; set; } /// /// /// - public global::OpenRouter.ModelAvailabilityAccountGuardrailPolicyRequestFloorReassignment? Type1850 { get; set; } + public global::OpenRouter.ModelAvailabilityAccountGuardrailPolicyPolicyType? Type1850 { get; set; } /// /// /// - public global::OpenRouter.ModelAvailabilityAccountGuardrailPolicyRequestPolicyType? Type1851 { get; set; } + public global::OpenRouter.ModelAvailabilityAccountGuardrailPolicyRequestFloorReassignment? Type1851 { get; set; } /// /// /// - public global::OpenRouter.ModelAvailabilityGuardrailPolicy? Type1852 { get; set; } + public global::OpenRouter.ModelAvailabilityAccountGuardrailPolicyRequestPolicyType? Type1852 { get; set; } /// /// /// - public global::OpenRouter.ModelAvailabilityGuardrailPolicyPolicyType? Type1853 { get; set; } + public global::OpenRouter.ModelAvailabilityGuardrailPolicy? Type1853 { get; set; } /// /// /// - public global::OpenRouter.ModelAvailabilityGuardrailPolicyDetail? Type1854 { get; set; } + public global::OpenRouter.ModelAvailabilityGuardrailPolicyPolicyType? Type1854 { get; set; } /// /// /// - public global::OpenRouter.ModelAvailabilityGuardrailPolicyDetailPolicyType? Type1855 { get; set; } + public global::OpenRouter.ModelAvailabilityGuardrailPolicyDetail? Type1855 { get; set; } /// /// /// - public global::OpenRouter.ModelAvailabilityGuardrailPolicyDetailReference? Type1856 { get; set; } + public global::OpenRouter.ModelAvailabilityGuardrailPolicyDetailPolicyType? Type1856 { get; set; } /// /// /// - public global::OpenRouter.ModelAvailabilityGuardrailPolicyDetailResponse? Type1857 { get; set; } + public global::OpenRouter.ModelAvailabilityGuardrailPolicyDetailReference? Type1857 { get; set; } /// /// /// - public global::OpenRouter.ModelAvailabilityGuardrailPolicyResponse? Type1858 { get; set; } + public global::OpenRouter.ModelAvailabilityGuardrailPolicyDetailResponse? Type1858 { get; set; } /// /// /// - public global::OpenRouter.ModelAvailabilityGuardrailPolicySummaryPolicyType? Type1859 { get; set; } + public global::OpenRouter.ModelAvailabilityGuardrailPolicyResponse? Type1859 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1860 { get; set; } + public global::OpenRouter.ModelAvailabilityGuardrailPolicySummaryPolicyType? Type1860 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1861 { get; set; } + public global::System.Collections.Generic.IList? Type1861 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1862 { get; set; } + public global::OpenRouter.AllOf? Type1862 { get; set; } /// /// /// - public global::OpenRouter.ModelResponse? Type1863 { get; set; } + public global::System.Collections.Generic.IList? Type1863 { get; set; } /// /// /// - public global::OpenRouter.ModelsCountResponse? Type1864 { get; set; } + public global::OpenRouter.ModelResponse? Type1864 { get; set; } /// /// /// - public global::OpenRouter.ModelsCountResponseData? Type1865 { get; set; } + public global::OpenRouter.ModelsCountResponse? Type1865 { get; set; } /// /// /// - public global::OpenRouter.ModelsListResponse? Type1866 { get; set; } + public global::OpenRouter.ModelsCountResponseData? Type1866 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1867 { get; set; } + public global::OpenRouter.ModelsListResponse? Type1867 { get; set; } /// /// /// - public global::OpenRouter.ModelsListResponseLinks? Type1868 { get; set; } + public global::System.Collections.Generic.IList? Type1868 { get; set; } /// /// /// - public global::OpenRouter.ModerationAccountGuardrailPolicyPolicyType? Type1869 { get; set; } + public global::OpenRouter.ModelsListResponseLinks? Type1869 { get; set; } /// /// /// - public global::OpenRouter.ModerationAccountGuardrailPolicyRequestFloorReassignment? Type1870 { get; set; } + public global::OpenRouter.ModerationAccountGuardrailPolicyPolicyType? Type1870 { get; set; } /// /// /// - public global::OpenRouter.ModerationAccountGuardrailPolicyRequestPolicyType? Type1871 { get; set; } + public global::OpenRouter.ModerationAccountGuardrailPolicyRequestFloorReassignment? Type1871 { get; set; } /// /// /// - public global::OpenRouter.ModerationGuardrailPolicy? Type1872 { get; set; } + public global::OpenRouter.ModerationAccountGuardrailPolicyRequestPolicyType? Type1872 { get; set; } /// /// /// - public global::OpenRouter.ModerationGuardrailPolicyPolicyType? Type1873 { get; set; } + public global::OpenRouter.ModerationGuardrailPolicy? Type1873 { get; set; } /// /// /// - public global::OpenRouter.ModerationGuardrailPolicyDetail? Type1874 { get; set; } + public global::OpenRouter.ModerationGuardrailPolicyPolicyType? Type1874 { get; set; } /// /// /// - public global::OpenRouter.ModerationGuardrailPolicyDetailPolicyType? Type1875 { get; set; } + public global::OpenRouter.ModerationGuardrailPolicyDetail? Type1875 { get; set; } /// /// /// - public global::OpenRouter.ModerationGuardrailPolicyDetailReference? Type1876 { get; set; } + public global::OpenRouter.ModerationGuardrailPolicyDetailPolicyType? Type1876 { get; set; } /// /// /// - public global::OpenRouter.ModerationGuardrailPolicyDetailResponse? Type1877 { get; set; } + public global::OpenRouter.ModerationGuardrailPolicyDetailReference? Type1877 { get; set; } /// /// /// - public global::OpenRouter.ModerationGuardrailPolicyResponse? Type1878 { get; set; } + public global::OpenRouter.ModerationGuardrailPolicyDetailResponse? Type1878 { get; set; } /// /// /// - public global::OpenRouter.ModerationGuardrailPolicySummaryPolicyType? Type1879 { get; set; } + public global::OpenRouter.ModerationGuardrailPolicyResponse? Type1879 { get; set; } /// /// /// - public global::OpenRouter.ModerationPluginId? Type1880 { get; set; } + public global::OpenRouter.ModerationGuardrailPolicySummaryPolicyType? Type1880 { get; set; } /// /// /// - public global::OpenRouter.NamespaceFunctionTool? Type1881 { get; set; } + public global::OpenRouter.ModerationPluginId? Type1881 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1882 { get; set; } + public global::OpenRouter.NamespaceFunctionTool? Type1882 { get; set; } /// /// /// - public global::OpenRouter.NamespaceFunctionToolAllowedCaller? Type1883 { get; set; } + public global::System.Collections.Generic.IList? Type1883 { get; set; } /// /// /// - public global::OpenRouter.NamespaceFunctionToolType? Type1884 { get; set; } + public global::OpenRouter.NamespaceFunctionToolAllowedCaller? Type1884 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type1885 { get; set; } + public global::OpenRouter.NamespaceFunctionToolType? Type1885 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1886 { get; set; } + public global::System.Collections.Generic.IList>? Type1886 { get; set; } /// /// /// - public global::OpenRouter.NamespaceToolType? Type1887 { get; set; } + public global::OpenRouter.AnyOf? Type1887 { get; set; } /// /// /// - public global::OpenRouter.NativeTools? Type1888 { get; set; } + public global::OpenRouter.NamespaceToolType? Type1888 { get; set; } /// /// /// - public global::OpenRouter.NotFoundResponse? Type1889 { get; set; } + public global::OpenRouter.NativeTools? Type1889 { get; set; } /// /// /// - public global::OpenRouter.NotFoundResponseErrorData? Type1890 { get; set; } + public global::OpenRouter.NotFoundResponse? Type1890 { get; set; } /// /// /// - public global::OpenRouter.OAuthErrorResponse? Type1891 { get; set; } + public global::OpenRouter.NotFoundResponseErrorData? Type1891 { get; set; } /// /// /// - public global::OpenRouter.OAuthErrorResponseError? Type1892 { get; set; } + public global::OpenRouter.OAuthErrorResponse? Type1892 { get; set; } /// /// /// - public global::OpenRouter.OAuthJwks? Type1893 { get; set; } + public global::OpenRouter.OAuthErrorResponseError? Type1893 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1894 { get; set; } + public global::OpenRouter.OAuthJwks? Type1894 { get; set; } /// /// /// - public global::OpenRouter.OAuthJwksKey? Type1895 { get; set; } + public global::System.Collections.Generic.IList? Type1895 { get; set; } /// /// /// - public global::OpenRouter.OAuthJwksKeyAlg? Type1896 { get; set; } + public global::OpenRouter.OAuthJwksKey? Type1896 { get; set; } /// /// /// - public global::OpenRouter.OAuthJwksKeyCrv? Type1897 { get; set; } + public global::OpenRouter.OAuthJwksKeyAlg? Type1897 { get; set; } /// /// /// - public global::OpenRouter.OAuthJwksKeyKty? Type1898 { get; set; } + public global::OpenRouter.OAuthJwksKeyCrv? Type1898 { get; set; } /// /// /// - public global::OpenRouter.OAuthJwksKeyUse? Type1899 { get; set; } + public global::OpenRouter.OAuthJwksKeyKty? Type1899 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityArizeDestination? Type1900 { get; set; } + public global::OpenRouter.OAuthJwksKeyUse? Type1900 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityArizeDestinationConfig? Type1901 { get; set; } + public global::OpenRouter.ObservabilityArizeDestination? Type1901 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRulesConfig? Type1902 { get; set; } + public global::OpenRouter.ObservabilityArizeDestinationConfig? Type1902 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1903 { get; set; } + public global::OpenRouter.ObservabilityFilterRulesConfig? Type1903 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDataRegion? Type1904 { get; set; } + public global::System.Collections.Generic.IList? Type1904 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityArizeDestinationType? Type1905 { get; set; } + public global::OpenRouter.ObservabilityDataRegion? Type1905 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityBraintrustDestination? Type1906 { get; set; } + public global::OpenRouter.ObservabilityArizeDestinationType? Type1906 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityBraintrustDestinationConfig? Type1907 { get; set; } + public global::OpenRouter.ObservabilityBraintrustDestination? Type1907 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityBraintrustDestinationType? Type1908 { get; set; } + public global::OpenRouter.ObservabilityBraintrustDestinationConfig? Type1908 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityClickhouseDestination? Type1909 { get; set; } + public global::OpenRouter.ObservabilityBraintrustDestinationType? Type1909 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityClickhouseDestinationConfig? Type1910 { get; set; } + public global::OpenRouter.ObservabilityClickhouseDestination? Type1910 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityClickhouseDestinationType? Type1911 { get; set; } + public global::OpenRouter.ObservabilityClickhouseDestinationConfig? Type1911 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDatadogDestination? Type1912 { get; set; } + public global::OpenRouter.ObservabilityClickhouseDestinationType? Type1912 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDatadogDestinationConfig? Type1913 { get; set; } + public global::OpenRouter.ObservabilityDatadogDestination? Type1913 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDatadogDestinationType? Type1914 { get; set; } + public global::OpenRouter.ObservabilityDatadogDestinationConfig? Type1914 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityGrafanaDestination? Type1915 { get; set; } + public global::OpenRouter.ObservabilityDatadogDestinationType? Type1915 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityLangfuseDestination? Type1916 { get; set; } + public global::OpenRouter.ObservabilityGrafanaDestination? Type1916 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityLangsmithDestination? Type1917 { get; set; } + public global::OpenRouter.ObservabilityLangfuseDestination? Type1917 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityNewrelicDestination? Type1918 { get; set; } + public global::OpenRouter.ObservabilityLangsmithDestination? Type1918 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityOpikDestination? Type1919 { get; set; } + public global::OpenRouter.ObservabilityNewrelicDestination? Type1919 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityOtelCollectorDestination? Type1920 { get; set; } + public global::OpenRouter.ObservabilityOpikDestination? Type1920 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityPosthogDestination? Type1921 { get; set; } + public global::OpenRouter.ObservabilityOtelCollectorDestination? Type1921 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityRampDestination? Type1922 { get; set; } + public global::OpenRouter.ObservabilityPosthogDestination? Type1922 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityS3Destination? Type1923 { get; set; } + public global::OpenRouter.ObservabilityRampDestination? Type1923 { get; set; } /// /// /// - public global::OpenRouter.ObservabilitySentryDestination? Type1924 { get; set; } + public global::OpenRouter.ObservabilityS3Destination? Type1924 { get; set; } /// /// /// - public global::OpenRouter.ObservabilitySnowflakeDestination? Type1925 { get; set; } + public global::OpenRouter.ObservabilitySentryDestination? Type1925 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWeaveDestination? Type1926 { get; set; } + public global::OpenRouter.ObservabilitySnowflakeDestination? Type1926 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWebhookDestination? Type1927 { get; set; } + public global::OpenRouter.ObservabilityWeaveDestination? Type1927 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationDiscriminator? Type1928 { get; set; } + public global::OpenRouter.ObservabilityWebhookDestination? Type1928 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationDiscriminatorType? Type1929 { get; set; } + public global::OpenRouter.ObservabilityDestinationDiscriminator? Type1929 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRuleGroup? Type1930 { get; set; } + public global::OpenRouter.ObservabilityDestinationDiscriminatorType? Type1930 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRuleGroupLogic? Type1931 { get; set; } + public global::OpenRouter.ObservabilityFilterRuleGroup? Type1931 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1932 { get; set; } + public global::OpenRouter.ObservabilityFilterRuleGroupLogic? Type1932 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRuleGroupRule? Type1933 { get; set; } + public global::System.Collections.Generic.IList? Type1933 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRuleGroupRuleField? Type1934 { get; set; } + public global::OpenRouter.ObservabilityFilterRuleGroupRule? Type1934 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRuleGroupRuleOperator? Type1935 { get; set; } + public global::OpenRouter.ObservabilityFilterRuleGroupRuleField? Type1935 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1936 { get; set; } + public global::OpenRouter.ObservabilityFilterRuleGroupRuleOperator? Type1936 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityGrafanaDestinationConfig? Type1937 { get; set; } + public global::System.Collections.Generic.IList? Type1937 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityGrafanaDestinationType? Type1938 { get; set; } + public global::OpenRouter.ObservabilityGrafanaDestinationConfig? Type1938 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityLangfuseDestinationConfig? Type1939 { get; set; } + public global::OpenRouter.ObservabilityGrafanaDestinationType? Type1939 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityLangfuseDestinationType? Type1940 { get; set; } + public global::OpenRouter.ObservabilityLangfuseDestinationConfig? Type1940 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityLangsmithDestinationConfig? Type1941 { get; set; } + public global::OpenRouter.ObservabilityLangfuseDestinationType? Type1941 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityLangsmithDestinationType? Type1942 { get; set; } + public global::OpenRouter.ObservabilityLangsmithDestinationConfig? Type1942 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityNewrelicDestinationConfig? Type1943 { get; set; } + public global::OpenRouter.ObservabilityLangsmithDestinationType? Type1943 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityNewrelicDestinationConfigRegion? Type1944 { get; set; } + public global::OpenRouter.ObservabilityNewrelicDestinationConfig? Type1944 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityNewrelicDestinationType? Type1945 { get; set; } + public global::OpenRouter.ObservabilityNewrelicDestinationConfigRegion? Type1945 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityOpikDestinationConfig? Type1946 { get; set; } + public global::OpenRouter.ObservabilityNewrelicDestinationType? Type1946 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityOpikDestinationType? Type1947 { get; set; } + public global::OpenRouter.ObservabilityOpikDestinationConfig? Type1947 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityOtelCollectorDestinationConfig? Type1948 { get; set; } + public global::OpenRouter.ObservabilityOpikDestinationType? Type1948 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityOtelCollectorDestinationType? Type1949 { get; set; } + public global::OpenRouter.ObservabilityOtelCollectorDestinationConfig? Type1949 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityPosthogDestinationConfig? Type1950 { get; set; } + public global::OpenRouter.ObservabilityOtelCollectorDestinationType? Type1950 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityPosthogDestinationType? Type1951 { get; set; } + public global::OpenRouter.ObservabilityPosthogDestinationConfig? Type1951 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityRampDestinationConfig? Type1952 { get; set; } + public global::OpenRouter.ObservabilityPosthogDestinationType? Type1952 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityRampDestinationType? Type1953 { get; set; } + public global::OpenRouter.ObservabilityRampDestinationConfig? Type1953 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityS3DestinationConfig? Type1954 { get; set; } + public global::OpenRouter.ObservabilityRampDestinationType? Type1954 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityS3DestinationConfigAuthMode? Type1955 { get; set; } + public global::OpenRouter.ObservabilityS3DestinationConfig? Type1955 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityS3DestinationConfigProvider? Type1956 { get; set; } + public global::OpenRouter.ObservabilityS3DestinationConfigAuthMode? Type1956 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityS3DestinationType? Type1957 { get; set; } + public global::OpenRouter.ObservabilityS3DestinationConfigProvider? Type1957 { get; set; } /// /// /// - public global::OpenRouter.ObservabilitySentryDestinationConfig? Type1958 { get; set; } + public global::OpenRouter.ObservabilityS3DestinationType? Type1958 { get; set; } /// /// /// - public global::OpenRouter.ObservabilitySentryDestinationType? Type1959 { get; set; } + public global::OpenRouter.ObservabilitySentryDestinationConfig? Type1959 { get; set; } /// /// /// - public global::OpenRouter.ObservabilitySnowflakeDestinationConfig? Type1960 { get; set; } + public global::OpenRouter.ObservabilitySentryDestinationType? Type1960 { get; set; } /// /// /// - public global::OpenRouter.ObservabilitySnowflakeDestinationType? Type1961 { get; set; } + public global::OpenRouter.ObservabilitySnowflakeDestinationConfig? Type1961 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWeaveDestinationConfig? Type1962 { get; set; } + public global::OpenRouter.ObservabilitySnowflakeDestinationType? Type1962 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWeaveDestinationType? Type1963 { get; set; } + public global::OpenRouter.ObservabilityWeaveDestinationConfig? Type1963 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWebhookDestinationConfig? Type1964 { get; set; } + public global::OpenRouter.ObservabilityWeaveDestinationType? Type1964 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWebhookDestinationConfigMethod? Type1965 { get; set; } + public global::OpenRouter.ObservabilityWebhookDestinationConfig? Type1965 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWebhookDestinationType? Type1966 { get; set; } + public global::OpenRouter.ObservabilityWebhookDestinationConfigMethod? Type1966 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileShape? Type1967 { get; set; } + public global::OpenRouter.ObservabilityWebhookDestinationType? Type1967 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileObject? Type1968 { get; set; } + public global::OpenRouter.OpenAIFileShape? Type1968 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFilePurpose? Type1969 { get; set; } + public global::OpenRouter.OpenAIFileObject? Type1969 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileStatus? Type1970 { get; set; } + public global::OpenRouter.OpenAIFilePurpose? Type1970 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileDeletedShape? Type1971 { get; set; } + public global::OpenRouter.OpenAIFileStatus? Type1971 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileDeletedObject? Type1972 { get; set; } + public global::OpenRouter.OpenAIFileDeletedShape? Type1972 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileListShape? Type1973 { get; set; } + public global::OpenRouter.OpenAIFileDeletedObject? Type1973 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1974 { get; set; } + public global::OpenRouter.OpenAIFileListShape? Type1974 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileListObject? Type1975 { get; set; } + public global::System.Collections.Generic.IList? Type1975 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseCustomToolCallType? Type1976 { get; set; } + public global::OpenRouter.OpenAIFileListObject? Type1976 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type1977 { get; set; } + public global::OpenRouter.OpenAIResponseCustomToolCallType? Type1977 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1978 { get; set; } + public global::OpenRouter.AnyOf>? Type1978 { get; set; } /// /// /// - public global::OpenRouter.OutputVariant2Item3? Type1979 { get; set; } + public global::System.Collections.Generic.IList? Type1979 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseCustomToolCallOutputOutputVariant2ItemDiscriminator? Type1980 { get; set; } + public global::OpenRouter.OutputVariant2Item3? Type1980 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseCustomToolCallOutputOutputVariant2ItemDiscriminatorType? Type1981 { get; set; } + public global::OpenRouter.OpenAIResponseCustomToolCallOutputOutputVariant2ItemDiscriminator? Type1981 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseCustomToolCallOutputType? Type1982 { get; set; } + public global::OpenRouter.OpenAIResponseCustomToolCallOutputOutputVariant2ItemDiscriminatorType? Type1982 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1983 { get; set; } + public global::OpenRouter.OpenAIResponseCustomToolCallOutputType? Type1983 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCallSubagentItem? Type1984 { get; set; } + public global::System.Collections.Generic.IList? Type1984 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCallType? Type1985 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCallSubagentItem? Type1985 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type1986 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCallType? Type1986 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1987 { get; set; } + public global::OpenRouter.AnyOf>? Type1987 { get; set; } /// /// /// - public global::OpenRouter.OutputVariant2Item4? Type1988 { get; set; } + public global::System.Collections.Generic.IList? Type1988 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCallOutputOutputVariant2ItemDiscriminator? Type1989 { get; set; } + public global::OpenRouter.OutputVariant2Item4? Type1989 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCallOutputOutputVariant2ItemDiscriminatorType? Type1990 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCallOutputOutputVariant2ItemDiscriminator? Type1990 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCallOutputType? Type1991 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCallOutputOutputVariant2ItemDiscriminatorType? Type1991 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1992 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCallOutputType? Type1992 { get; set; } /// /// /// - public global::OpenRouter.ContentItem4? Type1993 { get; set; } + public global::System.Collections.Generic.IList? Type1993 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItemContentItemDiscriminator? Type1994 { get; set; } + public global::OpenRouter.ContentItem4? Type1994 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItemContentItemDiscriminatorType? Type1995 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItemContentItemDiscriminator? Type1995 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant1? Type1996 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItemContentItemDiscriminatorType? Type1996 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant2? Type1997 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant1? Type1997 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant3? Type1998 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant2? Type1998 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItemType? Type1999 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant3? Type1999 { get; set; } /// /// /// - public global::OpenRouter.URLCitation? Type2000 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItemType? Type2000 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDeltaType? Type2001 { get; set; } + public global::OpenRouter.URLCitation? Type2001 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDoneType? Type2002 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDeltaType? Type2002 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCompletedType? Type2003 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDoneType? Type2003 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInProgressType? Type2004 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCompletedType? Type2004 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInterpretingType? Type2005 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInProgressType? Type2005 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallCompletedType? Type2006 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInterpretingType? Type2006 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallGeneratingType? Type2007 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallCompletedType? Type2007 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallInProgressType? Type2008 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallGeneratingType? Type2008 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallPartialImageType? Type2009 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallInProgressType? Type2009 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesRefusalContentType? Type2010 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallPartialImageType? Type2010 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesSearchCompleted? Type2011 { get; set; } + public global::OpenRouter.OpenAIResponsesRefusalContentType? Type2011 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesSearchCompletedType? Type2012 { get; set; } + public global::OpenRouter.OpenAIResponsesSearchCompleted? Type2012 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant1? Type2013 { get; set; } + public global::OpenRouter.OpenAIResponsesSearchCompletedType? Type2013 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant2? Type2014 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant1? Type2014 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant3? Type2015 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant2? Type2015 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant4? Type2016 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant3? Type2016 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant4Type? Type2017 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant4? Type2017 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant5? Type2018 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant4Type? Type2018 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2019 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant5? Type2019 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant5TypeVariant1? Type2020 { get; set; } + public global::OpenRouter.AnyOf? Type2020 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant5TypeVariant2? Type2021 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant5TypeVariant1? Type2021 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceAllowed? Type2022 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant5TypeVariant2? Type2022 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant7? Type2023 { get; set; } + public global::OpenRouter.ToolChoiceAllowed? Type2023 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant7Type? Type2024 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant7? Type2024 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant8? Type2025 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant7Type? Type2025 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant8Type? Type2026 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant8? Type2026 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceMcp? Type2027 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant8Type? Type2027 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesTruncation? Type2028 { get; set; } + public global::OpenRouter.ToolChoiceMcp? Type2028 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesUsageInputTokensDetails? Type2029 { get; set; } + public global::OpenRouter.OpenAIResponsesTruncation? Type2029 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesUsageOutputTokensDetails? Type2030 { get; set; } + public global::OpenRouter.OpenAIResponsesUsageInputTokensDetails? Type2030 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesWebSearchCallInProgress? Type2031 { get; set; } + public global::OpenRouter.OpenAIResponsesUsageOutputTokensDetails? Type2031 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesWebSearchCallInProgressType? Type2032 { get; set; } + public global::OpenRouter.OpenAIResponsesWebSearchCallInProgress? Type2032 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesWebSearchCallSearching? Type2033 { get; set; } + public global::OpenRouter.OpenAIResponsesWebSearchCallInProgressType? Type2033 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesWebSearchCallSearchingType? Type2034 { get; set; } + public global::OpenRouter.OpenAIResponsesWebSearchCallSearching? Type2034 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesCreatedEvent? Type2035 { get; set; } + public global::OpenRouter.OpenAIResponsesWebSearchCallSearchingType? Type2035 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesCreatedEventVariant2? Type2036 { get; set; } + public global::OpenRouter.OpenResponsesCreatedEvent? Type2036 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesErrorField? Type2037 { get; set; } + public global::OpenRouter.OpenResponsesCreatedEventVariant2? Type2037 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesErrorFieldCode? Type2038 { get; set; } + public global::OpenRouter.OpenResponsesErrorField? Type2038 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesErrorMetadata? Type2039 { get; set; } + public global::OpenRouter.OpenResponsesErrorFieldCode? Type2039 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2040 { get; set; } + public global::OpenRouter.OpenResponsesErrorMetadata? Type2040 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesErrorMetadataAlignment? Type2041 { get; set; } + public global::OpenRouter.AllOf? Type2041 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesInProgressEvent? Type2042 { get; set; } + public global::OpenRouter.OpenResponsesErrorMetadataAlignment? Type2042 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesInProgressEventVariant2? Type2043 { get; set; } + public global::OpenRouter.OpenResponsesInProgressEvent? Type2043 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2044 { get; set; } + public global::OpenRouter.OpenResponsesInProgressEventVariant2? Type2044 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesTopLogprobs? Type2045 { get; set; } + public global::System.Collections.Generic.IList? Type2045 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesResultVariant2? Type2046 { get; set; } + public global::OpenRouter.OpenResponsesTopLogprobs? Type2046 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesResultVariant2AccessPrograms? Type2047 { get; set; } + public global::OpenRouter.OpenResponsesResultVariant2? Type2047 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesResultVariant2AccessProgramsCyber? Type2048 { get; set; } + public global::OpenRouter.OpenResponsesResultVariant2AccessPrograms? Type2048 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2049 { get; set; } + public global::OpenRouter.OpenResponsesResultVariant2AccessProgramsCyber? Type2049 { get; set; } /// /// /// - public global::OpenRouter.OutputItems? Type2050 { get; set; } + public global::System.Collections.Generic.IList? Type2050 { get; set; } /// /// /// - public global::OpenRouter.TextExtendedConfig? Type2051 { get; set; } + public global::OpenRouter.OutputItems? Type2051 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2052 { get; set; } + public global::OpenRouter.TextExtendedConfig? Type2052 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFileShape? Type2053 { get; set; } + public global::OpenRouter.AllOf? Type2053 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFileType? Type2054 { get; set; } + public global::OpenRouter.OpenRouterFileShape? Type2054 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFileDeletedShape? Type2055 { get; set; } + public global::OpenRouter.OpenRouterFileType? Type2055 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFileDeletedType? Type2056 { get; set; } + public global::OpenRouter.OpenRouterFileDeletedShape? Type2056 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFileListShape? Type2057 { get; set; } + public global::OpenRouter.OpenRouterFileDeletedType? Type2057 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2058 { get; set; } + public global::OpenRouter.OpenRouterFileListShape? Type2058 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2059 { get; set; } + public global::System.Collections.Generic.IList? Type2059 { get; set; } /// /// /// - public global::OpenRouter.RouterAttempt? Type2060 { get; set; } + public global::System.Collections.Generic.IList? Type2060 { get; set; } /// /// /// - public global::OpenRouter.RouterParams? Type2061 { get; set; } + public global::OpenRouter.RouterAttempt? Type2061 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2062 { get; set; } + public global::OpenRouter.RouterParams? Type2062 { get; set; } /// /// /// - public global::OpenRouter.PipelineStage? Type2063 { get; set; } + public global::System.Collections.Generic.IList? Type2063 { get; set; } /// /// /// - public global::OpenRouter.RoutingStrategy? Type2064 { get; set; } + public global::OpenRouter.PipelineStage? Type2064 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterWebSearchServerToolType? Type2065 { get; set; } + public global::OpenRouter.RoutingStrategy? Type2065 { get; set; } /// /// /// - public global::OpenRouter.Operator? Type2066 { get; set; } + public global::OpenRouter.OpenRouterWebSearchServerToolType? Type2066 { get; set; } /// /// /// - public global::OpenRouter.OperatorName? Type2067 { get; set; } + public global::OpenRouter.Operator? Type2067 { get; set; } /// /// /// - public global::OpenRouter.OperatorValueType? Type2068 { get; set; } + public global::OpenRouter.OperatorName? Type2068 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2069 { get; set; } + public global::OpenRouter.OperatorValueType? Type2069 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicBashToolResultFile? Type2070 { get; set; } + public global::System.Collections.Generic.IList? Type2070 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicBashToolResultFileType? Type2071 { get; set; } + public global::OpenRouter.ORAnthropicBashToolResultFile? Type2071 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicBashToolResultType? Type2072 { get; set; } + public global::OpenRouter.ORAnthropicBashToolResultFileType? Type2072 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockDiscriminator? Type2073 { get; set; } + public global::OpenRouter.ORAnthropicBashToolResultType? Type2073 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockDiscriminatorType? Type2074 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockDiscriminator? Type2074 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicNullableCaller? Type2075 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockDiscriminatorType? Type2075 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicNullableCallerDiscriminator? Type2076 { get; set; } + public global::OpenRouter.ORAnthropicNullableCaller? Type2076 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicNullableCallerDiscriminatorType? Type2077 { get; set; } + public global::OpenRouter.ORAnthropicNullableCallerDiscriminator? Type2077 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicServerToolUseBlockType? Type2078 { get; set; } + public global::OpenRouter.ORAnthropicNullableCallerDiscriminatorType? Type2078 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2079 { get; set; } + public global::OpenRouter.ORAnthropicServerToolUseBlockType? Type2079 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicShellToolResultFile? Type2080 { get; set; } + public global::System.Collections.Generic.IList? Type2080 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicShellToolResultFileType? Type2081 { get; set; } + public global::OpenRouter.ORAnthropicShellToolResultFile? Type2081 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicShellToolResultType? Type2082 { get; set; } + public global::OpenRouter.ORAnthropicShellToolResultFileType? Type2082 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicToolSearchResultType? Type2083 { get; set; } + public global::OpenRouter.ORAnthropicShellToolResultType? Type2083 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicToolSearchResultParamType? Type2084 { get; set; } + public global::OpenRouter.ORAnthropicToolSearchResultType? Type2084 { get; set; } /// /// /// - public global::OpenRouter.OrganizationSettings? Type2085 { get; set; } + public global::OpenRouter.ORAnthropicToolSearchResultParamType? Type2085 { get; set; } /// /// /// - public global::OpenRouter.OutputAdvisorServerToolItemType? Type2086 { get; set; } + public global::OpenRouter.OrganizationSettings? Type2086 { get; set; } /// /// /// - public global::OpenRouter.OutputApplyPatchCallItem? Type2087 { get; set; } + public global::OpenRouter.OutputAdvisorServerToolItemType? Type2087 { get; set; } /// /// /// - public global::OpenRouter.OutputApplyPatchCallItemType? Type2088 { get; set; } + public global::OpenRouter.OutputApplyPatchCallItem? Type2088 { get; set; } /// /// /// - public global::OpenRouter.OutputApplyPatchServerToolItemType? Type2089 { get; set; } + public global::OpenRouter.OutputApplyPatchCallItemType? Type2089 { get; set; } /// /// /// - public global::OpenRouter.OutputArmorBlockedItemStatus? Type2090 { get; set; } + public global::OpenRouter.OutputApplyPatchServerToolItemType? Type2090 { get; set; } /// /// /// - public global::OpenRouter.OutputArmorBlockedItemType? Type2091 { get; set; } + public global::OpenRouter.OutputArmorBlockedItemStatus? Type2091 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2092 { get; set; } + public global::OpenRouter.OutputArmorBlockedItemType? Type2092 { get; set; } /// /// /// - public global::OpenRouter.OutputBashServerToolItemFile? Type2093 { get; set; } + public global::System.Collections.Generic.IList? Type2093 { get; set; } /// /// /// - public global::OpenRouter.OutputBashServerToolItemFileType? Type2094 { get; set; } + public global::OpenRouter.OutputBashServerToolItemFile? Type2094 { get; set; } /// /// /// - public global::OpenRouter.OutputBashServerToolItemType? Type2095 { get; set; } + public global::OpenRouter.OutputBashServerToolItemFileType? Type2095 { get; set; } /// /// /// - public global::OpenRouter.OutputBrowserUseServerToolItemType? Type2096 { get; set; } + public global::OpenRouter.OutputBashServerToolItemType? Type2096 { get; set; } /// /// /// - public global::OpenRouter.OutputCodeInterpreterServerToolItemType? Type2097 { get; set; } + public global::OpenRouter.OutputBrowserUseServerToolItemType? Type2097 { get; set; } /// /// /// - public global::OpenRouter.OutputCompactionItem? Type2098 { get; set; } + public global::OpenRouter.OutputCodeInterpreterServerToolItemType? Type2098 { get; set; } /// /// /// - public global::OpenRouter.OutputCompactionItemType? Type2099 { get; set; } + public global::OpenRouter.OutputCompactionItem? Type2099 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2100 { get; set; } + public global::OpenRouter.OutputCompactionItemType? Type2100 { get; set; } /// /// /// - public global::OpenRouter.OutputComputerCallItemPendingSafetyCheck? Type2101 { get; set; } + public global::System.Collections.Generic.IList? Type2101 { get; set; } /// /// /// - public global::OpenRouter.OutputComputerCallItemStatus? Type2102 { get; set; } + public global::OpenRouter.OutputComputerCallItemPendingSafetyCheck? Type2102 { get; set; } /// /// /// - public global::OpenRouter.OutputComputerCallItemType? Type2103 { get; set; } + public global::OpenRouter.OutputComputerCallItemStatus? Type2103 { get; set; } /// /// /// - public global::OpenRouter.OutputCustomToolCallItem? Type2104 { get; set; } + public global::OpenRouter.OutputComputerCallItemType? Type2104 { get; set; } /// /// /// - public global::OpenRouter.OutputCustomToolCallItemStatus? Type2105 { get; set; } + public global::OpenRouter.OutputCustomToolCallItem? Type2105 { get; set; } /// /// /// - public global::OpenRouter.OutputCustomToolCallItemType? Type2106 { get; set; } + public global::OpenRouter.OutputCustomToolCallItemStatus? Type2106 { get; set; } /// /// /// - public global::OpenRouter.OutputDatetimeItemType? Type2107 { get; set; } + public global::OpenRouter.OutputCustomToolCallItemType? Type2107 { get; set; } /// /// /// - public global::OpenRouter.OutputFileSearchServerToolItemType? Type2108 { get; set; } + public global::OpenRouter.OutputDatetimeItemType? Type2108 { get; set; } /// /// /// - public global::OpenRouter.OutputFilesServerToolItemType? Type2109 { get; set; } + public global::OpenRouter.OutputFileSearchServerToolItemType? Type2109 { get; set; } /// /// /// - public global::OpenRouter.OutputFunctionCallItem? Type2110 { get; set; } + public global::OpenRouter.OutputFilesServerToolItemType? Type2110 { get; set; } /// /// /// - public global::OpenRouter.OutputFunctionCallItemVariant2? Type2111 { get; set; } + public global::OpenRouter.OutputFunctionCallItem? Type2111 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2112 { get; set; } + public global::OpenRouter.OutputFunctionCallItemVariant2? Type2112 { get; set; } /// /// /// - public global::OpenRouter.OutputFunctionCallItemVariant2SubagentItem? Type2113 { get; set; } + public global::System.Collections.Generic.IList? Type2113 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2114 { get; set; } + public global::OpenRouter.OutputFunctionCallItemVariant2SubagentItem? Type2114 { get; set; } /// /// /// - public global::OpenRouter.OutputFusionServerToolItemFailedModel? Type2115 { get; set; } + public global::System.Collections.Generic.IList? Type2115 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2116 { get; set; } + public global::OpenRouter.OutputFusionServerToolItemFailedModel? Type2116 { get; set; } /// /// /// - public global::OpenRouter.OutputFusionServerToolItemResponse? Type2117 { get; set; } + public global::System.Collections.Generic.IList? Type2117 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2118 { get; set; } + public global::OpenRouter.OutputFusionServerToolItemResponse? Type2118 { get; set; } /// /// /// - public global::OpenRouter.OutputFusionServerToolItemType? Type2119 { get; set; } + public global::System.Collections.Generic.IList? Type2119 { get; set; } /// /// /// - public global::OpenRouter.OutputImageGenerationCallItemVariant2? Type2120 { get; set; } + public global::OpenRouter.OutputFusionServerToolItemType? Type2120 { get; set; } /// /// /// - public global::OpenRouter.OutputImageGenerationServerToolItemType? Type2121 { get; set; } + public global::OpenRouter.OutputImageGenerationCallItemVariant2? Type2121 { get; set; } /// /// /// - public global::OpenRouter.OutputItemAddedEvent? Type2122 { get; set; } + public global::OpenRouter.OutputImageGenerationServerToolItemType? Type2122 { get; set; } /// /// /// - public global::OpenRouter.Item? Type2123 { get; set; } + public global::OpenRouter.OutputItemAddedEvent? Type2123 { get; set; } /// /// /// - public global::OpenRouter.OutputItemAddedEventItemDiscriminator? Type2124 { get; set; } + public global::OpenRouter.Item? Type2124 { get; set; } /// /// /// - public global::OpenRouter.OutputItemAddedEventItemDiscriminatorType? Type2125 { get; set; } + public global::OpenRouter.OutputItemAddedEventItemDiscriminator? Type2125 { get; set; } /// /// /// - public global::OpenRouter.OutputItemAddedEventType? Type2126 { get; set; } + public global::OpenRouter.OutputItemAddedEventItemDiscriminatorType? Type2126 { get; set; } /// /// /// - public global::OpenRouter.Operation? Type2127 { get; set; } + public global::OpenRouter.OutputItemAddedEventType? Type2127 { get; set; } /// /// /// - public global::OpenRouter.OutputItemApplyPatchCallOperationDiscriminator? Type2128 { get; set; } + public global::OpenRouter.Operation? Type2128 { get; set; } /// /// /// - public global::OpenRouter.OutputItemApplyPatchCallOperationDiscriminatorType? Type2129 { get; set; } + public global::OpenRouter.OutputItemApplyPatchCallOperationDiscriminator? Type2129 { get; set; } /// /// /// - public global::OpenRouter.OutputItemApplyPatchCallStatus? Type2130 { get; set; } + public global::OpenRouter.OutputItemApplyPatchCallOperationDiscriminatorType? Type2130 { get; set; } /// /// /// - public global::OpenRouter.OutputItemApplyPatchCallType? Type2131 { get; set; } + public global::OpenRouter.OutputItemApplyPatchCallStatus? Type2131 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2132 { get; set; } + public global::OpenRouter.OutputItemApplyPatchCallType? Type2132 { get; set; } /// /// /// - public global::OpenRouter.OutputsItem? Type2133 { get; set; } + public global::System.Collections.Generic.IList? Type2133 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCodeInterpreterCallOutputDiscriminator? Type2134 { get; set; } + public global::OpenRouter.OutputsItem? Type2134 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCodeInterpreterCallOutputDiscriminatorType? Type2135 { get; set; } + public global::OpenRouter.OutputItemCodeInterpreterCallOutputDiscriminator? Type2135 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCodeInterpreterCallStatus? Type2136 { get; set; } + public global::OpenRouter.OutputItemCodeInterpreterCallOutputDiscriminatorType? Type2136 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCodeInterpreterCallType? Type2137 { get; set; } + public global::OpenRouter.OutputItemCodeInterpreterCallStatus? Type2137 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCompactionType? Type2138 { get; set; } + public global::OpenRouter.OutputItemCodeInterpreterCallType? Type2138 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCustomToolCallStatus? Type2139 { get; set; } + public global::OpenRouter.OutputItemCompactionType? Type2139 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCustomToolCallType? Type2140 { get; set; } + public global::OpenRouter.OutputItemCustomToolCallStatus? Type2140 { get; set; } /// /// /// - public global::OpenRouter.OutputItemDoneEvent? Type2141 { get; set; } + public global::OpenRouter.OutputItemCustomToolCallType? Type2141 { get; set; } /// /// /// - public global::OpenRouter.Item2? Type2142 { get; set; } + public global::OpenRouter.OutputItemDoneEvent? Type2142 { get; set; } /// /// /// - public global::OpenRouter.OutputItemDoneEventItemDiscriminator? Type2143 { get; set; } + public global::OpenRouter.Item2? Type2143 { get; set; } /// /// /// - public global::OpenRouter.OutputItemDoneEventItemDiscriminatorType? Type2144 { get; set; } + public global::OpenRouter.OutputItemDoneEventItemDiscriminator? Type2144 { get; set; } /// /// /// - public global::OpenRouter.OutputItemDoneEventType? Type2145 { get; set; } + public global::OpenRouter.OutputItemDoneEventItemDiscriminatorType? Type2145 { get; set; } /// /// /// - public global::OpenRouter.WebSearchStatus? Type2146 { get; set; } + public global::OpenRouter.OutputItemDoneEventType? Type2146 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFileSearchCallType? Type2147 { get; set; } + public global::OpenRouter.WebSearchStatus? Type2147 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFunctionCallStatusVariant1? Type2148 { get; set; } + public global::OpenRouter.OutputItemFileSearchCallType? Type2148 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFunctionCallStatusVariant2? Type2149 { get; set; } + public global::OpenRouter.OutputItemFunctionCallStatusVariant1? Type2149 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFunctionCallStatusVariant3? Type2150 { get; set; } + public global::OpenRouter.OutputItemFunctionCallStatusVariant2? Type2150 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFunctionCallType? Type2151 { get; set; } + public global::OpenRouter.OutputItemFunctionCallStatusVariant3? Type2151 { get; set; } /// /// /// - public global::OpenRouter.OutputItemImageGenerationCallType? Type2152 { get; set; } + public global::OpenRouter.OutputItemFunctionCallType? Type2152 { get; set; } /// /// /// - public global::OpenRouter.OutputItemMcpApprovalRequestType? Type2153 { get; set; } + public global::OpenRouter.OutputItemImageGenerationCallType? Type2153 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2154 { get; set; } + public global::OpenRouter.OutputItemMcpApprovalRequestType? Type2154 { get; set; } /// /// /// - public global::OpenRouter.OutputItemMcpCallErrorVariant2? Type2155 { get; set; } + public global::OpenRouter.AnyOf? Type2155 { get; set; } /// /// /// - public global::OpenRouter.OutputItemMcpCallErrorVariant2Type? Type2156 { get; set; } + public global::OpenRouter.OutputItemMcpCallErrorVariant2? Type2156 { get; set; } /// /// /// - public global::OpenRouter.OutputItemMcpCallErrorVariant3? Type2157 { get; set; } + public global::OpenRouter.OutputItemMcpCallErrorVariant2Type? Type2157 { get; set; } /// /// /// - public global::OpenRouter.OutputItemMcpCallErrorVariant3Type? Type2158 { get; set; } + public global::OpenRouter.OutputItemMcpCallErrorVariant3? Type2158 { get; set; } /// /// /// - public global::OpenRouter.OutputItemMcpCallErrorVariant4? Type2159 { get; set; } + public global::OpenRouter.OutputItemMcpCallErrorVariant3Type? Type2159 { get; set; } /// /// /// - public global::OpenRouter.OutputItemMcpCallErrorVariant4Type? Type2160 { get; set; } + public global::OpenRouter.OutputItemMcpCallErrorVariant4? Type2160 { get; set; } /// /// /// - public global::OpenRouter.OutputItemMcpCallStatus? Type2161 { get; set; } + public global::OpenRouter.OutputItemMcpCallErrorVariant4Type? Type2161 { get; set; } /// /// /// - public global::OpenRouter.OutputItemMcpCallType? Type2162 { get; set; } + public global::OpenRouter.OutputItemMcpCallStatus? Type2162 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2163 { get; set; } + public global::OpenRouter.OutputItemMcpCallType? Type2163 { get; set; } /// /// /// - public global::OpenRouter.OutputItemMcpListToolsTool? Type2164 { get; set; } + public global::System.Collections.Generic.IList? Type2164 { get; set; } /// /// /// - public global::OpenRouter.OutputItemMcpListToolsType? Type2165 { get; set; } + public global::OpenRouter.OutputItemMcpListToolsTool? Type2165 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2166 { get; set; } + public global::OpenRouter.OutputItemMcpListToolsType? Type2166 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2167 { get; set; } + public global::System.Collections.Generic.IList? Type2167 { get; set; } /// /// /// - public global::OpenRouter.OutputItemReasoningStatusVariant1? Type2168 { get; set; } + public global::OpenRouter.AnyOf? Type2168 { get; set; } /// /// /// - public global::OpenRouter.OutputItemReasoningStatusVariant2? Type2169 { get; set; } + public global::OpenRouter.OutputItemReasoningStatusVariant1? Type2169 { get; set; } /// /// /// - public global::OpenRouter.OutputItemReasoningStatusVariant3? Type2170 { get; set; } + public global::OpenRouter.OutputItemReasoningStatusVariant2? Type2170 { get; set; } /// /// /// - public global::OpenRouter.OutputItemReasoningType? Type2171 { get; set; } + public global::OpenRouter.OutputItemReasoningStatusVariant3? Type2171 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallItem? Type2172 { get; set; } + public global::OpenRouter.OutputItemReasoningType? Type2172 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallOutputItem? Type2173 { get; set; } + public global::OpenRouter.OutputShellCallItem? Type2173 { get; set; } /// /// /// - public global::OpenRouter.OutputToolSearchCallItem? Type2174 { get; set; } + public global::OpenRouter.OutputShellCallOutputItem? Type2174 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsDiscriminator? Type2175 { get; set; } + public global::OpenRouter.OutputToolSearchCallItem? Type2175 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsDiscriminatorType? Type2176 { get; set; } + public global::OpenRouter.OutputItemsDiscriminator? Type2176 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallActionVariant1? Type2177 { get; set; } + public global::OpenRouter.OutputItemsDiscriminatorType? Type2177 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2178 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallActionVariant1? Type2178 { get; set; } /// /// /// - public global::OpenRouter.WebSearchSource? Type2179 { get; set; } + public global::System.Collections.Generic.IList? Type2179 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallActionVariant1Type? Type2180 { get; set; } + public global::OpenRouter.WebSearchSource? Type2180 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallActionVariant2? Type2181 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallActionVariant1Type? Type2181 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallActionVariant2Type? Type2182 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallActionVariant2? Type2182 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallActionVariant3? Type2183 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallActionVariant2Type? Type2183 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallActionVariant3Type? Type2184 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallActionVariant3? Type2184 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallType? Type2185 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallActionVariant3Type? Type2185 { get; set; } /// /// /// - public global::OpenRouter.OutputMemoryServerToolItemAction? Type2186 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallType? Type2186 { get; set; } /// /// /// - public global::OpenRouter.OutputMemoryServerToolItemType? Type2187 { get; set; } + public global::OpenRouter.OutputMemoryServerToolItemAction? Type2187 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2188 { get; set; } + public global::OpenRouter.OutputMemoryServerToolItemType? Type2188 { get; set; } /// /// /// - public global::OpenRouter.OutputMessagePhaseVariant1? Type2189 { get; set; } + public global::OpenRouter.AnyOf? Type2189 { get; set; } /// /// /// - public global::OpenRouter.OutputMessagePhaseVariant2? Type2190 { get; set; } + public global::OpenRouter.OutputMessagePhaseVariant1? Type2190 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageRole? Type2191 { get; set; } + public global::OpenRouter.OutputMessagePhaseVariant2? Type2191 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2192 { get; set; } + public global::OpenRouter.OutputMessageRole? Type2192 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageStatusVariant1? Type2193 { get; set; } + public global::OpenRouter.AnyOf? Type2193 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageStatusVariant2? Type2194 { get; set; } + public global::OpenRouter.OutputMessageStatusVariant1? Type2194 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageStatusVariant3? Type2195 { get; set; } + public global::OpenRouter.OutputMessageStatusVariant2? Type2195 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageType? Type2196 { get; set; } + public global::OpenRouter.OutputMessageStatusVariant3? Type2196 { get; set; } /// /// /// - public global::OpenRouter.OutputModalityEnum? Type2197 { get; set; } + public global::OpenRouter.OutputMessageType? Type2197 { get; set; } /// /// /// - public global::OpenRouter.OutputReasoningItemVariant2? Type2198 { get; set; } + public global::OpenRouter.OutputModalityEnum? Type2198 { get; set; } /// /// /// - public global::OpenRouter.ReasoningFormat? Type2199 { get; set; } + public global::OpenRouter.OutputReasoningItemVariant2? Type2199 { get; set; } /// /// /// - public global::OpenRouter.OutputSearchModelsServerToolItemType? Type2200 { get; set; } + public global::OpenRouter.ReasoningFormat? Type2200 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallItemAction? Type2201 { get; set; } + public global::OpenRouter.OutputSearchModelsServerToolItemType? Type2201 { get; set; } /// /// /// - public global::OpenRouter.ShellCallStatus? Type2202 { get; set; } + public global::OpenRouter.OutputShellCallItemAction? Type2202 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallItemType? Type2203 { get; set; } + public global::OpenRouter.ShellCallStatus? Type2203 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2204 { get; set; } + public global::OpenRouter.OutputShellCallItemType? Type2204 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallOutputItemFile? Type2205 { get; set; } + public global::System.Collections.Generic.IList? Type2205 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallOutputItemFileType? Type2206 { get; set; } + public global::OpenRouter.OutputShellCallOutputItemFile? Type2206 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2207 { get; set; } + public global::OpenRouter.OutputShellCallOutputItemFileType? Type2207 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputContent? Type2208 { get; set; } + public global::System.Collections.Generic.IList? Type2208 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallOutputItemType? Type2209 { get; set; } + public global::OpenRouter.ShellCallOutputContent? Type2209 { get; set; } /// /// /// - public global::OpenRouter.OutputShellServerToolItemAction? Type2210 { get; set; } + public global::OpenRouter.OutputShellCallOutputItemType? Type2210 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2211 { get; set; } + public global::OpenRouter.OutputShellServerToolItemAction? Type2211 { get; set; } /// /// /// - public global::OpenRouter.OutputShellServerToolItemFile? Type2212 { get; set; } + public global::System.Collections.Generic.IList? Type2212 { get; set; } /// /// /// - public global::OpenRouter.OutputShellServerToolItemFileType? Type2213 { get; set; } + public global::OpenRouter.OutputShellServerToolItemFile? Type2213 { get; set; } /// /// /// - public global::OpenRouter.OutputShellServerToolItemType? Type2214 { get; set; } + public global::OpenRouter.OutputShellServerToolItemFileType? Type2214 { get; set; } /// /// /// - public global::OpenRouter.OutputSubagentServerToolItemType? Type2215 { get; set; } + public global::OpenRouter.OutputShellServerToolItemType? Type2215 { get; set; } /// /// /// - public global::OpenRouter.OutputTextEditorServerToolItemCommand? Type2216 { get; set; } + public global::OpenRouter.OutputSubagentServerToolItemType? Type2216 { get; set; } /// /// /// - public global::OpenRouter.OutputTextEditorServerToolItemType? Type2217 { get; set; } + public global::OpenRouter.OutputTextEditorServerToolItemCommand? Type2217 { get; set; } /// /// /// - public global::OpenRouter.OutputToolSearchCallItemExecution? Type2218 { get; set; } + public global::OpenRouter.OutputTextEditorServerToolItemType? Type2218 { get; set; } /// /// /// - public global::OpenRouter.OutputToolSearchCallItemType? Type2219 { get; set; } + public global::OpenRouter.OutputToolSearchCallItemExecution? Type2219 { get; set; } /// /// /// - public global::OpenRouter.OutputToolSearchServerToolItemFormat? Type2220 { get; set; } + public global::OpenRouter.OutputToolSearchCallItemType? Type2220 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2221 { get; set; } + public global::OpenRouter.OutputToolSearchServerToolItemFormat? Type2221 { get; set; } /// /// /// - public global::OpenRouter.OutputToolSearchServerToolItemMatche? Type2222 { get; set; } + public global::System.Collections.Generic.IList? Type2222 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary>? Type2223 { get; set; } + public global::OpenRouter.OutputToolSearchServerToolItemMatche? Type2223 { get; set; } /// /// /// - public global::OpenRouter.OutputToolSearchServerToolItemType? Type2224 { get; set; } + public global::System.Collections.Generic.Dictionary>? Type2224 { get; set; } /// /// /// - public global::OpenRouter.OutputWebFetchServerToolItemType? Type2225 { get; set; } + public global::OpenRouter.OutputToolSearchServerToolItemType? Type2225 { get; set; } /// /// /// - public global::OpenRouter.OutputWebSearchServerToolItemAction? Type2226 { get; set; } + public global::OpenRouter.OutputWebFetchServerToolItemType? Type2226 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2227 { get; set; } + public global::OpenRouter.OutputWebSearchServerToolItemAction? Type2227 { get; set; } /// /// /// - public global::OpenRouter.OutputWebSearchServerToolItemActionSource? Type2228 { get; set; } + public global::System.Collections.Generic.IList? Type2228 { get; set; } /// /// /// - public global::OpenRouter.OutputWebSearchServerToolItemActionSourceType? Type2229 { get; set; } + public global::OpenRouter.OutputWebSearchServerToolItemActionSource? Type2229 { get; set; } /// /// /// - public global::OpenRouter.OutputWebSearchServerToolItemActionType? Type2230 { get; set; } + public global::OpenRouter.OutputWebSearchServerToolItemActionSourceType? Type2230 { get; set; } /// /// /// - public global::OpenRouter.OutputWebSearchServerToolItemType? Type2231 { get; set; } + public global::OpenRouter.OutputWebSearchServerToolItemActionType? Type2231 { get; set; } /// /// /// - public global::OpenRouter.ParetoRouterPluginId? Type2232 { get; set; } + public global::OpenRouter.OutputWebSearchServerToolItemType? Type2232 { get; set; } /// /// /// - public global::OpenRouter.ParetoRouterPluginPriceSource? Type2233 { get; set; } + public global::OpenRouter.ParetoRouterPluginId? Type2233 { get; set; } /// /// /// - public global::OpenRouter.PayloadTooLargeResponse? Type2234 { get; set; } + public global::OpenRouter.ParetoRouterPluginPriceSource? Type2234 { get; set; } /// /// /// - public global::OpenRouter.PayloadTooLargeResponseErrorData? Type2235 { get; set; } + public global::OpenRouter.PayloadTooLargeResponse? Type2235 { get; set; } /// /// /// - public global::OpenRouter.PaymentRequiredResponse? Type2236 { get; set; } + public global::OpenRouter.PayloadTooLargeResponseErrorData? Type2236 { get; set; } /// /// /// - public global::OpenRouter.PaymentRequiredResponseErrorData? Type2237 { get; set; } + public global::OpenRouter.PaymentRequiredResponse? Type2237 { get; set; } /// /// /// - public global::OpenRouter.PDFParserEngine? Type2238 { get; set; } + public global::OpenRouter.PaymentRequiredResponseErrorData? Type2238 { get; set; } /// /// /// - public global::OpenRouter.PDFParserEngineVariant1? Type2239 { get; set; } + public global::OpenRouter.PDFParserEngine? Type2239 { get; set; } /// /// /// - public global::OpenRouter.PDFParserEngineVariant2? Type2240 { get; set; } + public global::OpenRouter.PDFParserEngineVariant1? Type2240 { get; set; } /// /// /// - public global::OpenRouter.PercentileLatencyCutoffs? Type2241 { get; set; } + public global::OpenRouter.PDFParserEngineVariant2? Type2241 { get; set; } /// /// /// - public global::OpenRouter.PercentileThroughputCutoffs? Type2242 { get; set; } + public global::OpenRouter.PercentileLatencyCutoffs? Type2242 { get; set; } /// /// /// - public global::OpenRouter.PerfLast30mByWorkload? Type2243 { get; set; } + public global::OpenRouter.PercentileThroughputCutoffs? Type2243 { get; set; } /// /// /// - public global::OpenRouter.Rerank? Type2244 { get; set; } + public global::OpenRouter.PerfLast30mByWorkload? Type2244 { get; set; } /// /// /// - public global::OpenRouter.Stt? Type2245 { get; set; } + public global::OpenRouter.Rerank? Type2245 { get; set; } /// /// /// - public global::OpenRouter.TextGeneration? Type2246 { get; set; } + public global::OpenRouter.Stt? Type2246 { get; set; } /// /// /// - public global::OpenRouter.Tts? Type2247 { get; set; } + public global::OpenRouter.TextGeneration? Type2247 { get; set; } /// /// /// - public global::OpenRouter.Unknown? Type2248 { get; set; } + public global::OpenRouter.Tts? Type2248 { get; set; } /// /// /// - public global::OpenRouter.VideoGeneration? Type2249 { get; set; } + public global::OpenRouter.Unknown? Type2249 { get; set; } /// /// /// - public global::OpenRouter.PipelineStageType? Type2250 { get; set; } + public global::OpenRouter.VideoGeneration? Type2250 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type2251 { get; set; } + public global::OpenRouter.PipelineStageType? Type2251 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2252 { get; set; } + public global::OpenRouter.AnyOf>? Type2252 { get; set; } /// /// /// - public global::OpenRouter.PredictionContentText? Type2253 { get; set; } + public global::System.Collections.Generic.IList? Type2253 { get; set; } /// /// /// - public global::OpenRouter.PredictionType? Type2254 { get; set; } + public global::OpenRouter.PredictionContentText? Type2254 { get; set; } /// /// /// - public global::OpenRouter.PredictionContentTextType? Type2255 { get; set; } + public global::OpenRouter.PredictionType? Type2255 { get; set; } /// /// /// - public global::OpenRouter.PreferredMaxLatency? Type2256 { get; set; } + public global::OpenRouter.PredictionContentTextType? Type2256 { get; set; } /// /// /// - public global::OpenRouter.PreferredMinThroughput? Type2257 { get; set; } + public global::OpenRouter.PreferredMaxLatency? Type2257 { get; set; } /// /// /// - public global::OpenRouter.PresetStatus? Type2258 { get; set; } + public global::OpenRouter.PreferredMinThroughput? Type2258 { get; set; } /// /// /// - public global::OpenRouter.PresetWithDesignatedVersionVariant2? Type2259 { get; set; } + public global::OpenRouter.PresetStatus? Type2259 { get; set; } /// /// /// - public global::OpenRouter.Preview20250311WebSearchServerToolType? Type2260 { get; set; } + public global::OpenRouter.PresetWithDesignatedVersionVariant2? Type2260 { get; set; } /// /// /// - public global::OpenRouter.PreviewWebSearchUserLocation? Type2261 { get; set; } + public global::OpenRouter.Preview20250311WebSearchServerToolType? Type2261 { get; set; } /// /// /// - public global::OpenRouter.PreviewWebSearchServerToolType? Type2262 { get; set; } + public global::OpenRouter.PreviewWebSearchUserLocation? Type2262 { get; set; } /// /// /// - public global::OpenRouter.PreviewWebSearchUserLocationType? Type2263 { get; set; } + public global::OpenRouter.PreviewWebSearchServerToolType? Type2263 { get; set; } /// /// /// - public global::OpenRouter.Pricing? Type2264 { get; set; } + public global::OpenRouter.PreviewWebSearchUserLocationType? Type2264 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2265 { get; set; } + public global::OpenRouter.Pricing? Type2265 { get; set; } /// /// /// - public global::OpenRouter.PricingOverride? Type2266 { get; set; } + public global::System.Collections.Generic.IList? Type2266 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2267 { get; set; } + public global::OpenRouter.PricingOverride? Type2267 { get; set; } /// /// /// - public global::OpenRouter.PricingOverrideUtcDay? Type2268 { get; set; } + public global::System.Collections.Generic.IList? Type2268 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpoint? Type2269 { get; set; } + public global::OpenRouter.PricingOverrideUtcDay? Type2269 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointSettings? Type2270 { get; set; } + public global::OpenRouter.PrivateEndpoint? Type2270 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointStatus? Type2271 { get; set; } + public global::OpenRouter.PrivateEndpointSettings? Type2271 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointCheck? Type2272 { get; set; } + public global::OpenRouter.PrivateEndpointStatus? Type2272 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointCheckReason? Type2273 { get; set; } + public global::OpenRouter.PrivateEndpointCheck? Type2273 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointParameterCheck? Type2274 { get; set; } + public global::OpenRouter.PrivateEndpointCheckReason? Type2274 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointQuantization? Type2275 { get; set; } + public global::OpenRouter.PrivateEndpointParameterCheck? Type2275 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointReasoningReturnMechanism? Type2276 { get; set; } + public global::OpenRouter.PrivateEndpointQuantization? Type2276 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointResponse? Type2277 { get; set; } + public global::OpenRouter.PrivateEndpointReasoningReturnMechanism? Type2277 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointSettingsCompletions? Type2278 { get; set; } + public global::OpenRouter.PrivateEndpointResponse? Type2278 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2279 { get; set; } + public global::OpenRouter.PrivateEndpointSettingsCompletions? Type2279 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointSettingsExcludedParameter? Type2280 { get; set; } + public global::System.Collections.Generic.IList? Type2280 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointSettingsInputs? Type2281 { get; set; } + public global::OpenRouter.PrivateEndpointSettingsExcludedParameter? Type2281 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointSettingsReasoning? Type2282 { get; set; } + public global::OpenRouter.PrivateEndpointSettingsInputs? Type2282 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointSettingsToolChoice? Type2283 { get; set; } + public global::OpenRouter.PrivateEndpointSettingsReasoning? Type2283 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointValidation? Type2284 { get; set; } + public global::OpenRouter.PrivateEndpointSettingsToolChoice? Type2284 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2285 { get; set; } + public global::OpenRouter.PrivateEndpointValidation? Type2285 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2286 { get; set; } + public global::System.Collections.Generic.IList? Type2286 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointValidationResponse? Type2287 { get; set; } + public global::System.Collections.Generic.IList? Type2287 { get; set; } /// /// /// - public global::OpenRouter.PrivateProvider? Type2288 { get; set; } + public global::OpenRouter.PrivateEndpointValidationResponse? Type2288 { get; set; } /// /// /// - public global::OpenRouter.PromptCacheBreakpointMode? Type2289 { get; set; } + public global::OpenRouter.PrivateProvider? Type2289 { get; set; } /// /// /// - public global::OpenRouter.PromptCacheOptionsMode? Type2290 { get; set; } + public global::OpenRouter.PromptCacheBreakpointMode? Type2290 { get; set; } /// /// /// - public global::OpenRouter.ProviderOverloadedResponse? Type2291 { get; set; } + public global::OpenRouter.PromptCacheOptionsMode? Type2291 { get; set; } /// /// /// - public global::OpenRouter.ProviderOverloadedResponseErrorData? Type2292 { get; set; } + public global::OpenRouter.ProviderOverloadedResponse? Type2292 { get; set; } /// /// /// - public global::OpenRouter.ProviderPreferencesDataCollection? Type2293 { get; set; } + public global::OpenRouter.ProviderOverloadedResponseErrorData? Type2293 { get; set; } /// /// /// - public global::OpenRouter.ProviderPreferencesMaxPrice? Type2294 { get; set; } + public global::OpenRouter.ProviderPreferencesDataCollection? Type2294 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2295 { get; set; } + public global::OpenRouter.ProviderPreferencesMaxPrice? Type2295 { get; set; } /// /// /// - public global::OpenRouter.Quantization? Type2296 { get; set; } + public global::System.Collections.Generic.IList? Type2296 { get; set; } /// /// /// - public global::OpenRouter.ProviderResponseProviderName? Type2297 { get; set; } + public global::OpenRouter.Quantization? Type2297 { get; set; } /// /// /// - public global::OpenRouter.ProviderResponseRoutedServiceTier? Type2298 { get; set; } + public global::OpenRouter.ProviderResponseProviderName? Type2298 { get; set; } /// /// /// - public global::OpenRouter.ProviderSortConfigBy? Type2299 { get; set; } + public global::OpenRouter.ProviderResponseRoutedServiceTier? Type2299 { get; set; } /// /// /// - public global::OpenRouter.ProviderSortConfigPartition? Type2300 { get; set; } + public global::OpenRouter.ProviderSortConfigBy? Type2300 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type2301 { get; set; } + public global::OpenRouter.ProviderSortConfigPartition? Type2301 { get; set; } /// /// /// - public global::OpenRouter.PublicServiceTier? Type2302 { get; set; } + public global::System.Collections.Generic.Dictionary? Type2302 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceSupport? Type2303 { get; set; } + public global::OpenRouter.PublicServiceTier? Type2303 { get; set; } /// /// /// - public global::OpenRouter.PublicZdrEndpoint? Type2304 { get; set; } + public global::OpenRouter.ToolChoiceSupport? Type2304 { get; set; } /// /// /// - public global::OpenRouter.PublicZdrEndpointVariant2? Type2305 { get; set; } + public global::OpenRouter.PublicZdrEndpoint? Type2305 { get; set; } /// /// /// - public global::OpenRouter.RangeCapabilityType? Type2306 { get; set; } + public global::OpenRouter.PublicZdrEndpointVariant2? Type2306 { get; set; } /// /// /// - public global::OpenRouter.RankingsDailyItem? Type2307 { get; set; } + public global::OpenRouter.RangeCapabilityType? Type2307 { get; set; } /// /// /// - public global::OpenRouter.RankingsDailyMetaVersion? Type2308 { get; set; } + public global::OpenRouter.RankingsDailyItem? Type2308 { get; set; } /// /// /// - public global::OpenRouter.RankingsDailyResponse? Type2309 { get; set; } + public global::OpenRouter.RankingsDailyMetaVersion? Type2309 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2310 { get; set; } + public global::OpenRouter.RankingsDailyResponse? Type2310 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2311 { get; set; } + public global::System.Collections.Generic.IList? Type2311 { get; set; } /// /// /// - public global::OpenRouter.ReasoningConfigVariant12? Type2312 { get; set; } + public global::OpenRouter.AllOf? Type2312 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDeltaEvent? Type2313 { get; set; } + public global::OpenRouter.ReasoningConfigVariant12? Type2313 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailEncryptedType? Type2314 { get; set; } + public global::OpenRouter.ReasoningDeltaEvent? Type2314 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailServerToolCallType? Type2315 { get; set; } + public global::OpenRouter.ReasoningDetailEncryptedType? Type2315 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailSummaryType? Type2316 { get; set; } + public global::OpenRouter.ReasoningDetailServerToolCallType? Type2316 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailTextType? Type2317 { get; set; } + public global::OpenRouter.ReasoningDetailSummaryType? Type2317 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailUnionDiscriminator? Type2318 { get; set; } + public global::OpenRouter.ReasoningDetailTextType? Type2318 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailUnionDiscriminatorType? Type2319 { get; set; } + public global::OpenRouter.ReasoningDetailUnionDiscriminator? Type2319 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDoneEvent? Type2320 { get; set; } + public global::OpenRouter.ReasoningDetailUnionDiscriminatorType? Type2320 { get; set; } /// /// /// - public global::OpenRouter.ReasoningItemVariant2? Type2321 { get; set; } + public global::OpenRouter.ReasoningDoneEvent? Type2321 { get; set; } /// /// /// - public global::OpenRouter.ReasoningSummaryPartAddedEvent? Type2322 { get; set; } + public global::OpenRouter.ReasoningItemVariant2? Type2322 { get; set; } /// /// /// - public global::OpenRouter.ReasoningSummaryPartDoneEvent? Type2323 { get; set; } + public global::OpenRouter.ReasoningSummaryPartAddedEvent? Type2323 { get; set; } /// /// /// - public global::OpenRouter.ReasoningSummaryTextType? Type2324 { get; set; } + public global::OpenRouter.ReasoningSummaryPartDoneEvent? Type2324 { get; set; } /// /// /// - public global::OpenRouter.ReasoningSummaryTextDeltaEvent? Type2325 { get; set; } + public global::OpenRouter.ReasoningSummaryTextType? Type2325 { get; set; } /// /// /// - public global::OpenRouter.ReasoningSummaryTextDoneEvent? Type2326 { get; set; } + public global::OpenRouter.ReasoningSummaryTextDeltaEvent? Type2326 { get; set; } /// /// /// - public global::OpenRouter.ReasoningTextContentType? Type2327 { get; set; } + public global::OpenRouter.ReasoningSummaryTextDoneEvent? Type2327 { get; set; } /// /// /// - public global::OpenRouter.RefusalDeltaEvent? Type2328 { get; set; } + public global::OpenRouter.ReasoningTextContentType? Type2328 { get; set; } /// /// /// - public global::OpenRouter.RefusalDoneEvent? Type2329 { get; set; } + public global::OpenRouter.RefusalDeltaEvent? Type2329 { get; set; } /// /// /// - public global::OpenRouter.RequestTimeoutResponse? Type2330 { get; set; } + public global::OpenRouter.RefusalDoneEvent? Type2330 { get; set; } /// /// /// - public global::OpenRouter.RequestTimeoutResponseErrorData? Type2331 { get; set; } + public global::OpenRouter.RequestTimeoutResponse? Type2331 { get; set; } /// /// /// - public global::OpenRouter.ResponseHealingPluginId? Type2332 { get; set; } + public global::OpenRouter.RequestTimeoutResponseErrorData? Type2332 { get; set; } /// /// /// - public global::OpenRouter.ResponseIncludesEnum? Type2333 { get; set; } + public global::OpenRouter.ResponseHealingPluginId? Type2333 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2334 { get; set; } + public global::OpenRouter.ResponseIncludesEnum? Type2334 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2335 { get; set; } + public global::System.Collections.Generic.IList? Type2335 { get; set; } /// /// /// - public global::OpenRouter.ResponseOutputTextLogprob? Type2336 { get; set; } + public global::System.Collections.Generic.IList? Type2336 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2337 { get; set; } + public global::OpenRouter.ResponseOutputTextLogprob? Type2337 { get; set; } /// /// /// - public global::OpenRouter.ResponseOutputTextLogprobTopLogprob? Type2338 { get; set; } + public global::System.Collections.Generic.IList? Type2338 { get; set; } /// /// /// - public global::OpenRouter.ResponseOutputTextType? Type2339 { get; set; } + public global::OpenRouter.ResponseOutputTextLogprobTopLogprob? Type2339 { get; set; } /// /// /// - public global::OpenRouter.ResponsesErrorFieldCode? Type2340 { get; set; } + public global::OpenRouter.ResponseOutputTextType? Type2340 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequest? Type2341 { get; set; } + public global::OpenRouter.ResponsesErrorFieldCode? Type2341 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestAccessPrograms? Type2342 { get; set; } + public global::OpenRouter.ResponsesRequest? Type2342 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestAccessProgramsCyber? Type2343 { get; set; } + public global::OpenRouter.ResponsesRequestAccessPrograms? Type2343 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2344 { get; set; } + public global::OpenRouter.ResponsesRequestAccessProgramsCyber? Type2344 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2345 { get; set; } + public global::System.Collections.Generic.IList? Type2345 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2346 { get; set; } + public global::System.Collections.Generic.IList? Type2346 { get; set; } /// /// /// - public global::OpenRouter.PluginsItem3? Type2347 { get; set; } + public global::System.Collections.Generic.IList? Type2347 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestPluginDiscriminator? Type2348 { get; set; } + public global::OpenRouter.PluginsItem3? Type2348 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestPluginDiscriminatorId? Type2349 { get; set; } + public global::OpenRouter.ResponsesRequestPluginDiscriminator? Type2349 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestServiceTier? Type2350 { get; set; } + public global::OpenRouter.ResponsesRequestPluginDiscriminatorId? Type2350 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2351 { get; set; } + public global::OpenRouter.ResponsesRequestServiceTier? Type2351 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestToolVariant1? Type2352 { get; set; } + public global::OpenRouter.AllOf? Type2352 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2353 { get; set; } + public global::OpenRouter.ResponsesRequestToolVariant1? Type2353 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestToolVariant1AllowedCaller? Type2354 { get; set; } + public global::System.Collections.Generic.IList? Type2354 { get; set; } /// /// /// - public global::OpenRouter.ResponsesStreamingResponse? Type2355 { get; set; } + public global::OpenRouter.ResponsesRequestToolVariant1AllowedCaller? Type2355 { get; set; } /// /// /// - public global::OpenRouter.StreamEvents? Type2356 { get; set; } + public global::OpenRouter.ResponsesStreamingResponse? Type2356 { get; set; } /// /// /// - public global::OpenRouter.ScalarFilterOperator? Type2357 { get; set; } + public global::OpenRouter.StreamEvents? Type2357 { get; set; } /// /// /// - public global::OpenRouter.ScimGroupMappingRole? Type2358 { get; set; } + public global::OpenRouter.ScalarFilterOperator? Type2358 { get; set; } /// /// /// - public global::OpenRouter.ScimSyncJobStatus? Type2359 { get; set; } + public global::OpenRouter.ScimGroupMappingRole? Type2359 { get; set; } /// /// /// - public global::OpenRouter.SearchModelsServerToolOpenRouterType? Type2360 { get; set; } + public global::OpenRouter.ScimSyncJobStatus? Type2360 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2361 { get; set; } + public global::OpenRouter.SearchModelsServerToolOpenRouterType? Type2361 { get; set; } /// /// /// - public global::OpenRouter.ServerToolInputName? Type2362 { get; set; } + public global::System.Collections.Generic.IList? Type2362 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2363 { get; set; } + public global::OpenRouter.ServerToolInputName? Type2363 { get; set; } /// /// /// - public global::OpenRouter.ServerToolEngine? Type2364 { get; set; } + public global::System.Collections.Generic.IList? Type2364 { get; set; } /// /// /// - public global::OpenRouter.ServerToolNativeSupport? Type2365 { get; set; } + public global::OpenRouter.ServerToolEngine? Type2365 { get; set; } /// /// /// - public global::OpenRouter.ServerToolStatus? Type2366 { get; set; } + public global::OpenRouter.ServerToolNativeSupport? Type2366 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2367 { get; set; } + public global::OpenRouter.ServerToolStatus? Type2367 { get; set; } /// /// /// - public global::OpenRouter.ServerToolSupportedApiFormat? Type2368 { get; set; } + public global::System.Collections.Generic.IList? Type2368 { get; set; } /// /// /// - public global::OpenRouter.ServerToolDetailsVariant2? Type2369 { get; set; } + public global::OpenRouter.ServerToolSupportedApiFormat? Type2369 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2370 { get; set; } + public global::OpenRouter.ServerToolDetailsVariant2? Type2370 { get; set; } /// /// /// - public global::OpenRouter.ServerToolDetailsVariant2NativeSupport? Type2371 { get; set; } + public global::OpenRouter.AllOf? Type2371 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2372 { get; set; } + public global::OpenRouter.ServerToolDetailsVariant2NativeSupport? Type2372 { get; set; } /// /// /// - public global::OpenRouter.ServerToolNativeModel? Type2373 { get; set; } + public global::System.Collections.Generic.IList? Type2373 { get; set; } /// /// /// - public global::OpenRouter.ServerToolEngineByok? Type2374 { get; set; } + public global::OpenRouter.ServerToolNativeModel? Type2374 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2375 { get; set; } + public global::OpenRouter.ServerToolEngineByok? Type2375 { get; set; } /// /// /// - public global::OpenRouter.ServerToolEngineDataRegion? Type2376 { get; set; } + public global::System.Collections.Generic.IList? Type2376 { get; set; } /// /// /// - public global::OpenRouter.ServerToolExecutedBy? Type2377 { get; set; } + public global::OpenRouter.ServerToolEngineDataRegion? Type2377 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2378 { get; set; } + public global::OpenRouter.ServerToolExecutedBy? Type2378 { get; set; } /// /// /// - public global::OpenRouter.ServerToolPrice? Type2379 { get; set; } + public global::System.Collections.Generic.IList? Type2379 { get; set; } /// /// /// - public global::OpenRouter.ServerToolEnginePricingSource? Type2380 { get; set; } + public global::OpenRouter.ServerToolPrice? Type2380 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2381 { get; set; } + public global::OpenRouter.ServerToolEnginePricingSource? Type2381 { get; set; } /// /// /// - public global::OpenRouter.ServerToolInputNameApiFormat? Type2382 { get; set; } + public global::System.Collections.Generic.IList? Type2382 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2383 { get; set; } + public global::OpenRouter.ServerToolInputNameApiFormat? Type2383 { get; set; } /// /// /// - public global::OpenRouter.ServerToolOutputName? Type2384 { get; set; } + public global::System.Collections.Generic.IList? Type2384 { get; set; } /// /// /// - public global::OpenRouter.ServerToolOutputNameApiFormat? Type2385 { get; set; } + public global::OpenRouter.ServerToolOutputName? Type2385 { get; set; } /// /// /// - public global::OpenRouter.ServiceUnavailableResponse? Type2386 { get; set; } + public global::OpenRouter.ServerToolOutputNameApiFormat? Type2386 { get; set; } /// /// /// - public global::OpenRouter.ServiceUnavailableResponseErrorData? Type2387 { get; set; } + public global::OpenRouter.ServiceUnavailableResponse? Type2387 { get; set; } /// /// /// - public global::OpenRouter.SessionCostItem? Type2388 { get; set; } + public global::OpenRouter.ServiceUnavailableResponseErrorData? Type2388 { get; set; } /// /// /// - public global::OpenRouter.SessionCostItemTurnRange? Type2389 { get; set; } + public global::OpenRouter.SessionCostItem? Type2389 { get; set; } /// /// /// - public global::OpenRouter.SessionCostMeta? Type2390 { get; set; } + public global::OpenRouter.SessionCostItemTurnRange? Type2390 { get; set; } /// /// /// - public global::OpenRouter.SessionCostMetaVersion? Type2391 { get; set; } + public global::OpenRouter.SessionCostMeta? Type2391 { get; set; } /// /// /// - public global::OpenRouter.SessionCostResponse? Type2392 { get; set; } + public global::OpenRouter.SessionCostMetaVersion? Type2392 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2393 { get; set; } + public global::OpenRouter.SessionCostResponse? Type2393 { get; set; } /// /// /// - public global::OpenRouter.SetFilterOperator? Type2394 { get; set; } + public global::System.Collections.Generic.IList? Type2394 { get; set; } /// /// /// - public global::OpenRouter.ShellCallItemAction? Type2395 { get; set; } + public global::OpenRouter.SetFilterOperator? Type2395 { get; set; } /// /// /// - public global::OpenRouter.ShellCallItemType? Type2396 { get; set; } + public global::OpenRouter.ShellCallItemAction? Type2396 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type2397 { get; set; } + public global::OpenRouter.ShellCallItemType? Type2397 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputContentOutcomeVariant1? Type2398 { get; set; } + public global::OpenRouter.OneOf? Type2398 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputContentOutcomeVariant1Type? Type2399 { get; set; } + public global::OpenRouter.ShellCallOutputContentOutcomeVariant1? Type2399 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputContentOutcomeVariant2? Type2400 { get; set; } + public global::OpenRouter.ShellCallOutputContentOutcomeVariant1Type? Type2400 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputContentOutcomeVariant2Type? Type2401 { get; set; } + public global::OpenRouter.ShellCallOutputContentOutcomeVariant2? Type2401 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2402 { get; set; } + public global::OpenRouter.ShellCallOutputContentOutcomeVariant2Type? Type2402 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputItemFile? Type2403 { get; set; } + public global::System.Collections.Generic.IList? Type2403 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputItemFileType? Type2404 { get; set; } + public global::OpenRouter.ShellCallOutputItemFile? Type2404 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputItemType? Type2405 { get; set; } + public global::OpenRouter.ShellCallOutputItemFileType? Type2405 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolType? Type2406 { get; set; } + public global::OpenRouter.ShellCallOutputItemType? Type2406 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolConfig? Type2407 { get; set; } + public global::OpenRouter.ShellServerToolType? Type2407 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolOpenRouterType? Type2408 { get; set; } + public global::OpenRouter.ShellServerToolConfig? Type2408 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolEngine? Type2409 { get; set; } + public global::OpenRouter.ShellServerToolOpenRouterType? Type2409 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolEnvironment? Type2410 { get; set; } + public global::OpenRouter.ShellServerToolEngine? Type2410 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolEnvironmentDiscriminator? Type2411 { get; set; } + public global::OpenRouter.ShellServerToolEnvironment? Type2411 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolEnvironmentDiscriminatorType? Type2412 { get; set; } + public global::OpenRouter.ShellServerToolEnvironmentDiscriminator? Type2412 { get; set; } /// /// /// - public global::OpenRouter.SpeechInput? Type2413 { get; set; } + public global::OpenRouter.ShellServerToolEnvironmentDiscriminatorType? Type2413 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2414 { get; set; } + public global::OpenRouter.SpeechInput? Type2414 { get; set; } /// /// /// - public global::OpenRouter.SpeechTurn? Type2415 { get; set; } + public global::System.Collections.Generic.IList? Type2415 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReference? Type2416 { get; set; } + public global::OpenRouter.SpeechTurn? Type2416 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceAudio? Type2417 { get; set; } + public global::OpenRouter.SpeechInputReference? Type2417 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceText? Type2418 { get; set; } + public global::OpenRouter.SpeechInputReferenceAudio? Type2418 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceImage? Type2419 { get; set; } + public global::OpenRouter.SpeechInputReferenceText? Type2419 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceDiscriminator? Type2420 { get; set; } + public global::OpenRouter.SpeechInputReferenceImage? Type2420 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceDiscriminatorType? Type2421 { get; set; } + public global::OpenRouter.SpeechInputReferenceDiscriminator? Type2421 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceAudioInput? Type2422 { get; set; } + public global::OpenRouter.SpeechInputReferenceDiscriminatorType? Type2422 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceAudioType? Type2423 { get; set; } + public global::OpenRouter.SpeechInputReferenceAudioInput? Type2423 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceImageInput? Type2424 { get; set; } + public global::OpenRouter.SpeechInputReferenceAudioType? Type2424 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceImageType? Type2425 { get; set; } + public global::OpenRouter.SpeechInputReferenceImageInput? Type2425 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceTextType? Type2426 { get; set; } + public global::OpenRouter.SpeechInputReferenceImageType? Type2426 { get; set; } /// /// /// - public global::OpenRouter.SpeechRequest? Type2427 { get; set; } + public global::OpenRouter.SpeechInputReferenceTextType? Type2427 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2428 { get; set; } + public global::OpenRouter.SpeechRequest? Type2428 { get; set; } /// /// /// - public global::OpenRouter.SpeechRequestProvider? Type2429 { get; set; } + public global::System.Collections.Generic.IList? Type2429 { get; set; } /// /// /// - public global::OpenRouter.SpeechRequestProviderDataCollection? Type2430 { get; set; } + public global::OpenRouter.SpeechRequestProvider? Type2430 { get; set; } /// /// /// - public global::OpenRouter.SpeechRequestResponseFormat? Type2431 { get; set; } + public global::OpenRouter.SpeechRequestProviderDataCollection? Type2431 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenCondition? Type2432 { get; set; } + public global::OpenRouter.SpeechRequestResponseFormat? Type2432 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenStepCountIs? Type2433 { get; set; } + public global::OpenRouter.StopServerToolsWhenCondition? Type2433 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenHasToolCall? Type2434 { get; set; } + public global::OpenRouter.StopServerToolsWhenStepCountIs? Type2434 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenMaxTokensUsed? Type2435 { get; set; } + public global::OpenRouter.StopServerToolsWhenHasToolCall? Type2435 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenMaxCost? Type2436 { get; set; } + public global::OpenRouter.StopServerToolsWhenMaxTokensUsed? Type2436 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenFinishReasonIs? Type2437 { get; set; } + public global::OpenRouter.StopServerToolsWhenMaxCost? Type2437 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenConditionDiscriminator? Type2438 { get; set; } + public global::OpenRouter.StopServerToolsWhenFinishReasonIs? Type2438 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenConditionDiscriminatorType? Type2439 { get; set; } + public global::OpenRouter.StopServerToolsWhenConditionDiscriminator? Type2439 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenFinishReasonIsType? Type2440 { get; set; } + public global::OpenRouter.StopServerToolsWhenConditionDiscriminatorType? Type2440 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenHasToolCallType? Type2441 { get; set; } + public global::OpenRouter.StopServerToolsWhenFinishReasonIsType? Type2441 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenMaxCostType? Type2442 { get; set; } + public global::OpenRouter.StopServerToolsWhenHasToolCallType? Type2442 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenMaxTokensUsedType? Type2443 { get; set; } + public global::OpenRouter.StopServerToolsWhenMaxCostType? Type2443 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenStepCountIsType? Type2444 { get; set; } + public global::OpenRouter.StopServerToolsWhenMaxTokensUsedType? Type2444 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2445 { get; set; } + public global::OpenRouter.StopServerToolsWhenStepCountIsType? Type2445 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseCompleted? Type2446 { get; set; } + public global::OpenRouter.AnyOf? Type2446 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseIncomplete? Type2447 { get; set; } + public global::OpenRouter.StreamEventsResponseCompleted? Type2447 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseFailed? Type2448 { get; set; } + public global::OpenRouter.StreamEventsResponseIncomplete? Type2448 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseOutputItemAdded? Type2449 { get; set; } + public global::OpenRouter.StreamEventsResponseFailed? Type2449 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseOutputItemDone? Type2450 { get; set; } + public global::OpenRouter.StreamEventsResponseOutputItemAdded? Type2450 { get; set; } /// /// /// - public global::OpenRouter.TextDeltaEvent? Type2451 { get; set; } + public global::OpenRouter.StreamEventsResponseOutputItemDone? Type2451 { get; set; } /// /// /// - public global::OpenRouter.TextDoneEvent? Type2452 { get; set; } + public global::OpenRouter.TextDeltaEvent? Type2452 { get; set; } /// /// /// - public global::OpenRouter.WebSearchCallInProgressEvent? Type2453 { get; set; } + public global::OpenRouter.TextDoneEvent? Type2453 { get; set; } /// /// /// - public global::OpenRouter.WebSearchCallSearchingEvent? Type2454 { get; set; } + public global::OpenRouter.WebSearchCallInProgressEvent? Type2454 { get; set; } /// /// /// - public global::OpenRouter.WebSearchCallCompletedEvent? Type2455 { get; set; } + public global::OpenRouter.WebSearchCallSearchingEvent? Type2455 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsDiscriminator? Type2456 { get; set; } + public global::OpenRouter.WebSearchCallCompletedEvent? Type2456 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsDiscriminatorType? Type2457 { get; set; } + public global::OpenRouter.StreamEventsDiscriminator? Type2457 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseCompletedVariant2? Type2458 { get; set; } + public global::OpenRouter.StreamEventsDiscriminatorType? Type2458 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseFailedVariant2? Type2459 { get; set; } + public global::OpenRouter.StreamEventsResponseCompletedVariant2? Type2459 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseIncompleteVariant2? Type2460 { get; set; } + public global::OpenRouter.StreamEventsResponseFailedVariant2? Type2460 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseOutputItemAddedVariant2? Type2461 { get; set; } + public global::OpenRouter.StreamEventsResponseIncompleteVariant2? Type2461 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseOutputItemDoneVariant2? Type2462 { get; set; } + public global::OpenRouter.StreamEventsResponseOutputItemAddedVariant2? Type2462 { get; set; } /// /// /// - public global::OpenRouter.StreamLogprob? Type2463 { get; set; } + public global::OpenRouter.StreamEventsResponseOutputItemDoneVariant2? Type2463 { get; set; } /// /// /// - public global::OpenRouter.StreamLogprobVariant2? Type2464 { get; set; } + public global::OpenRouter.StreamLogprob? Type2464 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2465 { get; set; } + public global::OpenRouter.StreamLogprobVariant2? Type2465 { get; set; } /// /// /// - public global::OpenRouter.StreamLogprobTopLogprob? Type2466 { get; set; } + public global::System.Collections.Generic.IList? Type2466 { get; set; } /// /// /// - public global::OpenRouter.STTEntity? Type2467 { get; set; } + public global::OpenRouter.StreamLogprobTopLogprob? Type2467 { get; set; } /// /// /// - public global::OpenRouter.STTInlineInputAudio? Type2468 { get; set; } + public global::OpenRouter.STTEntity? Type2468 { get; set; } /// /// /// - public global::OpenRouter.STTInputAudio? Type2469 { get; set; } + public global::OpenRouter.STTInlineInputAudio? Type2469 { get; set; } /// /// /// - public global::OpenRouter.STTUrlInputAudio? Type2470 { get; set; } + public global::OpenRouter.STTInputAudio? Type2470 { get; set; } /// /// /// - public global::OpenRouter.STTRequest? Type2471 { get; set; } + public global::OpenRouter.STTUrlInputAudio? Type2471 { get; set; } /// /// /// - public global::OpenRouter.STTRequestProvider? Type2472 { get; set; } + public global::OpenRouter.STTRequest? Type2472 { get; set; } /// /// /// - public global::OpenRouter.STTRequestProviderDataCollection? Type2473 { get; set; } + public global::OpenRouter.STTRequestProvider? Type2473 { get; set; } /// /// /// - public global::OpenRouter.STTRequestResponseFormat? Type2474 { get; set; } + public global::OpenRouter.STTRequestProviderDataCollection? Type2474 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2475 { get; set; } + public global::OpenRouter.STTRequestResponseFormat? Type2475 { get; set; } /// /// /// - public global::OpenRouter.STTTimestampGranularity? Type2476 { get; set; } + public global::System.Collections.Generic.IList? Type2476 { get; set; } /// /// /// - public global::OpenRouter.STTResponse? Type2477 { get; set; } + public global::OpenRouter.STTTimestampGranularity? Type2477 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2478 { get; set; } + public global::OpenRouter.STTResponse? Type2478 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2479 { get; set; } + public global::System.Collections.Generic.IList? Type2479 { get; set; } /// /// /// - public global::OpenRouter.STTSegment? Type2480 { get; set; } + public global::System.Collections.Generic.IList? Type2480 { get; set; } /// /// /// - public global::OpenRouter.STTUsage? Type2481 { get; set; } + public global::OpenRouter.STTSegment? Type2481 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2482 { get; set; } + public global::OpenRouter.STTUsage? Type2482 { get; set; } /// /// /// - public global::OpenRouter.STTWord? Type2483 { get; set; } + public global::System.Collections.Generic.IList? Type2483 { get; set; } /// /// /// - public global::OpenRouter.STTWordType? Type2484 { get; set; } + public global::OpenRouter.STTWord? Type2484 { get; set; } /// /// /// - public global::OpenRouter.SubagentNestedTool? Type2485 { get; set; } + public global::OpenRouter.STTWordType? Type2485 { get; set; } /// /// /// - public global::OpenRouter.SubagentReasoning? Type2486 { get; set; } + public global::OpenRouter.SubagentNestedTool? Type2486 { get; set; } /// /// /// - public global::OpenRouter.SubagentReasoningEffort? Type2487 { get; set; } + public global::OpenRouter.SubagentReasoning? Type2487 { get; set; } /// /// /// - public global::OpenRouter.SubagentServerToolConfig? Type2488 { get; set; } + public global::OpenRouter.SubagentReasoningEffort? Type2488 { get; set; } /// /// /// - public global::OpenRouter.SubagentServerToolOpenRouterType? Type2489 { get; set; } + public global::OpenRouter.SubagentServerToolConfig? Type2489 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2490 { get; set; } + public global::OpenRouter.SubagentServerToolOpenRouterType? Type2490 { get; set; } /// /// /// - public global::OpenRouter.SubmitGenerationFeedbackRequest? Type2491 { get; set; } + public global::System.Collections.Generic.IList? Type2491 { get; set; } /// /// /// - public global::OpenRouter.SubmitGenerationFeedbackRequestCategory? Type2492 { get; set; } + public global::OpenRouter.SubmitGenerationFeedbackRequest? Type2492 { get; set; } /// /// /// - public global::OpenRouter.SubmitGenerationFeedbackResponse? Type2493 { get; set; } + public global::OpenRouter.SubmitGenerationFeedbackRequestCategory? Type2493 { get; set; } /// /// /// - public global::OpenRouter.SubmitGenerationFeedbackResponseData? Type2494 { get; set; } + public global::OpenRouter.SubmitGenerationFeedbackResponse? Type2494 { get; set; } /// /// /// - public global::OpenRouter.SwitchyardRouterPluginAlgorithm? Type2495 { get; set; } + public global::OpenRouter.SubmitGenerationFeedbackResponseData? Type2495 { get; set; } /// /// /// - public global::OpenRouter.SwitchyardRouterPluginId? Type2496 { get; set; } + public global::OpenRouter.SwitchyardRouterPluginAlgorithm? Type2496 { get; set; } /// /// /// - public global::OpenRouter.TaskClassificationItem? Type2497 { get; set; } + public global::OpenRouter.SwitchyardRouterPluginId? Type2497 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2498 { get; set; } + public global::OpenRouter.TaskClassificationItem? Type2498 { get; set; } /// /// /// - public global::OpenRouter.TaskClassificationModel? Type2499 { get; set; } + public global::System.Collections.Generic.IList? Type2499 { get; set; } /// /// /// - public global::OpenRouter.TaskClassificationMacroCategory? Type2500 { get; set; } + public global::OpenRouter.TaskClassificationModel? Type2500 { get; set; } /// /// /// - public global::OpenRouter.TaskClassificationResponse? Type2501 { get; set; } + public global::OpenRouter.TaskClassificationMacroCategory? Type2501 { get; set; } /// /// /// - public global::OpenRouter.TaskClassificationResponseData? Type2502 { get; set; } + public global::OpenRouter.TaskClassificationResponse? Type2502 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2503 { get; set; } + public global::OpenRouter.TaskClassificationResponseData? Type2503 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2504 { get; set; } + public global::System.Collections.Generic.IList? Type2504 { get; set; } /// /// /// - public global::OpenRouter.TextConfigVerbosity? Type2505 { get; set; } + public global::System.Collections.Generic.IList? Type2505 { get; set; } /// /// /// - public global::OpenRouter.TextDeltaEventVariant2? Type2506 { get; set; } + public global::OpenRouter.TextConfigVerbosity? Type2506 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2507 { get; set; } + public global::OpenRouter.TextDeltaEventVariant2? Type2507 { get; set; } /// /// /// - public global::OpenRouter.TextDoneEventVariant2? Type2508 { get; set; } + public global::System.Collections.Generic.IList? Type2508 { get; set; } /// /// /// - public global::OpenRouter.TextExtendedConfigVariant2? Type2509 { get; set; } + public global::OpenRouter.TextDoneEventVariant2? Type2509 { get; set; } /// /// /// - public global::OpenRouter.TextExtendedConfigVariant2Verbosity? Type2510 { get; set; } + public global::OpenRouter.TextExtendedConfigVariant2? Type2510 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeRequest? Type2511 { get; set; } + public global::OpenRouter.TextExtendedConfigVariant2Verbosity? Type2511 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeRequestGrantType? Type2512 { get; set; } + public global::OpenRouter.TokenExchangeRequest? Type2512 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeRequestRequestedTokenType? Type2513 { get; set; } + public global::OpenRouter.TokenExchangeRequestGrantType? Type2513 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeRequestScope? Type2514 { get; set; } + public global::OpenRouter.TokenExchangeRequestRequestedTokenType? Type2514 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeRequestSubjectTokenType? Type2515 { get; set; } + public global::OpenRouter.TokenExchangeRequestScope? Type2515 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeResponse? Type2516 { get; set; } + public global::OpenRouter.TokenExchangeRequestSubjectTokenType? Type2516 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeResponseIssuedTokenType? Type2517 { get; set; } + public global::OpenRouter.TokenExchangeResponse? Type2517 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeResponseTokenType? Type2518 { get; set; } + public global::OpenRouter.TokenExchangeResponseIssuedTokenType? Type2518 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2519 { get; set; } + public global::OpenRouter.TokenExchangeResponseTokenType? Type2519 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceAllowedModeVariant1? Type2520 { get; set; } + public global::OpenRouter.AnyOf? Type2520 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceAllowedModeVariant2? Type2521 { get; set; } + public global::OpenRouter.ToolChoiceAllowedModeVariant1? Type2521 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceAllowedType? Type2522 { get; set; } + public global::OpenRouter.ToolChoiceAllowedModeVariant2? Type2522 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceMcpType? Type2523 { get; set; } + public global::OpenRouter.ToolChoiceAllowedType? Type2523 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchCallItemExecution? Type2524 { get; set; } + public global::OpenRouter.ToolChoiceMcpType? Type2524 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchCallItemStatus? Type2525 { get; set; } + public global::OpenRouter.ToolSearchCallItemExecution? Type2525 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchCallItemType? Type2526 { get; set; } + public global::OpenRouter.ToolSearchCallItemStatus? Type2526 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchOutputItemExecution? Type2527 { get; set; } + public global::OpenRouter.ToolSearchCallItemType? Type2527 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchOutputItemStatus? Type2528 { get; set; } + public global::OpenRouter.ToolSearchOutputItemExecution? Type2528 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2529 { get; set; } + public global::OpenRouter.ToolSearchOutputItemStatus? Type2529 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchOutputItemTool? Type2530 { get; set; } + public global::OpenRouter.AllOf? Type2530 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2531 { get; set; } + public global::OpenRouter.ToolSearchOutputItemTool? Type2531 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchOutputItemToolAllowedCaller? Type2532 { get; set; } + public global::System.Collections.Generic.IList? Type2532 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchOutputItemTool2? Type2533 { get; set; } + public global::OpenRouter.ToolSearchOutputItemToolAllowedCaller? Type2533 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchOutputItemType? Type2534 { get; set; } + public global::OpenRouter.ToolSearchOutputItemTool2? Type2534 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchServerToolConfig? Type2535 { get; set; } + public global::OpenRouter.ToolSearchOutputItemType? Type2535 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchServerToolType? Type2536 { get; set; } + public global::OpenRouter.ToolSearchServerToolConfig? Type2536 { get; set; } /// /// /// - public global::OpenRouter.TooManyRequestsResponse? Type2537 { get; set; } + public global::OpenRouter.ToolSearchServerToolType? Type2537 { get; set; } /// /// /// - public global::OpenRouter.TooManyRequestsResponseErrorData? Type2538 { get; set; } + public global::OpenRouter.TooManyRequestsResponse? Type2538 { get; set; } /// /// /// - public global::OpenRouter.UnauthorizedResponse? Type2539 { get; set; } + public global::OpenRouter.TooManyRequestsResponseErrorData? Type2539 { get; set; } /// /// /// - public global::OpenRouter.UnauthorizedResponseErrorData? Type2540 { get; set; } + public global::OpenRouter.UnauthorizedResponse? Type2540 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarkPricing? Type2541 { get; set; } + public global::OpenRouter.UnauthorizedResponseErrorData? Type2541 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksAAItem? Type2542 { get; set; } + public global::OpenRouter.UnifiedBenchmarkPricing? Type2542 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksAAItemSource? Type2543 { get; set; } + public global::OpenRouter.UnifiedBenchmarksAAItem? Type2543 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksDAItem? Type2544 { get; set; } + public global::OpenRouter.UnifiedBenchmarksAAItemSource? Type2544 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksDAItemSource? Type2545 { get; set; } + public global::OpenRouter.UnifiedBenchmarksDAItem? Type2545 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksDAItemTournamentStats? Type2546 { get; set; } + public global::OpenRouter.UnifiedBenchmarksDAItemSource? Type2546 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksMeta? Type2547 { get; set; } + public global::OpenRouter.UnifiedBenchmarksDAItemTournamentStats? Type2547 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksMetaSource? Type2548 { get; set; } + public global::OpenRouter.UnifiedBenchmarksMeta? Type2548 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksMetaVersion? Type2549 { get; set; } + public global::OpenRouter.UnifiedBenchmarksMetaSource? Type2549 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksORItem? Type2550 { get; set; } + public global::OpenRouter.UnifiedBenchmarksMetaVersion? Type2550 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksORItemBenchmarkType? Type2551 { get; set; } + public global::OpenRouter.UnifiedBenchmarksORItem? Type2551 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksORItemSource? Type2552 { get; set; } + public global::OpenRouter.UnifiedBenchmarksORItemBenchmarkType? Type2552 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksResponse? Type2553 { get; set; } + public global::OpenRouter.UnifiedBenchmarksORItemSource? Type2553 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type2554 { get; set; } + public global::OpenRouter.UnifiedBenchmarksResponse? Type2554 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type2555 { get; set; } + public global::System.Collections.Generic.IList>? Type2555 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksSearchItem? Type2556 { get; set; } + public global::OpenRouter.OneOf? Type2556 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksSearchItemBenchmarkType? Type2557 { get; set; } + public global::OpenRouter.UnifiedBenchmarksSearchItem? Type2557 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksSearchItemPrimaryMetric? Type2558 { get; set; } + public global::OpenRouter.UnifiedBenchmarksSearchItemBenchmarkType? Type2558 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksSearchRunConfig? Type2559 { get; set; } + public global::OpenRouter.UnifiedBenchmarksSearchItemPrimaryMetric? Type2559 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksSearchItemSearchSurface? Type2560 { get; set; } + public global::OpenRouter.UnifiedBenchmarksSearchRunConfig? Type2560 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksSearchItemSource? Type2561 { get; set; } + public global::OpenRouter.UnifiedBenchmarksSearchItemSearchSurface? Type2561 { get; set; } /// /// /// - public global::OpenRouter.UnprocessableEntityResponse? Type2562 { get; set; } + public global::OpenRouter.UnifiedBenchmarksSearchItemSource? Type2562 { get; set; } /// /// /// - public global::OpenRouter.UnprocessableEntityResponseErrorData? Type2563 { get; set; } + public global::OpenRouter.UnprocessableEntityResponse? Type2563 { get; set; } /// /// /// - public global::OpenRouter.UpdateBudgetGuardrailPolicyRequest? Type2564 { get; set; } + public global::OpenRouter.UnprocessableEntityResponseErrorData? Type2564 { get; set; } /// /// /// - public global::OpenRouter.UpdateBYOKKeyRequest? Type2565 { get; set; } + public global::OpenRouter.UpdateBudgetGuardrailPolicyRequest? Type2565 { get; set; } /// /// /// - public global::OpenRouter.UpdateBYOKKeyRequestDeclaredRegion? Type2566 { get; set; } + public global::OpenRouter.UpdateBYOKKeyRequest? Type2566 { get; set; } /// /// /// - public global::OpenRouter.UpdateBYOKKeyResponse? Type2567 { get; set; } + public global::OpenRouter.UpdateBYOKKeyRequestDeclaredRegion? Type2567 { get; set; } /// /// /// - public global::OpenRouter.UpdateExternalUserRequest? Type2568 { get; set; } + public global::OpenRouter.UpdateBYOKKeyResponse? Type2568 { get; set; } /// /// /// - public global::OpenRouter.UpdateGuardrailRequest? Type2569 { get; set; } + public global::OpenRouter.UpdateExternalUserRequest? Type2569 { get; set; } /// /// /// - public global::OpenRouter.UpdateGuardrailResponse? Type2570 { get; set; } + public global::OpenRouter.UpdateGuardrailRequest? Type2570 { get; set; } /// /// /// - public global::OpenRouter.UpdateModelAvailabilityGuardrailPolicyRequest? Type2571 { get; set; } + public global::OpenRouter.UpdateGuardrailResponse? Type2571 { get; set; } /// /// /// - public global::OpenRouter.UpdateModerationGuardrailPolicyRequest? Type2572 { get; set; } + public global::OpenRouter.UpdateModelAvailabilityGuardrailPolicyRequest? Type2572 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationRequest? Type2573 { get; set; } + public global::OpenRouter.UpdateModerationGuardrailPolicyRequest? Type2573 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2574 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationRequest? Type2574 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponse? Type2575 { get; set; } + public global::OpenRouter.AllOf? Type2575 { get; set; } /// /// /// - public global::OpenRouter.UpdateOrganizationSettingsRequest? Type2576 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponse? Type2576 { get; set; } /// /// /// - public global::OpenRouter.UpdatePrivateEndpointRequest? Type2577 { get; set; } + public global::OpenRouter.UpdateOrganizationSettingsRequest? Type2577 { get; set; } /// /// /// - public global::OpenRouter.UpdatePrivateEndpointRequestDeclaredRegion? Type2578 { get; set; } + public global::OpenRouter.UpdatePrivateEndpointRequest? Type2578 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2579 { get; set; } + public global::OpenRouter.UpdatePrivateEndpointRequestDeclaredRegion? Type2579 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2580 { get; set; } + public global::OpenRouter.AllOf? Type2580 { get; set; } /// /// /// - public global::OpenRouter.UpdatePrivateEndpointSettingsRequestCompletions? Type2581 { get; set; } + public global::OpenRouter.AllOf? Type2581 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2582 { get; set; } + public global::OpenRouter.UpdatePrivateEndpointSettingsRequestCompletions? Type2582 { get; set; } /// /// /// - public global::OpenRouter.UpdatePrivateEndpointSettingsRequestExcludedParameter? Type2583 { get; set; } + public global::System.Collections.Generic.IList? Type2583 { get; set; } /// /// /// - public global::OpenRouter.UpdatePrivateEndpointSettingsRequestInputs? Type2584 { get; set; } + public global::OpenRouter.UpdatePrivateEndpointSettingsRequestExcludedParameter? Type2584 { get; set; } /// /// /// - public global::OpenRouter.UpdatePrivateEndpointSettingsRequestReasoning? Type2585 { get; set; } + public global::OpenRouter.UpdatePrivateEndpointSettingsRequestInputs? Type2585 { get; set; } /// /// /// - public global::OpenRouter.UpdatePrivateEndpointSettingsRequestToolChoice? Type2586 { get; set; } + public global::OpenRouter.UpdatePrivateEndpointSettingsRequestReasoning? Type2586 { get; set; } /// /// /// - public global::OpenRouter.UpdatePrivateProviderRequest? Type2587 { get; set; } + public global::OpenRouter.UpdatePrivateEndpointSettingsRequestToolChoice? Type2587 { get; set; } /// /// /// - public global::OpenRouter.UpdateScimGroupMappingRequest? Type2588 { get; set; } + public global::OpenRouter.UpdatePrivateProviderRequest? Type2588 { get; set; } /// /// /// - public global::OpenRouter.UpdateScimGroupMappingRequestRole? Type2589 { get; set; } + public global::OpenRouter.UpdateScimGroupMappingRequest? Type2589 { get; set; } /// /// /// - public global::OpenRouter.UpdateScimGroupMappingResponse? Type2590 { get; set; } + public global::OpenRouter.UpdateScimGroupMappingRequestRole? Type2590 { get; set; } /// /// /// - public global::OpenRouter.UpdateWorkspaceRequest? Type2591 { get; set; } + public global::OpenRouter.UpdateScimGroupMappingResponse? Type2591 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2592 { get; set; } + public global::OpenRouter.UpdateWorkspaceRequest? Type2592 { get; set; } /// /// /// - public global::OpenRouter.UpdateWorkspaceRequestDisabledServerTool? Type2593 { get; set; } + public global::System.Collections.Generic.IList? Type2593 { get; set; } /// /// /// - public global::OpenRouter.UpdateWorkspaceResponse? Type2594 { get; set; } + public global::OpenRouter.UpdateWorkspaceRequestDisabledServerTool? Type2594 { get; set; } /// /// /// - public global::OpenRouter.UpsertWorkspaceBudgetRequest? Type2595 { get; set; } + public global::OpenRouter.UpdateWorkspaceResponse? Type2595 { get; set; } /// /// /// - public global::OpenRouter.UpsertWorkspaceBudgetResponse? Type2596 { get; set; } + public global::OpenRouter.UpsertWorkspaceBudgetRequest? Type2596 { get; set; } /// /// /// - public global::OpenRouter.URLCitationType? Type2597 { get; set; } + public global::OpenRouter.UpsertWorkspaceBudgetResponse? Type2597 { get; set; } /// /// /// - public global::OpenRouter.UsageVariant12? Type2598 { get; set; } + public global::OpenRouter.URLCitationType? Type2598 { get; set; } /// /// /// - public global::OpenRouter.UsageVariant1CostDetails? Type2599 { get; set; } + public global::OpenRouter.UsageVariant12? Type2599 { get; set; } /// /// /// - public global::OpenRouter.ValidatePrivateEndpointRequest? Type2600 { get; set; } + public global::OpenRouter.UsageVariant1CostDetails? Type2600 { get; set; } /// /// /// - public global::OpenRouter.VaultEffectiveSecret? Type2601 { get; set; } + public global::OpenRouter.ValidatePrivateEndpointRequest? Type2601 { get; set; } /// /// /// - public global::OpenRouter.VaultEffectiveSecretScope? Type2602 { get; set; } + public global::OpenRouter.VaultEffectiveSecret? Type2602 { get; set; } /// /// /// - public global::OpenRouter.VaultEffectiveSecretListResponse? Type2603 { get; set; } + public global::OpenRouter.VaultEffectiveSecretScope? Type2603 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2604 { get; set; } + public global::OpenRouter.VaultEffectiveSecretListResponse? Type2604 { get; set; } /// /// /// - public global::OpenRouter.VaultRoutingTable? Type2605 { get; set; } + public global::System.Collections.Generic.IList? Type2605 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2606 { get; set; } + public global::OpenRouter.VaultRoutingTable? Type2606 { get; set; } /// /// /// - public global::OpenRouter.VaultRoutingTableCustomOrigin? Type2607 { get; set; } + public global::System.Collections.Generic.IList? Type2607 { get; set; } /// /// /// - public global::OpenRouter.VaultRoutingTableCustomOriginStatus? Type2608 { get; set; } + public global::OpenRouter.VaultRoutingTableCustomOrigin? Type2608 { get; set; } /// /// /// - public global::OpenRouter.VaultRoutingTableCustomOriginStatusState? Type2609 { get; set; } + public global::OpenRouter.VaultRoutingTableCustomOriginStatus? Type2609 { get; set; } /// /// /// - public global::OpenRouter.VaultRoutingTableGithub? Type2610 { get; set; } + public global::OpenRouter.VaultRoutingTableCustomOriginStatusState? Type2610 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2611 { get; set; } + public global::OpenRouter.VaultRoutingTableGithub? Type2611 { get; set; } /// /// /// - public global::OpenRouter.VaultRoutingTableGithubApp? Type2612 { get; set; } + public global::System.Collections.Generic.IList? Type2612 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2613 { get; set; } + public global::OpenRouter.VaultRoutingTableGithubApp? Type2613 { get; set; } /// /// /// - public global::OpenRouter.VaultRoutingTableGithubAppInstallation? Type2614 { get; set; } + public global::System.Collections.Generic.IList? Type2614 { get; set; } /// /// /// - public global::OpenRouter.VaultRoutingTableGithubAppInstallationAccountType? Type2615 { get; set; } + public global::OpenRouter.VaultRoutingTableGithubAppInstallation? Type2615 { get; set; } /// /// /// - public global::OpenRouter.VaultRoutingTableGithubAppInstallationCoverage? Type2616 { get; set; } + public global::OpenRouter.VaultRoutingTableGithubAppInstallationAccountType? Type2616 { get; set; } /// /// /// - public global::OpenRouter.VaultRoutingTableGithubAppInstallationCoverageSelection? Type2617 { get; set; } + public global::OpenRouter.VaultRoutingTableGithubAppInstallationCoverage? Type2617 { get; set; } /// /// /// - public global::OpenRouter.VaultRoutingTableGithubAppInstallationShadowedBy? Type2618 { get; set; } + public global::OpenRouter.VaultRoutingTableGithubAppInstallationCoverageSelection? Type2618 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2619 { get; set; } + public global::OpenRouter.VaultRoutingTableGithubAppInstallationShadowedBy? Type2619 { get; set; } /// /// /// - public global::OpenRouter.VaultRoutingTableGithubAppMemberLink? Type2620 { get; set; } + public global::System.Collections.Generic.IList? Type2620 { get; set; } /// /// /// - public global::OpenRouter.VaultRoutingTableGithubAppMemberLinkVia? Type2621 { get; set; } + public global::OpenRouter.VaultRoutingTableGithubAppMemberLink? Type2621 { get; set; } /// /// /// - public global::OpenRouter.VaultRoutingTableGithubAppScope? Type2622 { get; set; } + public global::OpenRouter.VaultRoutingTableGithubAppMemberLinkVia? Type2622 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2623 { get; set; } + public global::OpenRouter.VaultRoutingTableGithubAppScope? Type2623 { get; set; } /// /// /// - public global::OpenRouter.VaultRoutingTableGithubToken? Type2624 { get; set; } + public global::System.Collections.Generic.IList? Type2624 { get; set; } /// /// /// - public global::OpenRouter.VaultRoutingTableGithubTokenScope? Type2625 { get; set; } + public global::OpenRouter.VaultRoutingTableGithubToken? Type2625 { get; set; } /// /// /// - public global::OpenRouter.VaultRoutingTableGoogle? Type2626 { get; set; } + public global::OpenRouter.VaultRoutingTableGithubTokenScope? Type2626 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2627 { get; set; } + public global::OpenRouter.VaultRoutingTableGoogle? Type2627 { get; set; } /// /// /// - public global::OpenRouter.VaultRoutingTableGoogleAccount? Type2628 { get; set; } + public global::System.Collections.Generic.IList? Type2628 { get; set; } /// /// /// - public global::OpenRouter.VaultRoutingTableGoogleAccountScope? Type2629 { get; set; } + public global::OpenRouter.VaultRoutingTableGoogleAccount? Type2629 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2630 { get; set; } + public global::OpenRouter.VaultRoutingTableGoogleAccountScope? Type2630 { get; set; } /// /// /// - public global::OpenRouter.VaultRoutingTableHostRule? Type2631 { get; set; } + public global::System.Collections.Generic.IList? Type2631 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2632 { get; set; } + public global::OpenRouter.VaultRoutingTableHostRule? Type2632 { get; set; } /// /// /// - public global::OpenRouter.VaultRoutingTableMcpOrigin? Type2633 { get; set; } + public global::System.Collections.Generic.IList? Type2633 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2634 { get; set; } + public global::OpenRouter.VaultRoutingTableMcpOrigin? Type2634 { get; set; } /// /// /// - public global::OpenRouter.VaultRoutingTableMcpOriginRoute? Type2635 { get; set; } + public global::System.Collections.Generic.IList? Type2635 { get; set; } /// /// /// - public global::OpenRouter.VaultRoutingTableMcpOriginStatus? Type2636 { get; set; } + public global::OpenRouter.VaultRoutingTableMcpOriginRoute? Type2636 { get; set; } /// /// /// - public global::OpenRouter.VaultRoutingTableMcpOriginStatusState? Type2637 { get; set; } + public global::OpenRouter.VaultRoutingTableMcpOriginStatus? Type2637 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2638 { get; set; } + public global::OpenRouter.VaultRoutingTableMcpOriginStatusState? Type2638 { get; set; } /// /// /// - public global::OpenRouter.VaultRoutingTableSecret? Type2639 { get; set; } + public global::System.Collections.Generic.IList? Type2639 { get; set; } /// /// /// - public global::OpenRouter.VaultRoutingTableSecretScope? Type2640 { get; set; } + public global::OpenRouter.VaultRoutingTableSecret? Type2640 { get; set; } /// /// /// - public global::OpenRouter.VaultRoutingTableSlack? Type2641 { get; set; } + public global::OpenRouter.VaultRoutingTableSecretScope? Type2641 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2642 { get; set; } + public global::OpenRouter.VaultRoutingTableSlack? Type2642 { get; set; } /// /// /// - public global::OpenRouter.VaultRoutingTableSlackMemberLink? Type2643 { get; set; } + public global::System.Collections.Generic.IList? Type2643 { get; set; } /// /// /// - public global::OpenRouter.VaultSecret? Type2644 { get; set; } + public global::OpenRouter.VaultRoutingTableSlackMemberLink? Type2644 { get; set; } /// /// /// - public global::OpenRouter.VaultSecretCopyRequest? Type2645 { get; set; } + public global::OpenRouter.VaultSecret? Type2645 { get; set; } /// /// /// - public global::OpenRouter.VaultSecretCopyResponse? Type2646 { get; set; } + public global::OpenRouter.VaultSecretCopyRequest? Type2646 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2647 { get; set; } + public global::OpenRouter.VaultSecretCopyResponse? Type2647 { get; set; } /// /// /// - public global::OpenRouter.VaultSecretListResponse? Type2648 { get; set; } + public global::System.Collections.Generic.IList? Type2648 { get; set; } /// /// /// - public global::OpenRouter.VaultSecretResponse? Type2649 { get; set; } + public global::OpenRouter.VaultSecretListResponse? Type2649 { get; set; } /// /// /// - public global::OpenRouter.VaultSecretWriteRequest? Type2650 { get; set; } + public global::OpenRouter.VaultSecretResponse? Type2650 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequest? Type2651 { get; set; } + public global::OpenRouter.VaultSecretWriteRequest? Type2651 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestAspectRatio? Type2652 { get; set; } + public global::OpenRouter.VideoGenerationRequest? Type2652 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2653 { get; set; } + public global::OpenRouter.VideoGenerationRequestAspectRatio? Type2653 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2654 { get; set; } + public global::System.Collections.Generic.IList? Type2654 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestProvider? Type2655 { get; set; } + public global::System.Collections.Generic.IList? Type2655 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestResolution? Type2656 { get; set; } + public global::OpenRouter.VideoGenerationRequestProvider? Type2656 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationResponse? Type2657 { get; set; } + public global::OpenRouter.VideoGenerationRequestResolution? Type2657 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationResponseStatus? Type2658 { get; set; } + public global::OpenRouter.VideoGenerationResponse? Type2658 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationUsage? Type2659 { get; set; } + public global::OpenRouter.VideoGenerationResponseStatus? Type2659 { get; set; } /// /// /// - public global::OpenRouter.VideoModel? Type2660 { get; set; } + public global::OpenRouter.VideoGenerationUsage? Type2660 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2661 { get; set; } + public global::OpenRouter.VideoModel? Type2661 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedAspectRatio? Type2662 { get; set; } + public global::System.Collections.Generic.IList? Type2662 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2663 { get; set; } + public global::OpenRouter.VideoModelSupportedAspectRatio? Type2663 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedFrameImage? Type2664 { get; set; } + public global::System.Collections.Generic.IList? Type2664 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2665 { get; set; } + public global::OpenRouter.VideoModelSupportedFrameImage? Type2665 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedResolution? Type2666 { get; set; } + public global::System.Collections.Generic.IList? Type2666 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2667 { get; set; } + public global::OpenRouter.VideoModelSupportedResolution? Type2667 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedSize? Type2668 { get; set; } + public global::System.Collections.Generic.IList? Type2668 { get; set; } /// /// /// - public global::OpenRouter.VideoModelUpscaleFactor? Type2669 { get; set; } + public global::OpenRouter.VideoModelSupportedSize? Type2669 { get; set; } /// /// /// - public global::OpenRouter.VideoModelsListResponse? Type2670 { get; set; } + public global::OpenRouter.VideoModelUpscaleFactor? Type2670 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2671 { get; set; } + public global::OpenRouter.VideoModelsListResponse? Type2671 { get; set; } /// /// /// - public global::OpenRouter.WebFetchEngineEnum? Type2672 { get; set; } + public global::System.Collections.Generic.IList? Type2672 { get; set; } /// /// /// - public global::OpenRouter.WebFetchPluginId? Type2673 { get; set; } + public global::OpenRouter.WebFetchEngineEnum? Type2673 { get; set; } /// /// /// - public global::OpenRouter.WebFetchServerToolConfig? Type2674 { get; set; } + public global::OpenRouter.WebFetchPluginId? Type2674 { get; set; } /// /// /// - public global::OpenRouter.WebFetchServerToolType? Type2675 { get; set; } + public global::OpenRouter.WebFetchServerToolConfig? Type2675 { get; set; } /// /// /// - public global::OpenRouter.WebSearchEngine? Type2676 { get; set; } + public global::OpenRouter.WebFetchServerToolType? Type2676 { get; set; } /// /// /// - public global::OpenRouter.WebSearchPluginId? Type2677 { get; set; } + public global::OpenRouter.WebSearchEngine? Type2677 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2678 { get; set; } + public global::OpenRouter.WebSearchPluginId? Type2678 { get; set; } /// /// /// - public global::OpenRouter.WebSearchServerToolType? Type2679 { get; set; } + public global::OpenRouter.AllOf? Type2679 { get; set; } /// /// /// - public global::OpenRouter.WebSearchServerToolConfig? Type2680 { get; set; } + public global::OpenRouter.WebSearchServerToolType? Type2680 { get; set; } /// /// /// - public global::OpenRouter.WebSearchServerToolOpenRouterType? Type2681 { get; set; } + public global::OpenRouter.WebSearchServerToolConfig? Type2681 { get; set; } /// /// /// - public global::OpenRouter.WebSearchSourceType? Type2682 { get; set; } + public global::OpenRouter.WebSearchServerToolOpenRouterType? Type2682 { get; set; } /// /// /// - public global::OpenRouter.WebSearchUserLocationType? Type2683 { get; set; } + public global::OpenRouter.WebSearchSourceType? Type2683 { get; set; } /// /// /// - public global::OpenRouter.WebSearchUserLocationServerToolType? Type2684 { get; set; } + public global::OpenRouter.WebSearchUserLocationType? Type2684 { get; set; } /// /// /// - public global::OpenRouter.WorkspaceBudgetResetInterval? Type2685 { get; set; } + public global::OpenRouter.WebSearchUserLocationServerToolType? Type2685 { get; set; } /// /// /// - public global::OpenRouter.WorkspaceBudgetInterval? Type2686 { get; set; } + public global::OpenRouter.WorkspaceBudgetResetInterval? Type2686 { get; set; } /// /// /// - public global::OpenRouter.WorkspaceMemberRole? Type2687 { get; set; } + public global::OpenRouter.WorkspaceBudgetInterval? Type2687 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequest? Type2688 { get; set; } + public global::OpenRouter.WorkspaceMemberRole? Type2688 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequestClassifierDimensions? Type2689 { get; set; } + public global::OpenRouter.QueryAnalyticsRequest? Type2689 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequestClassifierFilters? Type2690 { get; set; } + public global::OpenRouter.QueryAnalyticsRequestClassifierDimensions? Type2690 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2691 { get; set; } + public global::OpenRouter.QueryAnalyticsRequestClassifierFilters? Type2691 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2692 { get; set; } + public global::System.Collections.Generic.IList? Type2692 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequestOrderBy? Type2693 { get; set; } + public global::System.Collections.Generic.IList? Type2693 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequestOrderByDirection? Type2694 { get; set; } + public global::OpenRouter.QueryAnalyticsRequestOrderBy? Type2694 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequestTimeRange? Type2695 { get; set; } + public global::OpenRouter.QueryAnalyticsRequestOrderByDirection? Type2695 { get; set; } /// /// /// - public global::OpenRouter.CreateAudioTranscriptionsRequest? Type2696 { get; set; } + public global::OpenRouter.QueryAnalyticsRequestTimeRange? Type2696 { get; set; } /// /// /// - public byte[]? Type2697 { get; set; } + public global::OpenRouter.CreateAudioTranscriptionsRequest? Type2697 { get; set; } /// /// /// - public global::OpenRouter.CreateAudioTranscriptionsRequestResponseFormat? Type2698 { get; set; } + public byte[]? Type2698 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2699 { get; set; } + public global::OpenRouter.CreateAudioTranscriptionsRequestResponseFormat? Type2699 { get; set; } /// /// /// - public global::OpenRouter.CreateAudioTranscriptionsRequestTimestampGranularitie? Type2700 { get; set; } + public global::System.Collections.Generic.IList? Type2700 { get; set; } /// /// /// - public global::OpenRouter.ExchangeAuthCodeForAPIKeyRequest? Type2701 { get; set; } + public global::OpenRouter.CreateAudioTranscriptionsRequestTimestampGranularitie? Type2701 { get; set; } /// /// /// - public global::OpenRouter.ExchangeAuthCodeForAPIKeyRequestCodeChallengeMethod? Type2702 { get; set; } + public global::OpenRouter.ExchangeAuthCodeForAPIKeyRequest? Type2702 { get; set; } /// /// /// - public global::OpenRouter.CreateAuthKeysCodeRequest? Type2703 { get; set; } + public global::OpenRouter.ExchangeAuthCodeForAPIKeyRequestCodeChallengeMethod? Type2703 { get; set; } /// /// /// - public global::OpenRouter.CreateAuthKeysCodeRequestCodeChallengeMethod? Type2704 { get; set; } + public global::OpenRouter.CreateAuthKeysCodeRequest? Type2704 { get; set; } /// /// /// - public global::OpenRouter.CreateAuthKeysCodeRequestUsageLimitType? Type2705 { get; set; } + public global::OpenRouter.CreateAuthKeysCodeRequestCodeChallengeMethod? Type2705 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequest? Type2706 { get; set; } + public global::OpenRouter.CreateAuthKeysCodeRequestUsageLimitType? Type2706 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestEncodingFormat? Type2707 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequest? Type2707 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>, global::System.Collections.Generic.IList>? Type2708 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequestEncodingFormat? Type2708 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type2709 { get; set; } + public global::OpenRouter.AnyOf, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>, global::System.Collections.Generic.IList>? Type2709 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2710 { get; set; } + public global::System.Collections.Generic.IList>? Type2710 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestInputVariant5Item? Type2711 { get; set; } + public global::System.Collections.Generic.IList? Type2711 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant1? Type2712 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequestInputVariant5Item? Type2712 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant1Type? Type2713 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant1? Type2713 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2? Type2714 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant1Type? Type2714 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2ImageUrl? Type2715 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2? Type2715 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2Type? Type2716 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2ImageUrl? Type2716 { get; set; } /// /// /// - public global::OpenRouter.UploadFileRequest? Type2717 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2Type? Type2717 { get; set; } /// /// /// - public global::OpenRouter.CreateKeysRequest? Type2718 { get; set; } + public global::OpenRouter.UploadFileRequest? Type2718 { get; set; } /// /// /// - public global::OpenRouter.CreateKeysRequestExternal? Type2719 { get; set; } + public global::OpenRouter.CreateKeysRequest? Type2719 { get; set; } /// /// /// - public global::OpenRouter.CreateKeysRequestLimitReset? Type2720 { get; set; } + public global::OpenRouter.CreateKeysRequestExternal? Type2720 { get; set; } /// /// /// - public global::OpenRouter.UpdateKeysRequest? Type2721 { get; set; } + public global::OpenRouter.CreateKeysRequestLimitReset? Type2721 { get; set; } /// /// /// - public global::OpenRouter.UpdateKeysRequestLimitReset? Type2722 { get; set; } + public global::OpenRouter.UpdateKeysRequest? Type2722 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankRequest? Type2723 { get; set; } + public global::OpenRouter.UpdateKeysRequestLimitReset? Type2723 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type2724 { get; set; } + public global::OpenRouter.CreateRerankRequest? Type2724 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2725 { get; set; } + public global::System.Collections.Generic.IList>? Type2725 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankRequestDocument? Type2726 { get; set; } + public global::OpenRouter.AnyOf? Type2726 { get; set; } /// /// /// - public global::OpenRouter.GetUserActivityGroupBy? Type2727 { get; set; } + public global::OpenRouter.CreateRerankRequestDocument? Type2727 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2728 { get; set; } + public global::OpenRouter.GetUserActivityGroupBy? Type2728 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2729 { get; set; } + public global::System.Collections.Generic.IList? Type2729 { get; set; } /// /// /// - public global::OpenRouter.GetBenchmarksSource? Type2730 { get; set; } + public global::OpenRouter.AllOf? Type2730 { get; set; } /// /// /// - public global::OpenRouter.GetBenchmarksTaskType? Type2731 { get; set; } + public global::OpenRouter.GetBenchmarksSource? Type2731 { get; set; } /// /// /// - public global::OpenRouter.GetBenchmarksBenchmarkType? Type2732 { get; set; } + public global::OpenRouter.GetBenchmarksTaskType? Type2732 { get; set; } /// /// /// - public global::OpenRouter.GetBenchmarksSearchSurface? Type2733 { get; set; } + public global::OpenRouter.GetBenchmarksBenchmarkType? Type2733 { get; set; } /// /// /// - public global::OpenRouter.GetBenchmarksArena? Type2734 { get; set; } + public global::OpenRouter.GetBenchmarksSearchSurface? Type2734 { get; set; } /// /// /// - public global::OpenRouter.ListBYOKKeysProvider? Type2735 { get; set; } + public global::OpenRouter.GetBenchmarksArena? Type2735 { get; set; } /// /// /// - public global::OpenRouter.GetTaskClassificationsWindow? Type2736 { get; set; } + public global::OpenRouter.ListBYOKKeysProvider? Type2736 { get; set; } /// /// /// - public global::OpenRouter.GetAppRankingsCategory? Type2737 { get; set; } + public global::OpenRouter.GetTaskClassificationsWindow? Type2737 { get; set; } /// /// /// - public global::OpenRouter.GetAppRankingsSubcategory? Type2738 { get; set; } + public global::OpenRouter.GetAppRankingsCategory? Type2738 { get; set; } /// /// /// - public global::OpenRouter.GetAppRankingsSort? Type2739 { get; set; } + public global::OpenRouter.GetAppRankingsSubcategory? Type2739 { get; set; } /// /// /// - public global::OpenRouter.GetRankingsDailyPeriod? Type2740 { get; set; } + public global::OpenRouter.GetAppRankingsSort? Type2740 { get; set; } /// /// /// - public global::OpenRouter.GetRankingsDailyModality? Type2741 { get; set; } + public global::OpenRouter.GetRankingsDailyPeriod? Type2741 { get; set; } /// /// /// - public global::OpenRouter.GetRankingsDailyContextBucket? Type2742 { get; set; } + public global::OpenRouter.GetRankingsDailyModality? Type2742 { get; set; } /// /// /// - public global::OpenRouter.GetRankingsDailyCategory? Type2743 { get; set; } + public global::OpenRouter.GetRankingsDailyContextBucket? Type2743 { get; set; } /// /// /// - public global::OpenRouter.GetRankingsDailyLanguageType? Type2744 { get; set; } + public global::OpenRouter.GetRankingsDailyCategory? Type2744 { get; set; } /// /// /// - public global::OpenRouter.GetSessionCostTurnRange? Type2745 { get; set; } + public global::OpenRouter.GetRankingsDailyLanguageType? Type2745 { get; set; } /// /// /// - public global::OpenRouter.ListFilesOrder? Type2746 { get; set; } + public global::OpenRouter.GetSessionCostTurnRange? Type2746 { get; set; } /// /// /// - public global::OpenRouter.GetApiKeyPolicyAssignmentPolicyType? Type2747 { get; set; } + public global::OpenRouter.ListFilesOrder? Type2747 { get; set; } /// /// /// - public global::OpenRouter.GetMemberPolicyAssignmentPolicyType? Type2748 { get; set; } + public global::OpenRouter.GetApiKeyPolicyAssignmentPolicyType? Type2748 { get; set; } /// /// /// - public global::OpenRouter.GetModelsCategory? Type2749 { get; set; } + public global::OpenRouter.GetMemberPolicyAssignmentPolicyType? Type2749 { get; set; } /// /// /// - public global::OpenRouter.GetModelsSort? Type2750 { get; set; } + public global::OpenRouter.GetModelsCategory? Type2750 { get; set; } /// /// /// - public global::OpenRouter.GetModelsDistillable? Type2751 { get; set; } + public global::OpenRouter.GetModelsSort? Type2751 { get; set; } /// /// /// - public global::OpenRouter.GetModelsZdr? Type2752 { get; set; } + public global::OpenRouter.GetModelsDistillable? Type2752 { get; set; } /// /// /// - public global::OpenRouter.GetModelsRegion? Type2753 { get; set; } + public global::OpenRouter.GetModelsZdr? Type2753 { get; set; } /// /// /// - public global::OpenRouter.ListModelsUserSort? Type2754 { get; set; } + public global::OpenRouter.GetModelsRegion? Type2754 { get; set; } /// /// /// - public global::OpenRouter.ListModelsUserClient? Type2755 { get; set; } + public global::OpenRouter.ListModelsUserSort? Type2755 { get; set; } /// /// /// - public global::OpenRouter.DeletePrivateEndpointDraftOnly? Type2756 { get; set; } + public global::OpenRouter.ListModelsUserClient? Type2756 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2757 { get; set; } + public global::OpenRouter.DeletePrivateEndpointDraftOnly? Type2757 { get; set; } /// /// /// - public global::OpenRouter.DeleteScimGroupMappingKeepMembers2? Type2758 { get; set; } + public global::OpenRouter.AnyOf? Type2758 { get; set; } /// /// /// - public global::OpenRouter.ListToolsApiFormat? Type2759 { get; set; } + public global::OpenRouter.DeleteScimGroupMappingKeepMembers2? Type2759 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponse? Type2760 { get; set; } + public global::OpenRouter.ListToolsApiFormat? Type2760 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseData? Type2761 { get; set; } + public global::OpenRouter.GetAnalyticsMetaResponse? Type2761 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2762 { get; set; } + public global::OpenRouter.GetAnalyticsMetaResponseData? Type2762 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataDimension? Type2763 { get; set; } + public global::System.Collections.Generic.IList? Type2763 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2764 { get; set; } + public global::OpenRouter.GetAnalyticsMetaResponseDataDimension? Type2764 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataGranularitie? Type2765 { get; set; } + public global::System.Collections.Generic.IList? Type2765 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataGranularitieName? Type2766 { get; set; } + public global::OpenRouter.GetAnalyticsMetaResponseDataGranularitie? Type2766 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2767 { get; set; } + public global::OpenRouter.GetAnalyticsMetaResponseDataGranularitieName? Type2767 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataMetric? Type2768 { get; set; } + public global::System.Collections.Generic.IList? Type2768 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataMetricDisplayFormat? Type2769 { get; set; } + public global::OpenRouter.GetAnalyticsMetaResponseDataMetric? Type2769 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2770 { get; set; } + public global::OpenRouter.GetAnalyticsMetaResponseDataMetricDisplayFormat? Type2770 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsResponse? Type2771 { get; set; } + public global::System.Collections.Generic.IList? Type2771 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsResponseData? Type2772 { get; set; } + public global::OpenRouter.QueryAnalyticsResponse? Type2772 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsResponseDataMetadata? Type2773 { get; set; } + public global::OpenRouter.QueryAnalyticsResponseData? Type2773 { get; set; } /// /// /// - public global::OpenRouter.ExchangeAuthCodeForAPIKeyResponse? Type2774 { get; set; } + public global::OpenRouter.QueryAnalyticsResponseDataMetadata? Type2774 { get; set; } /// /// /// - public global::OpenRouter.CreateAuthKeysCodeResponse? Type2775 { get; set; } + public global::OpenRouter.ExchangeAuthCodeForAPIKeyResponse? Type2775 { get; set; } /// /// /// - public global::OpenRouter.CreateAuthKeysCodeResponseData? Type2776 { get; set; } + public global::OpenRouter.CreateAuthKeysCodeResponse? Type2776 { get; set; } /// /// /// - public global::OpenRouter.GetCreditsResponse? Type2777 { get; set; } + public global::OpenRouter.CreateAuthKeysCodeResponseData? Type2777 { get; set; } /// /// /// - public global::OpenRouter.GetCreditsResponseData? Type2778 { get; set; } + public global::OpenRouter.GetCreditsResponse? Type2778 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsResponse? Type2779 { get; set; } + public global::OpenRouter.GetCreditsResponseData? Type2779 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2780 { get; set; } + public global::OpenRouter.CreateEmbeddingsResponse? Type2780 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsResponseDataItem? Type2781 { get; set; } + public global::System.Collections.Generic.IList? Type2781 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsResponseDataItemObject? Type2782 { get; set; } + public global::OpenRouter.CreateEmbeddingsResponseDataItem? Type2782 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsResponseObject? Type2783 { get; set; } + public global::OpenRouter.CreateEmbeddingsResponseDataItemObject? Type2783 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsResponseUsage? Type2784 { get; set; } + public global::OpenRouter.CreateEmbeddingsResponseObject? Type2784 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsResponseUsagePromptTokensDetails? Type2785 { get; set; } + public global::OpenRouter.CreateEmbeddingsResponseUsage? Type2785 { get; set; } /// /// /// - public global::OpenRouter.ListEndpointsZdrResponse? Type2786 { get; set; } + public global::OpenRouter.CreateEmbeddingsResponseUsagePromptTokensDetails? Type2786 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2787 { get; set; } + public global::OpenRouter.ListEndpointsZdrResponse? Type2787 { get; set; } /// /// /// - public global::OpenRouter.GetCurrentKeyResponse? Type2788 { get; set; } + public global::System.Collections.Generic.IList? Type2788 { get; set; } /// /// /// - public global::OpenRouter.GetCurrentKeyResponseData? Type2789 { get; set; } + public global::OpenRouter.GetCurrentKeyResponse? Type2789 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2790 { get; set; } + public global::OpenRouter.GetCurrentKeyResponseData? Type2790 { get; set; } /// /// /// - public global::OpenRouter.GetCurrentKeyResponseDataAllowedDataRegion? Type2791 { get; set; } + public global::System.Collections.Generic.IList? Type2791 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2792 { get; set; } + public global::OpenRouter.GetCurrentKeyResponseDataAllowedDataRegion? Type2792 { get; set; } /// /// /// - public global::OpenRouter.GetCurrentKeyResponseDataRateLimit? Type2793 { get; set; } + public global::System.Collections.Generic.IList? Type2793 { get; set; } /// /// /// - public global::OpenRouter.ListResponse? Type2794 { get; set; } + public global::OpenRouter.GetCurrentKeyResponseDataRateLimit? Type2794 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2795 { get; set; } + public global::OpenRouter.ListResponse? Type2795 { get; set; } /// /// /// - public global::OpenRouter.ListResponseDataItem? Type2796 { get; set; } + public global::System.Collections.Generic.IList? Type2796 { get; set; } /// /// /// - public global::OpenRouter.CreateKeysResponse? Type2797 { get; set; } + public global::OpenRouter.ListResponseDataItem? Type2797 { get; set; } /// /// /// - public global::OpenRouter.CreateKeysResponseData? Type2798 { get; set; } + public global::OpenRouter.CreateKeysResponse? Type2798 { get; set; } /// /// /// - public global::OpenRouter.DeleteKeysResponse? Type2799 { get; set; } + public global::OpenRouter.CreateKeysResponseData? Type2799 { get; set; } /// /// /// - public global::OpenRouter.GetKeyResponse? Type2800 { get; set; } + public global::OpenRouter.DeleteKeysResponse? Type2800 { get; set; } /// /// /// - public global::OpenRouter.GetKeyResponseData? Type2801 { get; set; } + public global::OpenRouter.GetKeyResponse? Type2801 { get; set; } /// /// /// - public global::OpenRouter.UpdateKeysResponse? Type2802 { get; set; } + public global::OpenRouter.GetKeyResponseData? Type2802 { get; set; } /// /// /// - public global::OpenRouter.UpdateKeysResponseData? Type2803 { get; set; } + public global::OpenRouter.UpdateKeysResponse? Type2803 { get; set; } /// /// /// - public global::OpenRouter.ListEndpointsResponse2? Type2804 { get; set; } + public global::OpenRouter.UpdateKeysResponseData? Type2804 { get; set; } /// /// /// - public global::OpenRouter.ListOrganizationMembersResponse? Type2805 { get; set; } + public global::OpenRouter.ListEndpointsResponse2? Type2805 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2806 { get; set; } + public global::OpenRouter.ListOrganizationMembersResponse? Type2806 { get; set; } /// /// /// - public global::OpenRouter.ListOrganizationMembersResponseDataItem? Type2807 { get; set; } + public global::System.Collections.Generic.IList? Type2807 { get; set; } /// /// /// - public global::OpenRouter.ListOrganizationMembersResponseDataItemRole? Type2808 { get; set; } + public global::OpenRouter.ListOrganizationMembersResponseDataItem? Type2808 { get; set; } /// /// /// - public global::OpenRouter.GetOrganizationSettingsResponse? Type2809 { get; set; } + public global::OpenRouter.ListOrganizationMembersResponseDataItemRole? Type2809 { get; set; } /// /// /// - public global::OpenRouter.UpdateOrganizationSettingsResponse? Type2810 { get; set; } + public global::OpenRouter.GetOrganizationSettingsResponse? Type2810 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2811 { get; set; } + public global::OpenRouter.UpdateOrganizationSettingsResponse? Type2811 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2812 { get; set; } + public global::OpenRouter.AnyOf? Type2812 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2813 { get; set; } + public global::OpenRouter.AnyOf? Type2813 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2814 { get; set; } + public global::OpenRouter.AnyOf? Type2814 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2815 { get; set; } + public global::OpenRouter.AnyOf? Type2815 { get; set; } /// /// /// - public global::OpenRouter.ListPrivateProvidersResponse? Type2816 { get; set; } + public global::OpenRouter.AnyOf? Type2816 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2817 { get; set; } + public global::OpenRouter.ListPrivateProvidersResponse? Type2817 { get; set; } /// /// /// - public global::OpenRouter.CreatePrivateProviderResponse? Type2818 { get; set; } + public global::System.Collections.Generic.IList? Type2818 { get; set; } /// /// /// - public global::OpenRouter.DeletePrivateProviderResponse? Type2819 { get; set; } + public global::OpenRouter.CreatePrivateProviderResponse? Type2819 { get; set; } /// /// /// - public global::OpenRouter.DeletePrivateProviderResponseData? Type2820 { get; set; } + public global::OpenRouter.DeletePrivateProviderResponse? Type2820 { get; set; } /// /// /// - public global::OpenRouter.GetPrivateProviderResponse? Type2821 { get; set; } + public global::OpenRouter.DeletePrivateProviderResponseData? Type2821 { get; set; } /// /// /// - public global::OpenRouter.UpdatePrivateProviderResponse? Type2822 { get; set; } + public global::OpenRouter.GetPrivateProviderResponse? Type2822 { get; set; } /// /// /// - public global::OpenRouter.ListProvidersResponse? Type2823 { get; set; } + public global::OpenRouter.UpdatePrivateProviderResponse? Type2823 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2824 { get; set; } + public global::OpenRouter.ListProvidersResponse? Type2824 { get; set; } /// /// /// - public global::OpenRouter.ListProvidersResponseDataItem? Type2825 { get; set; } + public global::System.Collections.Generic.IList? Type2825 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2826 { get; set; } + public global::OpenRouter.ListProvidersResponseDataItem? Type2826 { get; set; } /// /// /// - public global::OpenRouter.ListProvidersResponseDataItemDatacenter? Type2827 { get; set; } + public global::System.Collections.Generic.IList? Type2827 { get; set; } /// /// /// - public global::OpenRouter.ListProvidersResponseDataItemHeadquarters? Type2828 { get; set; } + public global::OpenRouter.ListProvidersResponseDataItemDatacenter? Type2828 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankResponse? Type2829 { get; set; } + public global::OpenRouter.ListProvidersResponseDataItemHeadquarters? Type2829 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2830 { get; set; } + public global::OpenRouter.CreateRerankResponse? Type2830 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankResponseResult? Type2831 { get; set; } + public global::System.Collections.Generic.IList? Type2831 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankResponseResultDocument? Type2832 { get; set; } + public global::OpenRouter.CreateRerankResponseResult? Type2832 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankResponseUsage? Type2833 { get; set; } + public global::OpenRouter.CreateRerankResponseResultDocument? Type2833 { get; set; } /// /// /// - public global::OpenRouter.ListInternConnectionsResponse? Type2834 { get; set; } + public global::OpenRouter.CreateRerankResponseUsage? Type2834 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2835 { get; set; } + public global::OpenRouter.ListInternConnectionsResponse? Type2835 { get; set; } /// /// /// - public global::OpenRouter.ListInternConnectionsResponseDataItem? Type2836 { get; set; } + public global::System.Collections.Generic.IList? Type2836 { get; set; } + /// + /// + /// + public global::OpenRouter.ListInternConnectionsResponseDataItem? Type2837 { get; set; } /// /// @@ -11759,7 +11763,7 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.Collections.Generic.List>? ListType93 { get; set; } + public global::System.Collections.Generic.List?>? ListType93 { get; set; } /// /// /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BYOKKey.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BYOKKey.g.cs index e6fa20b32..eddac8bd6 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BYOKKey.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BYOKKey.g.cs @@ -9,7 +9,7 @@ namespace OpenRouter public sealed partial class BYOKKey { /// - /// Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) that may use this credential. `null` means no restriction.
+ /// Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) that may use this credential. `null` means no restriction. A workspace-scoped management key can only name API keys in its own workspace.
/// Example: [f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943] ///
/// [f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943] @@ -193,7 +193,7 @@ public sealed partial class BYOKKey /// Example: 0 /// /// - /// Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) that may use this credential. `null` means no restriction.
+ /// Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) that may use this credential. `null` means no restriction. A workspace-scoped management key can only name API keys in its own workspace.
/// Example: [f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943] /// /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChangeGuardrailPolicyAssignmentRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChangeGuardrailPolicyAssignmentRequest.g.cs index 2c9e97762..613218274 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChangeGuardrailPolicyAssignmentRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChangeGuardrailPolicyAssignmentRequest.g.cs @@ -45,13 +45,12 @@ public sealed partial class ChangeGuardrailPolicyAssignmentRequest public required global::OpenRouter.ChangeGuardrailPolicyAssignmentRequestPolicyType PolicyType { get; set; } /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 ///
/// 0df9e665-d932-5740-b2c7-b52af166bc11 [global::System.Text.Json.Serialization.JsonPropertyName("workspace_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Guid WorkspaceId { get; set; } + public global::System.Guid? WorkspaceId { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -76,7 +75,7 @@ public sealed partial class ChangeGuardrailPolicyAssignmentRequest /// Example: budget /// /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// #if NET7_0_OR_GREATER @@ -87,7 +86,7 @@ public ChangeGuardrailPolicyAssignmentRequest( global::OpenRouter.AllOf expectedAssignment, global::System.Guid policyId, global::OpenRouter.ChangeGuardrailPolicyAssignmentRequestPolicyType policyType, - global::System.Guid workspaceId) + global::System.Guid? workspaceId) { this.Assigned = assigned; this.ExpectedAssignment = expectedAssignment; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateBYOKKeyRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateBYOKKeyRequest.g.cs index fc69384d4..ad6d963ca 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateBYOKKeyRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateBYOKKeyRequest.g.cs @@ -9,7 +9,7 @@ namespace OpenRouter public sealed partial class CreateBYOKKeyRequest { /// - /// Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) that may use this credential. `null` means no restriction. Must contain at least one hash if provided. Hashes that do not belong to your account return a 400.
+ /// Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) that may use this credential. `null` means no restriction. Must contain at least one hash if provided. Hashes that do not belong to your account return a 400; for a workspace-scoped management key, so do hashes of API keys outside its own workspace.
/// Example: [f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943] ///
/// [f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943] @@ -109,7 +109,7 @@ public sealed partial class CreateBYOKKeyRequest public required global::OpenRouter.BYOKProviderSlug Provider { get; set; } /// - /// Optional workspace ID to scope the credential to. When omitted, the credential is created in the account's default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly.
+ /// Optional workspace ID to scope the credential to. When omitted, a workspace-scoped management key creates it in its own workspace. An organization management key creates it in the account's default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly.
/// Example: 550e8400-e29b-41d4-a716-446655440000 ///
/// 550e8400-e29b-41d4-a716-446655440000 @@ -134,7 +134,7 @@ public sealed partial class CreateBYOKKeyRequest /// Example: openai /// /// - /// Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) that may use this credential. `null` means no restriction. Must contain at least one hash if provided. Hashes that do not belong to your account return a 400.
+ /// Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) that may use this credential. `null` means no restriction. Must contain at least one hash if provided. Hashes that do not belong to your account return a 400; for a workspace-scoped management key, so do hashes of API keys outside its own workspace.
/// Example: [f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943] /// /// @@ -174,7 +174,7 @@ public sealed partial class CreateBYOKKeyRequest /// Example: Production OpenAI Key /// /// - /// Optional workspace ID to scope the credential to. When omitted, the credential is created in the account's default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly.
+ /// Optional workspace ID to scope the credential to. When omitted, a workspace-scoped management key creates it in its own workspace. An organization management key creates it in the account's default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly.
/// Example: 550e8400-e29b-41d4-a716-446655440000 /// #if NET7_0_OR_GREATER diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateBudgetGuardrailPolicyRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateBudgetGuardrailPolicyRequest.g.cs index 3f11b3391..63d059176 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateBudgetGuardrailPolicyRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateBudgetGuardrailPolicyRequest.g.cs @@ -71,13 +71,12 @@ public sealed partial class CreateBudgetGuardrailPolicyRequest public global::OpenRouter.CreateBudgetGuardrailPolicyRequestPolicyType PolicyType { get; set; } /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 ///
/// 0df9e665-d932-5740-b2c7-b52af166bc11 [global::System.Text.Json.Serialization.JsonPropertyName("workspace_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Guid WorkspaceId { get; set; } + public global::System.Guid? WorkspaceId { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -95,10 +94,6 @@ public sealed partial class CreateBudgetGuardrailPolicyRequest /// Policy name
/// Example: Engineering monthly budget /// - /// - /// Workspace the policy belongs to
- /// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 - /// /// /// API key hashes
/// Example: [c56454edb818d6b14bc0d61c46025f1450b0f4012d12304ab40aacb519fcbc93] @@ -119,19 +114,23 @@ public sealed partial class CreateBudgetGuardrailPolicyRequest /// Example: [user_2abcDEFghiJKLmnoPQRstu] /// /// + /// + /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
+ /// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public CreateBudgetGuardrailPolicyRequest( global::OpenRouter.GuardrailBudgetPolicyAuthoringConfig config, string name, - global::System.Guid workspaceId, global::System.Collections.Generic.IList? apiKeyHashes, bool? isWorkspaceDefault, global::System.Collections.Generic.IList? memberIds, global::System.Collections.Generic.IList? optedOutApiKeyHashes, global::System.Collections.Generic.IList? optedOutMemberIds, - global::OpenRouter.CreateBudgetGuardrailPolicyRequestPolicyType policyType) + global::OpenRouter.CreateBudgetGuardrailPolicyRequestPolicyType policyType, + global::System.Guid? workspaceId) { this.ApiKeyHashes = apiKeyHashes; this.Config = config ?? throw new global::System.ArgumentNullException(nameof(config)); diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateGuardrailRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateGuardrailRequest.g.cs index 1747faf99..dd874dec0 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateGuardrailRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateGuardrailRequest.g.cs @@ -206,7 +206,7 @@ public sealed partial class CreateGuardrailRequest public global::OpenRouter.GuardrailInterval? ResetInterval { get; set; } /// - /// The workspace to create the guardrail in. When omitted, the guardrail is created in the default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly. This only places the guardrail in the workspace; the created guardrail enforces nothing for that workspace's traffic until it is assigned to API keys or members. To restrict all traffic in a workspace, update the workspace's default guardrail instead.
+ /// The workspace to create the guardrail in. When omitted, an organization management key creates the guardrail in the default workspace (a 400 if that default has been deleted, so pass `workspace_id` explicitly) and a workspace-scoped key creates it in its own workspace. A workspace-scoped key gets a 403 for any other workspace. This only places the guardrail in the workspace; the created guardrail enforces nothing for that workspace's traffic until it is assigned to API keys or members. To restrict all traffic in a workspace, update the workspace's default guardrail instead.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 ///
/// 0df9e665-d932-5740-b2c7-b52af166bc11 @@ -315,7 +315,7 @@ public sealed partial class CreateGuardrailRequest /// Example: monthly /// /// - /// The workspace to create the guardrail in. When omitted, the guardrail is created in the default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly. This only places the guardrail in the workspace; the created guardrail enforces nothing for that workspace's traffic until it is assigned to API keys or members. To restrict all traffic in a workspace, update the workspace's default guardrail instead.
+ /// The workspace to create the guardrail in. When omitted, an organization management key creates the guardrail in the default workspace (a 400 if that default has been deleted, so pass `workspace_id` explicitly) and a workspace-scoped key creates it in its own workspace. A workspace-scoped key gets a 403 for any other workspace. This only places the guardrail in the workspace; the created guardrail enforces nothing for that workspace's traffic until it is assigned to API keys or members. To restrict all traffic in a workspace, update the workspace's default guardrail instead.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// #if NET7_0_OR_GREATER diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateModelAvailabilityGuardrailPolicyRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateModelAvailabilityGuardrailPolicyRequest.g.cs index d19dc3773..16ca836fd 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateModelAvailabilityGuardrailPolicyRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateModelAvailabilityGuardrailPolicyRequest.g.cs @@ -71,13 +71,12 @@ public sealed partial class CreateModelAvailabilityGuardrailPolicyRequest public global::OpenRouter.CreateModelAvailabilityGuardrailPolicyRequestPolicyType PolicyType { get; set; } /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 ///
/// 0df9e665-d932-5740-b2c7-b52af166bc11 [global::System.Text.Json.Serialization.JsonPropertyName("workspace_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Guid WorkspaceId { get; set; } + public global::System.Guid? WorkspaceId { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -95,10 +94,6 @@ public sealed partial class CreateModelAvailabilityGuardrailPolicyRequest /// Policy name
/// Example: Engineering monthly budget /// - /// - /// Workspace the policy belongs to
- /// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 - /// /// /// API key hashes
/// Example: [c56454edb818d6b14bc0d61c46025f1450b0f4012d12304ab40aacb519fcbc93] @@ -119,19 +114,23 @@ public sealed partial class CreateModelAvailabilityGuardrailPolicyRequest /// Example: [user_2abcDEFghiJKLmnoPQRstu] /// /// + /// + /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
+ /// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public CreateModelAvailabilityGuardrailPolicyRequest( global::OpenRouter.GuardrailModelAvailabilityPolicyAuthoringConfig config, string name, - global::System.Guid workspaceId, global::System.Collections.Generic.IList? apiKeyHashes, bool? isWorkspaceDefault, global::System.Collections.Generic.IList? memberIds, global::System.Collections.Generic.IList? optedOutApiKeyHashes, global::System.Collections.Generic.IList? optedOutMemberIds, - global::OpenRouter.CreateModelAvailabilityGuardrailPolicyRequestPolicyType policyType) + global::OpenRouter.CreateModelAvailabilityGuardrailPolicyRequestPolicyType policyType, + global::System.Guid? workspaceId) { this.ApiKeyHashes = apiKeyHashes; this.Config = config ?? throw new global::System.ArgumentNullException(nameof(config)); diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateModerationGuardrailPolicyRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateModerationGuardrailPolicyRequest.g.cs index 2e00b2841..5713a72d9 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateModerationGuardrailPolicyRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateModerationGuardrailPolicyRequest.g.cs @@ -71,13 +71,12 @@ public sealed partial class CreateModerationGuardrailPolicyRequest public global::OpenRouter.CreateModerationGuardrailPolicyRequestPolicyType PolicyType { get; set; } /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 ///
/// 0df9e665-d932-5740-b2c7-b52af166bc11 [global::System.Text.Json.Serialization.JsonPropertyName("workspace_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Guid WorkspaceId { get; set; } + public global::System.Guid? WorkspaceId { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -95,10 +94,6 @@ public sealed partial class CreateModerationGuardrailPolicyRequest /// Policy name
/// Example: Engineering monthly budget /// - /// - /// Workspace the policy belongs to
- /// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 - /// /// /// API key hashes
/// Example: [c56454edb818d6b14bc0d61c46025f1450b0f4012d12304ab40aacb519fcbc93] @@ -119,19 +114,23 @@ public sealed partial class CreateModerationGuardrailPolicyRequest /// Example: [user_2abcDEFghiJKLmnoPQRstu] /// /// + /// + /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
+ /// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public CreateModerationGuardrailPolicyRequest( global::OpenRouter.GuardrailModerationPolicyConfig config, string name, - global::System.Guid workspaceId, global::System.Collections.Generic.IList? apiKeyHashes, bool? isWorkspaceDefault, global::System.Collections.Generic.IList? memberIds, global::System.Collections.Generic.IList? optedOutApiKeyHashes, global::System.Collections.Generic.IList? optedOutMemberIds, - global::OpenRouter.CreateModerationGuardrailPolicyRequestPolicyType policyType) + global::OpenRouter.CreateModerationGuardrailPolicyRequestPolicyType policyType, + global::System.Guid? workspaceId) { this.ApiKeyHashes = apiKeyHashes; this.Config = config ?? throw new global::System.ArgumentNullException(nameof(config)); diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateObservabilityDestinationRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateObservabilityDestinationRequest.g.cs index f6698c02c..2e0e8af76 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateObservabilityDestinationRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateObservabilityDestinationRequest.g.cs @@ -9,7 +9,7 @@ namespace OpenRouter public sealed partial class CreateObservabilityDestinationRequest { /// - /// Optional allowlist of OpenRouter API key hashes whose traffic is forwarded. `null` or omitted means all keys. Must contain at least one hash if provided.
+ /// Optional allowlist of OpenRouter API key hashes whose traffic is forwarded. `null` or omitted means all keys. Must contain at least one hash if provided. A workspace-scoped management key can only name API keys in its own workspace; any other hash returns 400.
/// Example: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 ///
/// openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 @@ -124,7 +124,7 @@ public sealed partial class CreateObservabilityDestinationRequest public required global::OpenRouter.CreateObservabilityDestinationRequestType Type { get; set; } /// - /// Optional workspace ID. Defaults to the authenticated entity's default workspace.
+ /// Optional workspace ID. Defaults to the authenticated entity's default workspace, or a workspace-scoped management key's own workspace.
/// Example: 550e8400-e29b-41d4-a716-446655440000 ///
/// 550e8400-e29b-41d4-a716-446655440000 @@ -153,7 +153,7 @@ public sealed partial class CreateObservabilityDestinationRequest /// Example: langfuse /// /// - /// Optional allowlist of OpenRouter API key hashes whose traffic is forwarded. `null` or omitted means all keys. Must contain at least one hash if provided.
+ /// Optional allowlist of OpenRouter API key hashes whose traffic is forwarded. `null` or omitted means all keys. Must contain at least one hash if provided. A workspace-scoped management key can only name API keys in its own workspace; any other hash returns 400.
/// Example: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 /// /// @@ -200,7 +200,7 @@ public sealed partial class CreateObservabilityDestinationRequest /// Example: 1 /// /// - /// Optional workspace ID. Defaults to the authenticated entity's default workspace.
+ /// Optional workspace ID. Defaults to the authenticated entity's default workspace, or a workspace-scoped management key's own workspace.
/// Example: 550e8400-e29b-41d4-a716-446655440000 /// #if NET7_0_OR_GREATER diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreditPurchasePaymentRequired.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreditPurchasePaymentRequired.Json.g.cs new file mode 100644 index 000000000..ceeb500e4 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreditPurchasePaymentRequired.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class CreditPurchasePaymentRequired + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.CreditPurchasePaymentRequired? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.CreditPurchasePaymentRequired), + jsonSerializerContext) as global::OpenRouter.CreditPurchasePaymentRequired; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.CreditPurchasePaymentRequired? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.CreditPurchasePaymentRequired? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.CreditPurchasePaymentRequired), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.CreditPurchasePaymentRequired; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreditPurchasePaymentRequired.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreditPurchasePaymentRequired.g.cs new file mode 100644 index 000000000..a99fdde1d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreditPurchasePaymentRequired.g.cs @@ -0,0 +1,101 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class CreditPurchasePaymentRequired + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("challengeId")] + public string? ChallengeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("detail")] + public string? Detail { get; set; } + + /// + /// The agent setup guide, `GET /api/v1/credits/purchases/setup`.
+ /// Example: https://openrouter.ai/api/v1/credits/purchases/setup + ///
+ /// https://openrouter.ai/api/v1/credits/purchases/setup + [global::System.Text.Json.Serialization.JsonPropertyName("setup")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Setup { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double Status { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("title")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Title { get; set; } + + /// + /// Example: https://paymentauth.org/problems/payment-required + /// + /// https://paymentauth.org/problems/payment-required + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The agent setup guide, `GET /api/v1/credits/purchases/setup`.
+ /// Example: https://openrouter.ai/api/v1/credits/purchases/setup + /// + /// + /// + /// + /// Example: https://paymentauth.org/problems/payment-required + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public CreditPurchasePaymentRequired( + string setup, + double status, + string title, + string type, + string? challengeId, + string? detail) + { + this.ChallengeId = challengeId; + this.Detail = detail; + this.Setup = setup ?? throw new global::System.ArgumentNullException(nameof(setup)); + this.Status = status; + this.Title = title ?? throw new global::System.ArgumentNullException(nameof(title)); + this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type)); + } + + /// + /// Initializes a new instance of the class. + /// + public CreditPurchasePaymentRequired() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionAsset.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionAsset.g.cs index e6828a23b..faa9eab8d 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionAsset.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionAsset.g.cs @@ -4,7 +4,7 @@ namespace OpenRouter { /// - /// An image or PDF sent once and referenced by its key in the `assets` map. `data_base64` is the file in standard base64 with no `data:` prefix. PDF is read by document models only. + /// An image or PDF sent once and referenced by its key in the `assets` map. `data_base64` is the file in standard base64 with no `data:` prefix. Which formats are read is model-specific: a format the model cannot read fails with a 400. /// public sealed partial class ExtractionAsset { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionAssetFormat.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionAssetFormat.g.cs index 12b4c60d2..e39431250 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionAssetFormat.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionAssetFormat.g.cs @@ -40,6 +40,11 @@ public ExtractionAssetFormat(string value) /// ///
public static ExtractionAssetFormat Png { get; } = new("png"); + + /// + /// + /// + public static ExtractionAssetFormat Webp { get; } = new("webp"); /// /// /// @@ -53,6 +58,7 @@ public static ExtractionAssetFormat FromValue(string value) "jpg" => Jpg, "pdf" => Pdf, "png" => Png, + "webp" => Webp, _ => new ExtractionAssetFormat(value), }; } @@ -66,6 +72,7 @@ public static ExtractionAssetFormat FromValue(string value) "jpg" => true, "pdf" => true, "png" => true, + "webp" => true, _ => false, }; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionDateAnswer.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionDateAnswer.g.cs index 74eca601c..97f55042d 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionDateAnswer.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionDateAnswer.g.cs @@ -34,7 +34,7 @@ public sealed partial class ExtractionDateAnswer public global::OpenRouter.ExtractionDateAnswerSource? Source { get; set; } /// - /// Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once. + /// Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once. Absent for an answer that has no offsets in the state text, for example a null answer, one read from an image or a document, or one the provider returned without offsets that delimit it. /// [global::System.Text.Json.Serialization.JsonPropertyName("span")] public global::System.Collections.Generic.IList? Span { get; set; } @@ -78,7 +78,7 @@ public sealed partial class ExtractionDateAnswer /// Set to `image` or `document` when the answer was read from an image or a PDF rather than the state text. /// /// - /// Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once. + /// Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once. Absent for an answer that has no offsets in the state text, for example a null answer, one read from an image or a document, or one the provider returned without offsets that delimit it. /// /// /// Confidence in the spelling of text read from an image. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionDateField.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionDateField.g.cs index b1f3f76f9..e86f1a902 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionDateField.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionDateField.g.cs @@ -27,6 +27,12 @@ public sealed partial class ExtractionDateField [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ExtractionDateFieldTypeJsonConverter))] public global::OpenRouter.ExtractionDateFieldType Type { get; set; } + /// + /// Unit label for the value. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unit")] + public string? Unit { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -43,17 +49,22 @@ public sealed partial class ExtractionDateField /// Probability of null above which `value` is null. Default 0.5. /// /// + /// + /// Unit label for the value. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ExtractionDateField( string? instructions, double? nullThreshold, - global::OpenRouter.ExtractionDateFieldType type) + global::OpenRouter.ExtractionDateFieldType type, + string? unit) { this.Instructions = instructions; this.NullThreshold = nullThreshold; this.Type = type; + this.Unit = unit; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionDatetimeAnswer.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionDatetimeAnswer.g.cs index 614228778..31aa5eab8 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionDatetimeAnswer.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionDatetimeAnswer.g.cs @@ -34,7 +34,7 @@ public sealed partial class ExtractionDatetimeAnswer public global::OpenRouter.ExtractionDatetimeAnswerSource? Source { get; set; } /// - /// Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once. + /// Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once. Absent for an answer that has no offsets in the state text, for example a null answer, one read from an image or a document, or one the provider returned without offsets that delimit it. /// [global::System.Text.Json.Serialization.JsonPropertyName("span")] public global::System.Collections.Generic.IList? Span { get; set; } @@ -78,7 +78,7 @@ public sealed partial class ExtractionDatetimeAnswer /// Set to `image` or `document` when the answer was read from an image or a PDF rather than the state text. /// /// - /// Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once. + /// Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once. Absent for an answer that has no offsets in the state text, for example a null answer, one read from an image or a document, or one the provider returned without offsets that delimit it. /// /// /// Confidence in the spelling of text read from an image. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionDatetimeField.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionDatetimeField.g.cs index 1a41665c3..f5533640d 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionDatetimeField.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionDatetimeField.g.cs @@ -27,6 +27,12 @@ public sealed partial class ExtractionDatetimeField [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ExtractionDatetimeFieldTypeJsonConverter))] public global::OpenRouter.ExtractionDatetimeFieldType Type { get; set; } + /// + /// Unit label for the value. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unit")] + public string? Unit { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -43,17 +49,22 @@ public sealed partial class ExtractionDatetimeField /// Probability of null above which `value` is null. Default 0.5. /// /// + /// + /// Unit label for the value. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ExtractionDatetimeField( string? instructions, double? nullThreshold, - global::OpenRouter.ExtractionDatetimeFieldType type) + global::OpenRouter.ExtractionDatetimeFieldType type, + string? unit) { this.Instructions = instructions; this.NullThreshold = nullThreshold; this.Type = type; + this.Unit = unit; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionDurationAnswer.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionDurationAnswer.g.cs index cc4a5ad19..ea105487a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionDurationAnswer.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionDurationAnswer.g.cs @@ -34,7 +34,7 @@ public sealed partial class ExtractionDurationAnswer public global::OpenRouter.ExtractionDurationAnswerSource? Source { get; set; } /// - /// Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once. + /// Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once. Absent for an answer that has no offsets in the state text, for example a null answer, one read from an image or a document, or one the provider returned without offsets that delimit it. /// [global::System.Text.Json.Serialization.JsonPropertyName("span")] public global::System.Collections.Generic.IList? Span { get; set; } @@ -84,7 +84,7 @@ public sealed partial class ExtractionDurationAnswer /// Set to `image` or `document` when the answer was read from an image or a PDF rather than the state text. /// /// - /// Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once. + /// Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once. Absent for an answer that has no offsets in the state text, for example a null answer, one read from an image or a document, or one the provider returned without offsets that delimit it. /// /// /// Confidence in the spelling of text read from an image. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionDurationField.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionDurationField.g.cs index 5c03343e3..64394e5c7 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionDurationField.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionDurationField.g.cs @@ -21,7 +21,7 @@ public sealed partial class ExtractionDurationField public string? Instructions { get; set; } /// - /// + /// Whole numbers only. /// [global::System.Text.Json.Serialization.JsonPropertyName("integer")] public bool? Integer { get; set; } @@ -60,7 +60,9 @@ public sealed partial class ExtractionDurationField /// /// What the field should contain. /// - /// + /// + /// Whole numbers only. + /// /// /// Probability of null above which `value` is null. Default 0.5. /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionEstimateField.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionEstimateField.g.cs index 7480c2a12..daafbced4 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionEstimateField.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionEstimateField.g.cs @@ -31,7 +31,7 @@ public sealed partial class ExtractionEstimateField public required global::OpenRouter.AnyOf Min { get; set; } /// - /// Probability of null above which `value` is null. Default 0.5. + /// Not read on this field type: no model takes a null threshold here, and a request that sets it fails with a 400. /// [global::System.Text.Json.Serialization.JsonPropertyName("null_threshold")] public double? NullThreshold { get; set; } @@ -58,7 +58,7 @@ public sealed partial class ExtractionEstimateField public global::OpenRouter.ExtractionEstimateFieldType Type { get; set; } /// - /// + /// Unit label for the value. /// [global::System.Text.Json.Serialization.JsonPropertyName("unit")] public string? Unit { get; set; } @@ -78,12 +78,14 @@ public sealed partial class ExtractionEstimateField /// What the field should contain. /// /// - /// Probability of null above which `value` is null. Default 0.5. + /// Not read on this field type: no model takes a null threshold here, and a request that sets it fails with a 400. /// /// /// /// - /// + /// + /// Unit label for the value. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionForecastField.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionForecastField.g.cs index 5706edf68..007b2e8f0 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionForecastField.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionForecastField.g.cs @@ -46,7 +46,7 @@ public sealed partial class ExtractionForecastField public required global::OpenRouter.AnyOf Min { get; set; } /// - /// Probability of null above which `value` is null. Default 0.5. + /// Not read on this field type: no model takes a null threshold here, and a request that sets it fails with a 400. /// [global::System.Text.Json.Serialization.JsonPropertyName("null_threshold")] public double? NullThreshold { get; set; } @@ -73,7 +73,7 @@ public sealed partial class ExtractionForecastField public global::OpenRouter.ExtractionForecastFieldType Type { get; set; } /// - /// + /// Unit label for the value. /// [global::System.Text.Json.Serialization.JsonPropertyName("unit")] public string? Unit { get; set; } @@ -97,12 +97,14 @@ public sealed partial class ExtractionForecastField /// What the field should contain. /// /// - /// Probability of null above which `value` is null. Default 0.5. + /// Not read on this field type: no model takes a null threshold here, and a request that sets it fails with a 400. /// /// /// /// - /// + /// + /// Unit label for the value. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionListAnswer.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionListAnswer.g.cs index d75964991..d0f400fb8 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionListAnswer.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionListAnswer.g.cs @@ -40,10 +40,10 @@ public sealed partial class ExtractionListAnswer public global::OpenRouter.ExtractionListAnswerSource? Source { get; set; } /// - /// + /// One span per item of `value`, in the same order; null for an item that has no offsets in the state text: one read from an image or a document, or one the provider returned without offsets that delimit it. /// [global::System.Text.Json.Serialization.JsonPropertyName("spans")] - public global::System.Collections.Generic.IList>? Spans { get; set; } + public global::System.Collections.Generic.IList?>? Spans { get; set; } /// /// Confidence in the spelling of text read from an image. @@ -86,7 +86,9 @@ public sealed partial class ExtractionListAnswer /// /// Set to `image` or `document` when the answer was read from an image or a PDF rather than the state text. /// - /// + /// + /// One span per item of `value`, in the same order; null for an item that has no offsets in the state text: one read from an image or a document, or one the provider returned without offsets that delimit it. + /// /// /// Confidence in the spelling of text read from an image. /// @@ -101,7 +103,7 @@ public ExtractionListAnswer( global::System.Collections.Generic.IList>? guess, double? pNull, global::OpenRouter.ExtractionListAnswerSource? source, - global::System.Collections.Generic.IList>? spans, + global::System.Collections.Generic.IList?>? spans, double? spellConfidence, global::OpenRouter.ExtractionListAnswerType type, global::System.Collections.Generic.IList>? value) diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionListField.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionListField.g.cs index d613bd042..1a8213ceb 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionListField.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionListField.g.cs @@ -20,6 +20,12 @@ public sealed partial class ExtractionListField [global::System.Text.Json.Serialization.JsonPropertyName("instructions")] public string? Instructions { get; set; } + /// + /// Whole numbers only. Lists of numbers only. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("integer")] + public bool? Integer { get; set; } + /// /// /// @@ -41,6 +47,12 @@ public sealed partial class ExtractionListField [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ExtractionListFieldTypeJsonConverter))] public global::OpenRouter.ExtractionListFieldType Type { get; set; } + /// + /// Unit label for the value. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unit")] + public string? Unit { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -57,10 +69,16 @@ public sealed partial class ExtractionListField /// /// What the field should contain. /// + /// + /// Whole numbers only. Lists of numbers only. + /// /// /// Probability of null above which `value` is null. Default 0.5. /// /// + /// + /// Unit label for the value. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -68,14 +86,18 @@ public ExtractionListField( global::OpenRouter.ExtractionListFieldItems items, int? decimals, string? instructions, + bool? integer, double? nullThreshold, - global::OpenRouter.ExtractionListFieldType type) + global::OpenRouter.ExtractionListFieldType type, + string? unit) { this.Decimals = decimals; this.Instructions = instructions; + this.Integer = integer; this.Items = items; this.NullThreshold = nullThreshold; this.Type = type; + this.Unit = unit; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionNumberAnswer.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionNumberAnswer.g.cs index 06eee3f60..3a3436f1c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionNumberAnswer.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionNumberAnswer.g.cs @@ -34,7 +34,7 @@ public sealed partial class ExtractionNumberAnswer public global::OpenRouter.ExtractionNumberAnswerSource? Source { get; set; } /// - /// Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once. + /// Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once. Absent for an answer that has no offsets in the state text, for example a null answer, one read from an image or a document, or one the provider returned without offsets that delimit it. /// [global::System.Text.Json.Serialization.JsonPropertyName("span")] public global::System.Collections.Generic.IList? Span { get; set; } @@ -78,7 +78,7 @@ public sealed partial class ExtractionNumberAnswer /// Set to `image` or `document` when the answer was read from an image or a PDF rather than the state text. /// /// - /// Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once. + /// Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once. Absent for an answer that has no offsets in the state text, for example a null answer, one read from an image or a document, or one the provider returned without offsets that delimit it. /// /// /// Confidence in the spelling of text read from an image. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionNumberField.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionNumberField.g.cs index 630cf8640..5e6bc3894 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionNumberField.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionNumberField.g.cs @@ -21,7 +21,7 @@ public sealed partial class ExtractionNumberField public string? Instructions { get; set; } /// - /// + /// Whole numbers only. /// [global::System.Text.Json.Serialization.JsonPropertyName("integer")] public bool? Integer { get; set; } @@ -40,7 +40,7 @@ public sealed partial class ExtractionNumberField public global::OpenRouter.ExtractionNumberFieldType Type { get; set; } /// - /// + /// Unit label for the value. /// [global::System.Text.Json.Serialization.JsonPropertyName("unit")] public string? Unit { get; set; } @@ -60,12 +60,16 @@ public sealed partial class ExtractionNumberField /// /// What the field should contain. /// - /// + /// + /// Whole numbers only. + /// /// /// Probability of null above which `value` is null. Default 0.5. /// /// - /// + /// + /// Unit label for the value. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionTextAnswer.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionTextAnswer.g.cs index 2eacd766f..c29dd8462 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionTextAnswer.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionTextAnswer.g.cs @@ -34,7 +34,7 @@ public sealed partial class ExtractionTextAnswer public global::OpenRouter.ExtractionTextAnswerSource? Source { get; set; } /// - /// Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once. + /// Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once. Absent for an answer that has no offsets in the state text, for example a null answer, one read from an image or a document, or one the provider returned without offsets that delimit it. /// [global::System.Text.Json.Serialization.JsonPropertyName("span")] public global::System.Collections.Generic.IList? Span { get; set; } @@ -78,7 +78,7 @@ public sealed partial class ExtractionTextAnswer /// Set to `image` or `document` when the answer was read from an image or a PDF rather than the state text. /// /// - /// Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once. + /// Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once. Absent for an answer that has no offsets in the state text, for example a null answer, one read from an image or a document, or one the provider returned without offsets that delimit it. /// /// /// Confidence in the spelling of text read from an image. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionTextField.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionTextField.g.cs index 6547e68f9..b82b65d7a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionTextField.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionTextField.g.cs @@ -27,6 +27,12 @@ public sealed partial class ExtractionTextField [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ExtractionTextFieldTypeJsonConverter))] public global::OpenRouter.ExtractionTextFieldType Type { get; set; } + /// + /// Unit label for the value. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unit")] + public string? Unit { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -43,17 +49,22 @@ public sealed partial class ExtractionTextField /// Probability of null above which `value` is null. Default 0.5. /// /// + /// + /// Unit label for the value. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ExtractionTextField( string? instructions, double? nullThreshold, - global::OpenRouter.ExtractionTextFieldType type) + global::OpenRouter.ExtractionTextFieldType type, + string? unit) { this.Instructions = instructions; this.NullThreshold = nullThreshold; this.Type = type; + this.Unit = unit; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionTimeAnswer.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionTimeAnswer.g.cs index 7909a7d49..de9896203 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionTimeAnswer.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionTimeAnswer.g.cs @@ -34,7 +34,7 @@ public sealed partial class ExtractionTimeAnswer public global::OpenRouter.ExtractionTimeAnswerSource? Source { get; set; } /// - /// Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once. + /// Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once. Absent for an answer that has no offsets in the state text, for example a null answer, one read from an image or a document, or one the provider returned without offsets that delimit it. /// [global::System.Text.Json.Serialization.JsonPropertyName("span")] public global::System.Collections.Generic.IList? Span { get; set; } @@ -78,7 +78,7 @@ public sealed partial class ExtractionTimeAnswer /// Set to `image` or `document` when the answer was read from an image or a PDF rather than the state text. /// /// - /// Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once. + /// Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once. Absent for an answer that has no offsets in the state text, for example a null answer, one read from an image or a document, or one the provider returned without offsets that delimit it. /// /// /// Confidence in the spelling of text read from an image. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionTimeField.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionTimeField.g.cs index a58c8930f..964b19f1a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionTimeField.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionTimeField.g.cs @@ -27,6 +27,12 @@ public sealed partial class ExtractionTimeField [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ExtractionTimeFieldTypeJsonConverter))] public global::OpenRouter.ExtractionTimeFieldType Type { get; set; } + /// + /// Unit label for the value. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unit")] + public string? Unit { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -43,17 +49,22 @@ public sealed partial class ExtractionTimeField /// Probability of null above which `value` is null. Default 0.5. /// /// + /// + /// Unit label for the value. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ExtractionTimeField( string? instructions, double? nullThreshold, - global::OpenRouter.ExtractionTimeFieldType type) + global::OpenRouter.ExtractionTimeFieldType type, + string? unit) { this.Instructions = instructions; this.NullThreshold = nullThreshold; this.Type = type; + this.Unit = unit; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionsRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionsRequest.g.cs index 86a581012..c0eea7b2d 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionsRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionsRequest.g.cs @@ -9,7 +9,7 @@ namespace OpenRouter public sealed partial class ExtractionsRequest { /// - /// Assets keyed by reference string. Write a reference wherever the asset belongs in `state` or a field `instructions`; every asset must be referenced at least once. A `state` that is exactly the sole asset's key carries no text of its own and is read as file-only. A model that reads either text or a document per request, not both (ScaleDown Extract with a PDF), needs that form: any other text around the key is state text and is rejected with 400. + /// Assets keyed by reference string. Write a reference wherever the asset belongs in `state` or a field `instructions`; every asset must be referenced at least once, unless `state` is empty or omitted, in which case the assets are read without a reference. A `state` that is exactly the sole asset's key carries no text of its own and is read as file-only. A model that reads either text or a document per request, not both (ScaleDown Extract with a PDF), takes that form or an empty or omitted `state`: any other text around the key is state text and is rejected with 400. /// [global::System.Text.Json.Serialization.JsonPropertyName("assets")] public global::System.Collections.Generic.Dictionary? Assets { get; set; } @@ -50,11 +50,10 @@ public sealed partial class ExtractionsRequest public string? SessionId { get; set; } /// - /// The text to read from. May be empty only when the request carries image assets. + /// The text to read from. May be empty or omitted only when the request carries assets, which are then read without being referenced by key. /// [global::System.Text.Json.Serialization.JsonPropertyName("state")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string State { get; set; } + public string? State { get; set; } /// /// Metadata for observability and tracing. Known keys (trace_id, trace_name, span_name, generation_name, parent_span_id) have special handling. Additional keys are passed through as custom metadata to configured broadcast destinations.
@@ -83,11 +82,8 @@ public sealed partial class ExtractionsRequest /// Map of field name to typed field spec. /// /// - /// - /// The text to read from. May be empty only when the request carries image assets. - /// /// - /// Assets keyed by reference string. Write a reference wherever the asset belongs in `state` or a field `instructions`; every asset must be referenced at least once. A `state` that is exactly the sole asset's key carries no text of its own and is read as file-only. A model that reads either text or a document per request, not both (ScaleDown Extract with a PDF), needs that form: any other text around the key is state text and is rejected with 400. + /// Assets keyed by reference string. Write a reference wherever the asset belongs in `state` or a field `instructions`; every asset must be referenced at least once, unless `state` is empty or omitted, in which case the assets are read without a reference. A `state` that is exactly the sole asset's key carries no text of its own and is read as file-only. A model that reads either text or a document per request, not both (ScaleDown Extract with a PDF), takes that form or an empty or omitted `state`: any other text around the key is state text and is rejected with 400. /// /// /// @@ -97,6 +93,9 @@ public sealed partial class ExtractionsRequest /// A unique identifier for grouping related requests (e.g., a conversation or agent workflow). Used for observability grouping in Broadcast and private logging; never sent to the provider. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 256 characters.
/// Example: session-1234 /// + /// + /// The text to read from. May be empty or omitted only when the request carries assets, which are then read without being referenced by key. + /// /// /// Metadata for observability and tracing. Known keys (trace_id, trace_name, span_name, generation_name, parent_span_id) have special handling. Additional keys are passed through as custom metadata to configured broadcast destinations.
/// Example: {"trace_id":"trace-abc123","trace_name":"my-app-trace"} @@ -108,11 +107,11 @@ public sealed partial class ExtractionsRequest public ExtractionsRequest( object fields, string model, - string state, global::System.Collections.Generic.Dictionary? assets, global::OpenRouter.AllOf? provider, string? referenceDate, string? sessionId, + string? state, global::OpenRouter.TraceConfig? trace, string? user) { @@ -122,7 +121,7 @@ public ExtractionsRequest( this.Provider = provider; this.ReferenceDate = referenceDate; this.SessionId = sessionId; - this.State = state ?? throw new global::System.ArgumentNullException(nameof(state)); + this.State = state; this.Trace = trace; this.User = user; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionsRequestAssets.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionsRequestAssets.g.cs index 9835be123..ab2a231a4 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionsRequestAssets.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ExtractionsRequestAssets.g.cs @@ -4,7 +4,7 @@ namespace OpenRouter { /// - /// Assets keyed by reference string. Write a reference wherever the asset belongs in `state` or a field `instructions`; every asset must be referenced at least once. A `state` that is exactly the sole asset's key carries no text of its own and is read as file-only. A model that reads either text or a document per request, not both (ScaleDown Extract with a PDF), needs that form: any other text around the key is state text and is rejected with 400. + /// Assets keyed by reference string. Write a reference wherever the asset belongs in `state` or a field `instructions`; every asset must be referenced at least once, unless `state` is empty or omitted, in which case the assets are read without a reference. A `state` that is exactly the sole asset's key carries no text of its own and is read as file-only. A model that reads either text or a document per request, not both (ScaleDown Extract with a PDF), takes that form or an empty or omitted `state`: any other text around the key is state text and is rejected with 400. /// public sealed partial class ExtractionsRequestAssets { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestAspectRatio.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestAspectRatio.g.cs index da10e72fb..870929edb 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestAspectRatio.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestAspectRatio.g.cs @@ -42,6 +42,11 @@ public ImageGenerationRequestAspectRatio(string value) ///
public static ImageGenerationRequestAspectRatio x1_2 { get; } = new("1:2"); + /// + /// + /// + public static ImageGenerationRequestAspectRatio x1_3 { get; } = new("1:3"); + /// /// /// @@ -77,6 +82,11 @@ public ImageGenerationRequestAspectRatio(string value) ///
public static ImageGenerationRequestAspectRatio x2_3 { get; } = new("2:3"); + /// + /// + /// + public static ImageGenerationRequestAspectRatio x3_1 { get; } = new("3:1"); + /// /// /// @@ -164,6 +174,7 @@ public static ImageGenerationRequestAspectRatio FromValue(string value) "19.5:9" => x195_9, "1:1" => x1_1, "1:2" => x1_2, + "1:3" => x1_3, "1:4" => x1_4, "1:8" => x1_8, "2.35:1" => x235_1, @@ -171,6 +182,7 @@ public static ImageGenerationRequestAspectRatio FromValue(string value) "21:9" => x21_9, "2:1" => x2_1, "2:3" => x2_3, + "3:1" => x3_1, "3:2" => x3_2, "3:4" => x3_4, "4:1" => x4_1, @@ -199,6 +211,7 @@ public static ImageGenerationRequestAspectRatio FromValue(string value) "19.5:9" => true, "1:1" => true, "1:2" => true, + "1:3" => true, "1:4" => true, "1:8" => true, "2.35:1" => true, @@ -206,6 +219,7 @@ public static ImageGenerationRequestAspectRatio FromValue(string value) "21:9" => true, "2:1" => true, "2:3" => true, + "3:1" => true, "3:2" => true, "3:4" => true, "4:1" => true, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ReasoningFormat.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ReasoningFormat.g.cs index 2c9ddfb82..0e8182fa9 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ReasoningFormat.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ReasoningFormat.g.cs @@ -46,6 +46,11 @@ public ReasoningFormat(string value) ///
public static ReasoningFormat GoogleGeminiV1 { get; } = new("google-gemini-v1"); + /// + /// + /// + public static ReasoningFormat GoogleVertexResponsesV1 { get; } = new("google-vertex-responses-v1"); + /// /// /// @@ -84,6 +89,7 @@ public static ReasoningFormat FromValue(string value) "bedrock-openai-responses-v1" => BedrockOpenaiResponsesV1, "bedrock-xai-responses-v1" => BedrockXaiResponsesV1, "google-gemini-v1" => GoogleGeminiV1, + "google-vertex-responses-v1" => GoogleVertexResponsesV1, "meta-responses-v1" => MetaResponsesV1, "openai-responses-v1" => OpenaiResponsesV1, "openrouter-stealth-v1" => OpenrouterStealthV1, @@ -103,6 +109,7 @@ public static ReasoningFormat FromValue(string value) "bedrock-openai-responses-v1" => true, "bedrock-xai-responses-v1" => true, "google-gemini-v1" => true, + "google-vertex-responses-v1" => true, "meta-responses-v1" => true, "openai-responses-v1" => true, "openrouter-stealth-v1" => true, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateBYOKKeyRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateBYOKKeyRequest.g.cs index 4da3b6680..1ef7be509 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateBYOKKeyRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateBYOKKeyRequest.g.cs @@ -9,7 +9,7 @@ namespace OpenRouter public sealed partial class UpdateBYOKKeyRequest { /// - /// Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) that may use this credential. `null` clears the restriction. Must contain at least one hash if provided. Hashes that do not belong to your account return a 400.
+ /// Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) that may use this credential. `null` clears the restriction. Must contain at least one hash if provided. Hashes that do not belong to your account return a 400; for a workspace-scoped management key, so do hashes of API keys outside its own workspace.
/// Example: [f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943] ///
/// [f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943] @@ -107,7 +107,7 @@ public sealed partial class UpdateBYOKKeyRequest /// Initializes a new instance of the class. ///
/// - /// Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) that may use this credential. `null` clears the restriction. Must contain at least one hash if provided. Hashes that do not belong to your account return a 400.
+ /// Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) that may use this credential. `null` clears the restriction. Must contain at least one hash if provided. Hashes that do not belong to your account return a 400; for a workspace-scoped management key, so do hashes of API keys outside its own workspace.
/// Example: [f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943] /// /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateBudgetGuardrailPolicyRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateBudgetGuardrailPolicyRequest.g.cs index ea56cd8c2..24c403068 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateBudgetGuardrailPolicyRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateBudgetGuardrailPolicyRequest.g.cs @@ -64,13 +64,12 @@ public sealed partial class UpdateBudgetGuardrailPolicyRequest public global::System.Collections.Generic.IList? OptedOutMemberIds { get; set; } /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 ///
/// 0df9e665-d932-5740-b2c7-b52af166bc11 [global::System.Text.Json.Serialization.JsonPropertyName("workspace_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Guid WorkspaceId { get; set; } + public global::System.Guid? WorkspaceId { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -88,10 +87,6 @@ public sealed partial class UpdateBudgetGuardrailPolicyRequest /// Policy name
/// Example: Engineering monthly budget /// - /// - /// Workspace the policy belongs to
- /// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 - /// /// /// Complete new list of assigned API keys. Send together with `member_ids`, or omit both to keep the stored assignments.
/// Example: [c56454edb818d6b14bc0d61c46025f1450b0f4012d12304ab40aacb519fcbc93] @@ -111,18 +106,22 @@ public sealed partial class UpdateBudgetGuardrailPolicyRequest /// Organization member user IDs
/// Example: [user_2abcDEFghiJKLmnoPQRstu] /// + /// + /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
+ /// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public UpdateBudgetGuardrailPolicyRequest( global::OpenRouter.GuardrailBudgetPolicyAuthoringConfig config, string name, - global::System.Guid workspaceId, global::System.Collections.Generic.IList? apiKeyHashes, bool? isWorkspaceDefault, global::System.Collections.Generic.IList? memberIds, global::System.Collections.Generic.IList? optedOutApiKeyHashes, - global::System.Collections.Generic.IList? optedOutMemberIds) + global::System.Collections.Generic.IList? optedOutMemberIds, + global::System.Guid? workspaceId) { this.ApiKeyHashes = apiKeyHashes; this.Config = config ?? throw new global::System.ArgumentNullException(nameof(config)); diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateKeysRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateKeysRequest.g.cs index 97b012a91..4758a9a9f 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateKeysRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateKeysRequest.g.cs @@ -50,7 +50,7 @@ public sealed partial class UpdateKeysRequest public string? Name { get; set; } /// - /// Move the API key to this workspace. The key keeps its value; guardrail selections move with it, while other workspace-scoped settings (presets, BYOK keys, broadcast destinations, routing rules) do not. Sending the key's current workspace is a no-op.
+ /// Move the API key to this workspace. The key keeps its value; guardrail selections move with it, except direct guardrail assignments owned by the key's current workspace, which are removed along with the selections derived from them, while other workspace-scoped settings (presets, BYOK keys, broadcast destinations, routing rules) do not. Sending the key's current workspace is a no-op.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 ///
/// 0df9e665-d932-5740-b2c7-b52af166bc11 @@ -87,7 +87,7 @@ public sealed partial class UpdateKeysRequest /// Example: Updated API Key Name /// /// - /// Move the API key to this workspace. The key keeps its value; guardrail selections move with it, while other workspace-scoped settings (presets, BYOK keys, broadcast destinations, routing rules) do not. Sending the key's current workspace is a no-op.
+ /// Move the API key to this workspace. The key keeps its value; guardrail selections move with it, except direct guardrail assignments owned by the key's current workspace, which are removed along with the selections derived from them, while other workspace-scoped settings (presets, BYOK keys, broadcast destinations, routing rules) do not. Sending the key's current workspace is a no-op.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 /// #if NET7_0_OR_GREATER diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateModelAvailabilityGuardrailPolicyRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateModelAvailabilityGuardrailPolicyRequest.g.cs index a12f0f883..78cc29d71 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateModelAvailabilityGuardrailPolicyRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateModelAvailabilityGuardrailPolicyRequest.g.cs @@ -64,13 +64,12 @@ public sealed partial class UpdateModelAvailabilityGuardrailPolicyRequest public global::System.Collections.Generic.IList? OptedOutMemberIds { get; set; } /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 ///
/// 0df9e665-d932-5740-b2c7-b52af166bc11 [global::System.Text.Json.Serialization.JsonPropertyName("workspace_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Guid WorkspaceId { get; set; } + public global::System.Guid? WorkspaceId { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -88,10 +87,6 @@ public sealed partial class UpdateModelAvailabilityGuardrailPolicyRequest /// Policy name
/// Example: Engineering monthly budget /// - /// - /// Workspace the policy belongs to
- /// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 - /// /// /// Complete new list of assigned API keys. Send together with `member_ids`, or omit both to keep the stored assignments.
/// Example: [c56454edb818d6b14bc0d61c46025f1450b0f4012d12304ab40aacb519fcbc93] @@ -111,18 +106,22 @@ public sealed partial class UpdateModelAvailabilityGuardrailPolicyRequest /// Organization member user IDs
/// Example: [user_2abcDEFghiJKLmnoPQRstu] /// + /// + /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
+ /// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public UpdateModelAvailabilityGuardrailPolicyRequest( global::OpenRouter.GuardrailModelAvailabilityPolicyAuthoringConfig config, string name, - global::System.Guid workspaceId, global::System.Collections.Generic.IList? apiKeyHashes, bool? isWorkspaceDefault, global::System.Collections.Generic.IList? memberIds, global::System.Collections.Generic.IList? optedOutApiKeyHashes, - global::System.Collections.Generic.IList? optedOutMemberIds) + global::System.Collections.Generic.IList? optedOutMemberIds, + global::System.Guid? workspaceId) { this.ApiKeyHashes = apiKeyHashes; this.Config = config ?? throw new global::System.ArgumentNullException(nameof(config)); diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateModerationGuardrailPolicyRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateModerationGuardrailPolicyRequest.g.cs index 0b8f0f54e..af14f508f 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateModerationGuardrailPolicyRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateModerationGuardrailPolicyRequest.g.cs @@ -64,13 +64,12 @@ public sealed partial class UpdateModerationGuardrailPolicyRequest public global::System.Collections.Generic.IList? OptedOutMemberIds { get; set; } /// - /// Workspace the policy belongs to
+ /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
/// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 ///
/// 0df9e665-d932-5740-b2c7-b52af166bc11 [global::System.Text.Json.Serialization.JsonPropertyName("workspace_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Guid WorkspaceId { get; set; } + public global::System.Guid? WorkspaceId { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -88,10 +87,6 @@ public sealed partial class UpdateModerationGuardrailPolicyRequest /// Policy name
/// Example: Engineering monthly budget /// - /// - /// Workspace the policy belongs to
- /// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 - /// /// /// Complete new list of assigned API keys. Send together with `member_ids`, or omit both to keep the stored assignments.
/// Example: [c56454edb818d6b14bc0d61c46025f1450b0f4012d12304ab40aacb519fcbc93] @@ -111,18 +106,22 @@ public sealed partial class UpdateModerationGuardrailPolicyRequest /// Organization member user IDs
/// Example: [user_2abcDEFghiJKLmnoPQRstu] /// + /// + /// Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
+ /// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public UpdateModerationGuardrailPolicyRequest( global::OpenRouter.GuardrailModerationPolicyConfig config, string name, - global::System.Guid workspaceId, global::System.Collections.Generic.IList? apiKeyHashes, bool? isWorkspaceDefault, global::System.Collections.Generic.IList? memberIds, global::System.Collections.Generic.IList? optedOutApiKeyHashes, - global::System.Collections.Generic.IList? optedOutMemberIds) + global::System.Collections.Generic.IList? optedOutMemberIds, + global::System.Guid? workspaceId) { this.ApiKeyHashes = apiKeyHashes; this.Config = config ?? throw new global::System.ArgumentNullException(nameof(config)); diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateObservabilityDestinationRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateObservabilityDestinationRequest.g.cs index ddaef7d0f..bfb3e50d7 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateObservabilityDestinationRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateObservabilityDestinationRequest.g.cs @@ -9,7 +9,7 @@ namespace OpenRouter public sealed partial class UpdateObservabilityDestinationRequest { /// - /// Optional allowlist of OpenRouter API key hashes. `null` clears the filter (all keys). Omitting leaves the current value. Must contain at least one hash if provided.
+ /// Optional allowlist of OpenRouter API key hashes. `null` clears the filter (all keys). Omitting leaves the current value, including any API key from another workspace that an organization-scoped key attached. Must contain at least one hash if provided. A workspace-scoped management key can only name API keys in its own workspace; any other hash returns 400.
/// Example: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 ///
/// openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 @@ -113,7 +113,7 @@ public sealed partial class UpdateObservabilityDestinationRequest /// Initializes a new instance of the class. ///
/// - /// Optional allowlist of OpenRouter API key hashes. `null` clears the filter (all keys). Omitting leaves the current value. Must contain at least one hash if provided.
+ /// Optional allowlist of OpenRouter API key hashes. `null` clears the filter (all keys). Omitting leaves the current value, including any API key from another workspace that an organization-scoped key attached. Must contain at least one hash if provided. A workspace-scoped management key can only name API keys in its own workspace; any other hash returns 400.
/// Example: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 /// /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.Create.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.Create.g.cs index 9ff6ed568..132b3b81a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.Create.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.Create.g.cs @@ -43,7 +43,7 @@ partial void ProcessCreateResponseContent( /// /// Create an observability destination
- /// Create a new observability destination. A maximum of 5 destinations per type is allowed. Defaults to the authenticated entity's default workspace; use the `workspace_id` body field to scope to a different workspace. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Create a new observability destination. A maximum of 5 destinations per type is allowed. Defaults to the authenticated entity's default workspace, or a workspace-scoped management key's own workspace; use the `workspace_id` body field to scope to a different workspace. A workspace-scoped management key can only create in its own workspace; any other `workspace_id` returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -66,7 +66,7 @@ partial void ProcessCreateResponseContent( } /// /// Create an observability destination
- /// Create a new observability destination. A maximum of 5 destinations per type is allowed. Defaults to the authenticated entity's default workspace; use the `workspace_id` body field to scope to a different workspace. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Create a new observability destination. A maximum of 5 destinations per type is allowed. Defaults to the authenticated entity's default workspace, or a workspace-scoped management key's own workspace; use the `workspace_id` body field to scope to a different workspace. A workspace-scoped management key can only create in its own workspace; any other `workspace_id` returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -620,10 +620,10 @@ partial void ProcessCreateResponseContent( } /// /// Create an observability destination
- /// Create a new observability destination. A maximum of 5 destinations per type is allowed. Defaults to the authenticated entity's default workspace; use the `workspace_id` body field to scope to a different workspace. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Create a new observability destination. A maximum of 5 destinations per type is allowed. Defaults to the authenticated entity's default workspace, or a workspace-scoped management key's own workspace; use the `workspace_id` body field to scope to a different workspace. A workspace-scoped management key can only create in its own workspace; any other `workspace_id` returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// - /// Optional allowlist of OpenRouter API key hashes whose traffic is forwarded. `null` or omitted means all keys. Must contain at least one hash if provided.
+ /// Optional allowlist of OpenRouter API key hashes whose traffic is forwarded. `null` or omitted means all keys. Must contain at least one hash if provided. A workspace-scoped management key can only name API keys in its own workspace; any other hash returns 400.
/// Example: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 /// /// @@ -682,7 +682,7 @@ partial void ProcessCreateResponseContent( /// Example: langfuse /// /// - /// Optional workspace ID. Defaults to the authenticated entity's default workspace.
+ /// Optional workspace ID. Defaults to the authenticated entity's default workspace, or a workspace-scoped management key's own workspace.
/// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.Delete.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.Delete.g.cs index 6fcd92db1..75fbfe37a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.Delete.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.Delete.g.cs @@ -43,7 +43,7 @@ partial void ProcessDeleteResponseContent( /// /// Delete an observability destination
- /// Delete an existing observability destination. This performs a soft delete. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Delete an existing observability destination. This performs a soft delete. A workspace-scoped management key only reaches destinations in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The destination ID (UUID).
@@ -67,7 +67,7 @@ partial void ProcessDeleteResponseContent( } /// /// Delete an observability destination
- /// Delete an existing observability destination. This performs a soft delete. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Delete an existing observability destination. This performs a soft delete. A workspace-scoped management key only reaches destinations in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The destination ID (UUID).
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.Get.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.Get.g.cs index 701d6437a..ff507e460 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.Get.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.Get.g.cs @@ -43,7 +43,7 @@ partial void ProcessGetResponseContent( /// /// Get an observability destination
- /// Fetch a single observability destination by its UUID. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Fetch a single observability destination by its UUID. A workspace-scoped management key only reaches destinations in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The destination ID (UUID).
@@ -67,7 +67,7 @@ partial void ProcessGetResponseContent( } /// /// Get an observability destination
- /// Fetch a single observability destination by its UUID. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Fetch a single observability destination by its UUID. A workspace-scoped management key only reaches destinations in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The destination ID (UUID).
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.List.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.List.g.cs index a74f57232..25d896e17 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.List.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.List.g.cs @@ -47,7 +47,7 @@ partial void ProcessListResponseContent( /// /// List observability destinations
- /// List the observability destinations configured for the authenticated entity's default workspace. Use the `workspace_id` query parameter to scope the result to a different workspace. Only destinations with stable release status are surfaced — destinations of other types are excluded. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// List the observability destinations configured for the authenticated entity's default workspace, or a workspace-scoped management key's own workspace. Use the `workspace_id` query parameter to scope the result to a different workspace. A workspace-scoped management key can only list its own workspace; any other `workspace_id` returns 403. Only destinations with stable release status are surfaced — destinations of other types are excluded. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Number of records to skip for pagination
@@ -60,7 +60,7 @@ partial void ProcessListResponseContent( /// Example: 50 /// /// - /// Optional workspace ID to filter by. Defaults to the authenticated entity's default workspace.
+ /// Optional workspace ID to filter by. Defaults to the authenticated entity's default workspace, or a workspace-scoped management key's own workspace.
/// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -85,7 +85,7 @@ partial void ProcessListResponseContent( } /// /// List observability destinations
- /// List the observability destinations configured for the authenticated entity's default workspace. Use the `workspace_id` query parameter to scope the result to a different workspace. Only destinations with stable release status are surfaced — destinations of other types are excluded. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// List the observability destinations configured for the authenticated entity's default workspace, or a workspace-scoped management key's own workspace. Use the `workspace_id` query parameter to scope the result to a different workspace. A workspace-scoped management key can only list its own workspace; any other `workspace_id` returns 403. Only destinations with stable release status are surfaced — destinations of other types are excluded. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Number of records to skip for pagination
@@ -98,7 +98,7 @@ partial void ProcessListResponseContent( /// Example: 50 /// /// - /// Optional workspace ID to filter by. Defaults to the authenticated entity's default workspace.
+ /// Optional workspace ID to filter by. Defaults to the authenticated entity's default workspace, or a workspace-scoped management key's own workspace.
/// Example: 550e8400-e29b-41d4-a716-446655440000 /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.Update.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.Update.g.cs index 814a5484b..0f551a051 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.Update.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.Update.g.cs @@ -45,7 +45,7 @@ partial void ProcessUpdateResponseContent( /// /// Update an observability destination
- /// Update an existing observability destination. Only the fields provided in the request body are updated. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Update an existing observability destination. Only the fields provided in the request body are updated. A workspace-scoped management key only reaches destinations in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The destination ID (UUID).
@@ -74,7 +74,7 @@ partial void ProcessUpdateResponseContent( } /// /// Update an observability destination
- /// Update an existing observability destination. Only the fields provided in the request body are updated. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Update an existing observability destination. Only the fields provided in the request body are updated. A workspace-scoped management key only reaches destinations in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The destination ID (UUID).
@@ -672,14 +672,14 @@ partial void ProcessUpdateResponseContent( } /// /// Update an observability destination
- /// Update an existing observability destination. Only the fields provided in the request body are updated. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Update an existing observability destination. Only the fields provided in the request body are updated. A workspace-scoped management key only reaches destinations in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// The destination ID (UUID).
/// Example: 99999999-aaaa-bbbb-cccc-dddddddddddd /// /// - /// Optional allowlist of OpenRouter API key hashes. `null` clears the filter (all keys). Omitting leaves the current value. Must contain at least one hash if provided.
+ /// Optional allowlist of OpenRouter API key hashes. `null` clears the filter (all keys). Omitting leaves the current value, including any API key from another workspace that an organization-scoped key attached. Must contain at least one hash if provided. A workspace-scoped management key can only name API keys in its own workspace; any other hash returns 400.
/// Example: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 /// /// diff --git a/src/libs/OpenRouter/Generated/autosdk.generated-examples.json b/src/libs/OpenRouter/Generated/autosdk.generated-examples.json index 7c4539a4d..360989a36 100644 --- a/src/libs/OpenRouter/Generated/autosdk.generated-examples.json +++ b/src/libs/OpenRouter/Generated/autosdk.generated-examples.json @@ -26,7 +26,7 @@ "Order": 3, "Title": "Get available analytics metrics and dimensions", "Slug": "getanalyticsmeta", - "Description": "Returns the available metrics, dimensions, filter operators, and granularities for the analytics query endpoint. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "Description": "Returns the available metrics, dimensions, filter operators, and granularities for the analytics query endpoint. Workspace-scoped management keys are accepted. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "Language": "csharp", "Code": "using var client = new OpenRouterClient(apiKey);\nvar response = await client.Analytics.GetAnalyticsMetaAsync();\n\n// Example response:\n// {\n// \u0022data\u0022: {\n// \u0022dimensions\u0022: [\n// {\n// \u0022display_label\u0022: \u0022Model\u0022,\n// \u0022name\u0022: \u0022model\u0022\n// }\n// ],\n// \u0022granularities\u0022: [\n// {\n// \u0022display_label\u0022: \u0022Day\u0022,\n// \u0022name\u0022: \u0022day\u0022\n// }\n// ],\n// \u0022metrics\u0022: [\n// {\n// \u0022display_format\u0022: \u0022number\u0022,\n// \u0022display_label\u0022: \u0022Request Count\u0022,\n// \u0022is_rate\u0022: false,\n// \u0022name\u0022: \u0022request_count\u0022\n// }\n// ],\n// \u0022operators\u0022: [\n// {\n// \u0022name\u0022: \u0022eq\u0022,\n// \u0022value_type\u0022: \u0022scalar\u0022\n// }\n// ]\n// }\n// }", "Format": "sdk", @@ -37,7 +37,7 @@ "Order": 4, "Title": "Get user activity grouped by endpoint", "Slug": "getuseractivity", - "Description": "Returns user activity data grouped by endpoint for the last 30 (completed) UTC days. Pass \u0060workspace_id\u0060 to scope the response to a single workspace. Pass \u0060group_by=workspace\u0060 to split each row per workspace and include \u0060workspace_id\u0060 on every item; by default rows are aggregated across workspaces and \u0060workspace_id\u0060 is not returned. Activity recorded before workspace resolution existed is permanently attributed to the account default workspace (no backfill is possible). [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "Description": "Returns user activity data grouped by endpoint for the last 30 (completed) UTC days. Pass \u0060workspace_id\u0060 to scope the response to a single workspace. Pass \u0060group_by=workspace\u0060 to split each row per workspace and include \u0060workspace_id\u0060 on every item; by default rows are aggregated across workspaces and \u0060workspace_id\u0060 is not returned. Activity recorded before workspace resolution existed is permanently attributed to the account default workspace (no backfill is possible). A workspace-scoped management key needs \u0060activity:view_all\u0060 on its own workspace and reads only that workspace: an omitted \u0060workspace_id\u0060 defaults to it, a \u0060workspace_id\u0060 naming any other workspace returns 403, \u0060api_key_hash\u0060 and \u0060user_id\u0060 resolve only keys and members of that workspace, and legacy activity with no workspace is excluded (including for the default workspace). [Management key](/docs/guides/overview/auth/management-api-keys) required.", "Language": "csharp", "Code": "using var client = new OpenRouterClient(apiKey);\nvar response = await client.Analytics.GetUserActivityAsync();\n\n// Example response:\n// {\n// \u0022data\u0022: [\n// {\n// \u0022byok_usage_inference\u0022: 0.012,\n// \u0022cached_tokens\u0022: 10,\n// \u0022completion_tokens\u0022: 125,\n// \u0022date\u0022: \u00222025-08-24\u0022,\n// \u0022endpoint_id\u0022: \u0022550e8400-e29b-41d4-a716-446655440000\u0022,\n// \u0022model\u0022: \u0022openai/gpt-4.1\u0022,\n// \u0022model_permaslug\u0022: \u0022openai/gpt-4.1-2025-04-14\u0022,\n// \u0022prompt_tokens\u0022: 50,\n// \u0022provider_name\u0022: \u0022OpenAI\u0022,\n// \u0022reasoning_tokens\u0022: 25,\n// \u0022requests\u0022: 5,\n// \u0022usage\u0022: 0.015\n// }\n// ]\n// }", "Format": "sdk", @@ -48,7 +48,7 @@ "Order": 5, "Title": "Query analytics data", "Slug": "queryanalytics", - "Description": "Execute an analytics query with specified metrics, dimensions, filters, and time range. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "Description": "Execute an analytics query with specified metrics, dimensions, filters, and time range. A workspace-scoped management key needs \u0060activity:view_all\u0060 on its own workspace and reads only that workspace: it is refused a \u0060workspace\u0060 filter naming another workspace, it excludes legacy rows with no workspace (including for the default workspace), and possible-cache metrics such as \u0060possible_cached_tokens\u0060 return 400. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "Language": "csharp", "Code": "using var client = new OpenRouterClient(apiKey);\n\nvar request = global::System.Text.Json.JsonSerializer.Deserialize\u003Cglobal::OpenRouter.QueryAnalyticsRequest\u003E(\n @\u0022{\n \u0022\u0022dimensions\u0022\u0022: [\n \u0022\u0022model\u0022\u0022\n ],\n \u0022\u0022granularity\u0022\u0022: \u0022\u0022day\u0022\u0022,\n \u0022\u0022limit\u0022\u0022: 100,\n \u0022\u0022metrics\u0022\u0022: [\n \u0022\u0022request_count\u0022\u0022\n ],\n \u0022\u0022time_range\u0022\u0022: {\n \u0022\u0022end\u0022\u0022: \u0022\u00222025-01-08T00:00:00Z\u0022\u0022,\n \u0022\u0022start\u0022\u0022: \u0022\u00222025-01-01T00:00:00Z\u0022\u0022\n }\n}\u0022)!;\n\nvar response = await client.Analytics.QueryAnalyticsAsync(\n request: request\n);\n\n// Example response:\n// {\n// \u0022data\u0022: {\n// \u0022data\u0022: [\n// {\n// \u0022date__day\u0022: \u00222025-01-01T00:00:00.000Z\u0022,\n// \u0022request_count\u0022: 1500\n// }\n// ],\n// \u0022metadata\u0022: {\n// \u0022query_time_ms\u0022: 42,\n// \u0022row_count\u0022: 1,\n// \u0022truncated\u0022: false\n// }\n// }\n// }", "Format": "sdk", @@ -180,7 +180,7 @@ "Order": 17, "Title": "Create a BYOK provider credential", "Slug": "createbyokkey", - "Description": "Create a new bring-your-own-key (BYOK) provider credential. The raw key is encrypted at rest and never returned in API responses. When \u0060workspace_id\u0060 is omitted, the credential is created in the default workspace; if that default has been deleted, the request returns a 400 and you must pass \u0060workspace_id\u0060 explicitly. Treat the raw key as write-only; it is never returned after creation. Use \u0060allowed_api_key_hashes\u0060 to restrict the credential to specific OpenRouter API keys. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "Description": "Create a new bring-your-own-key (BYOK) provider credential. The raw key is encrypted at rest and never returned in API responses. When \u0060workspace_id\u0060 is omitted, the credential is created in the default workspace; if that default has been deleted, the request returns a 400 and you must pass \u0060workspace_id\u0060 explicitly. A workspace-scoped management key creates the credential in its own workspace when \u0060workspace_id\u0060 is omitted, and any other \u0060workspace_id\u0060 returns 403. Treat the raw key as write-only; it is never returned after creation. Use \u0060allowed_api_key_hashes\u0060 to restrict the credential to specific OpenRouter API keys. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "Language": "csharp", "Code": "using var client = new OpenRouterClient(apiKey);\n\nvar request = global::System.Text.Json.JsonSerializer.Deserialize\u003Cglobal::OpenRouter.DecisionsRequest\u003E(\n @\u0022{\n \u0022\u0022key\u0022\u0022: \u0022\u0022sk-proj-abc123...\u0022\u0022,\n \u0022\u0022name\u0022\u0022: \u0022\u0022Production OpenAI Key\u0022\u0022,\n \u0022\u0022provider\u0022\u0022: \u0022\u0022openai\u0022\u0022\n}\u0022)!;\n\nvar response = await client.AlphaDecisions.CreateAsync(\n request: request\n);\n\n// Example response:\n// {\n// \u0022data\u0022: {\n// \u0022allowed_api_key_hashes\u0022: null,\n// \u0022allowed_models\u0022: null,\n// \u0022allowed_user_ids\u0022: null,\n// \u0022created_at\u0022: \u00222025-08-24T10:30:00Z\u0022,\n// \u0022declared_region\u0022: null,\n// \u0022declared_zdr\u0022: null,\n// \u0022disabled\u0022: false,\n// \u0022id\u0022: \u002211111111-2222-3333-4444-555555555555\u0022,\n// \u0022is_byok_only\u0022: false,\n// \u0022is_fallback\u0022: false,\n// \u0022is_required\u0022: false,\n// \u0022label\u0022: \u0022sk-...AbCd\u0022,\n// \u0022name\u0022: \u0022Production OpenAI Key\u0022,\n// \u0022provider\u0022: \u0022openai\u0022,\n// \u0022sort_order\u0022: 0,\n// \u0022workspace_id\u0022: \u0022550e8400-e29b-41d4-a716-446655440000\u0022\n// }\n// }", "Format": "sdk", @@ -191,7 +191,7 @@ "Order": 18, "Title": "Delete a BYOK provider credential", "Slug": "deletebyokkey", - "Description": "Delete (soft-delete) a bring-your-own-key (BYOK) provider credential by its \u0060id\u0060. The encrypted key material is wiped and the record is marked as deleted. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "Description": "Delete (soft-delete) a bring-your-own-key (BYOK) provider credential by its \u0060id\u0060. The encrypted key material is wiped and the record is marked as deleted. A workspace-scoped management key only reaches credentials in its own workspace; any other \u0060id\u0060 returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "Language": "http", "Code": "### Delete a BYOK provider credential\n# @name deleteBYOKKey\nDELETE {{host}}/byok/{{id}}\nAuthorization: Bearer {{token}}\nAccept: application/json\n\n## Responses\n# 200\n# Description: BYOK credential deleted successfully\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: Forbidden - Authentication successful but insufficient permissions\n# Content-Type: application/json\n# 404\n# Description: Not Found - Resource does not exist\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json", "Format": "http", @@ -202,7 +202,7 @@ "Order": 19, "Title": "Get a BYOK provider credential", "Slug": "getbyokkey", - "Description": "Get a single bring-your-own-key (BYOK) provider credential by its \u0060id\u0060. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "Description": "Get a single bring-your-own-key (BYOK) provider credential by its \u0060id\u0060. A workspace-scoped management key only reaches credentials in its own workspace; any other \u0060id\u0060 returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "Language": "http", "Code": "### Get a BYOK provider credential\n# @name getBYOKKey\nGET {{host}}/byok/{{id}}\nAuthorization: Bearer {{token}}\nAccept: application/json\n\n## Responses\n# 200\n# Description: BYOK credential details\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: Forbidden - Authentication successful but insufficient permissions\n# Content-Type: application/json\n# 404\n# Description: Not Found - Resource does not exist\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json", "Format": "http", @@ -213,7 +213,7 @@ "Order": 20, "Title": "List BYOK provider credentials", "Slug": "listbyokkeys", - "Description": "List the bring-your-own-key (BYOK) provider credentials for the authenticated entity\u0027s default workspace. Use the \u0060workspace_id\u0060 query parameter to scope the result to a different workspace, or the \u0060provider\u0060 query parameter to filter by upstream provider. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "Description": "List the bring-your-own-key (BYOK) provider credentials for the authenticated entity\u0027s default workspace, or a workspace-scoped management key\u0027s own workspace. Use the \u0060workspace_id\u0060 query parameter to scope the result to a different workspace, or the \u0060provider\u0060 query parameter to filter by upstream provider. A workspace-scoped management key can only list its own workspace; any other \u0060workspace_id\u0060 returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "Language": "csharp", "Code": "using var client = new OpenRouterClient(apiKey);\nvar response = await client.ApiKeys.ListAsync();\n\n// Example response:\n// {\n// \u0022data\u0022: [\n// {\n// \u0022allowed_api_key_hashes\u0022: null,\n// \u0022allowed_models\u0022: null,\n// \u0022allowed_user_ids\u0022: null,\n// \u0022created_at\u0022: \u00222025-08-24T10:30:00Z\u0022,\n// \u0022declared_region\u0022: null,\n// \u0022declared_zdr\u0022: null,\n// \u0022disabled\u0022: false,\n// \u0022id\u0022: \u002211111111-2222-3333-4444-555555555555\u0022,\n// \u0022is_byok_only\u0022: false,\n// \u0022is_fallback\u0022: false,\n// \u0022is_required\u0022: false,\n// \u0022label\u0022: \u0022sk-...AbCd\u0022,\n// \u0022name\u0022: \u0022Production OpenAI Key\u0022,\n// \u0022provider\u0022: \u0022openai\u0022,\n// \u0022sort_order\u0022: 0,\n// \u0022workspace_id\u0022: \u0022550e8400-e29b-41d4-a716-446655440000\u0022\n// }\n// ],\n// \u0022total_count\u0022: 1\n// }", "Format": "sdk", @@ -224,7 +224,7 @@ "Order": 21, "Title": "Update a BYOK provider credential", "Slug": "updatebyokkey", - "Description": "Update an existing bring-your-own-key (BYOK) provider credential by its \u0060id\u0060. Include the \u0060key\u0060 field to rotate the raw provider API key in-place (the previous key material is overwritten). Use \u0060allowed_api_key_hashes\u0060 to restrict the credential to specific OpenRouter API keys (\u0060null\u0060 clears the restriction). [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "Description": "Update an existing bring-your-own-key (BYOK) provider credential by its \u0060id\u0060. Include the \u0060key\u0060 field to rotate the raw provider API key in-place (the previous key material is overwritten). Use \u0060allowed_api_key_hashes\u0060 to restrict the credential to specific OpenRouter API keys (\u0060null\u0060 clears the restriction). A workspace-scoped management key only reaches credentials in its own workspace; any other \u0060id\u0060 returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "Language": "http", "Code": "### Update a BYOK provider credential\n# @name updateBYOKKey\nPATCH {{host}}/byok/{{id}}\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022disabled\u0022: false,\n \u0022name\u0022: \u0022Updated OpenAI Key\u0022\n}\n\n## Responses\n# 200\n# Description: BYOK credential updated successfully\n# Content-Type: application/json\n# 400\n# Description: Bad Request - Invalid request parameters or malformed input\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: Forbidden - Authentication successful but insufficient permissions\n# Content-Type: application/json\n# 404\n# Description: Not Found - Resource does not exist\n# Content-Type: application/json\n# 409\n# Description: Conflict - Resource conflict or concurrent modification\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json", "Format": "http", @@ -709,33 +709,33 @@ "Title": "List budget policies", "Slug": "listbudgetpolicies", "Description": "List the budget policies in a workspace. [Management key](/docs/guides/overview/auth/management-api-keys) required.", - "Language": "http", - "Code": "### List budget policies\n# @name listBudgetPolicies\nGET {{host}}/guardrails/policies/budget?offset={{offset}}\u0026limit={{limit}}\u0026workspace_id={{workspace_id}}\nAuthorization: Bearer {{token}}\nAccept: application/json\n\n## Responses\n# 200\n# Description: List of budget policies\n# Content-Type: application/json\n# 400\n# Description: Bad Request - Invalid request parameters or malformed input\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: Forbidden - Authentication successful but insufficient permissions\n# Content-Type: application/json\n# 404\n# Description: Not Found - Resource does not exist\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json", - "Format": "http", + "Language": "csharp", + "Code": "using var client = new OpenRouterClient(apiKey);\nvar response = await client.GuardrailPolicies.ListBudgetPoliciesAsync();", + "Format": "sdk", "OperationId": "listBudgetPolicies", - "Setup": null + "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { "Order": 66, "Title": "List model availability policies", "Slug": "listmodelavailabilitypolicies", "Description": "List the model availability policies in a workspace. [Management key](/docs/guides/overview/auth/management-api-keys) required.", - "Language": "http", - "Code": "### List model availability policies\n# @name listModelAvailabilityPolicies\nGET {{host}}/guardrails/policies/model-availability?offset={{offset}}\u0026limit={{limit}}\u0026workspace_id={{workspace_id}}\nAuthorization: Bearer {{token}}\nAccept: application/json\n\n## Responses\n# 200\n# Description: List of model availability policies\n# Content-Type: application/json\n# 400\n# Description: Bad Request - Invalid request parameters or malformed input\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: Forbidden - Authentication successful but insufficient permissions\n# Content-Type: application/json\n# 404\n# Description: Not Found - Resource does not exist\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json", - "Format": "http", + "Language": "csharp", + "Code": "using var client = new OpenRouterClient(apiKey);\nvar response = await client.GuardrailPolicies.ListModelAvailabilityPoliciesAsync();", + "Format": "sdk", "OperationId": "listModelAvailabilityPolicies", - "Setup": null + "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { "Order": 67, "Title": "List moderation policies", "Slug": "listmoderationpolicies", "Description": "List the moderation policies in a workspace. [Management key](/docs/guides/overview/auth/management-api-keys) required.", - "Language": "http", - "Code": "### List moderation policies\n# @name listModerationPolicies\nGET {{host}}/guardrails/policies/moderation?offset={{offset}}\u0026limit={{limit}}\u0026workspace_id={{workspace_id}}\nAuthorization: Bearer {{token}}\nAccept: application/json\n\n## Responses\n# 200\n# Description: List of moderation policies\n# Content-Type: application/json\n# 400\n# Description: Bad Request - Invalid request parameters or malformed input\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: Forbidden - Authentication successful but insufficient permissions\n# Content-Type: application/json\n# 404\n# Description: Not Found - Resource does not exist\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json", - "Format": "http", + "Language": "csharp", + "Code": "using var client = new OpenRouterClient(apiKey);\nvar response = await client.GuardrailPolicies.ListModerationPoliciesAsync();", + "Format": "sdk", "OperationId": "listModerationPolicies", - "Setup": null + "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { "Order": 68, @@ -785,7 +785,7 @@ "Order": 72, "Title": "Bulk assign keys to a guardrail", "Slug": "bulkassignkeystoguardrail", - "Description": "Assign multiple API keys to a specific guardrail. A key may hold at most one guardrail; assigning replaces any existing assignment. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "Description": "Assign multiple API keys to a specific guardrail. A key may hold at most one guardrail; assigning replaces any existing assignment. A workspace-scoped management key reaches only guardrails in its own workspace (any other returns 404), and a batch naming an unknown or out-of-workspace key hash is rejected with 400 before anything changes. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "Language": "http", "Code": "### Bulk assign keys to a guardrail\n# @name bulkAssignKeysToGuardrail\nPOST {{host}}/guardrails/{{id}}/assignments/keys\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022key_hashes\u0022: [\n \u0022c56454edb818d6b14bc0d61c46025f1450b0f4012d12304ab40aacb519fcbc93\u0022\n ]\n}\n\n## Responses\n# 200\n# Description: Assignment result\n# Content-Type: application/json\n# 400\n# Description: Bad Request - Invalid request parameters or malformed input\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: The management key does not have permission for this request, or the guardrail has no workspace and carries a person-name or address sensitive-info filter, and at least one target key belongs to a workspace that does not allow that filter.\n# Content-Type: application/json\n# 404\n# Description: Not Found - Resource does not exist\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json", "Format": "http", @@ -796,7 +796,7 @@ "Order": 73, "Title": "Bulk assign members to a guardrail", "Slug": "bulkassignmemberstoguardrail", - "Description": "Assign multiple organization members to a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "Description": "Assign multiple organization members to a specific guardrail. Requires an organization-scoped management key; workspace-scoped management keys return 403. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "Language": "http", "Code": "### Bulk assign members to a guardrail\n# @name bulkAssignMembersToGuardrail\nPOST {{host}}/guardrails/{{id}}/assignments/members\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022member_user_ids\u0022: [\n \u0022user_abc123\u0022,\n \u0022user_def456\u0022\n ]\n}\n\n## Responses\n# 200\n# Description: Assignment result\n# Content-Type: application/json\n# 400\n# Description: Bad Request - Invalid request parameters or malformed input\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: Forbidden - Authentication successful but insufficient permissions\n# Content-Type: application/json\n# 404\n# Description: Not Found - Resource does not exist\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json", "Format": "http", @@ -807,7 +807,7 @@ "Order": 74, "Title": "Bulk unassign keys from a guardrail", "Slug": "bulkunassignkeysfromguardrail", - "Description": "Unassign multiple API keys from a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "Description": "Unassign multiple API keys from a specific guardrail. A workspace-scoped management key reaches only guardrails in its own workspace (any other returns 404), and a batch naming an unknown or out-of-workspace key hash is rejected with 400 before anything changes. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "Language": "http", "Code": "### Bulk unassign keys from a guardrail\n# @name bulkUnassignKeysFromGuardrail\nPOST {{host}}/guardrails/{{id}}/assignments/keys/remove\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022key_hashes\u0022: [\n \u0022c56454edb818d6b14bc0d61c46025f1450b0f4012d12304ab40aacb519fcbc93\u0022\n ]\n}\n\n## Responses\n# 200\n# Description: Unassignment result\n# Content-Type: application/json\n# 400\n# Description: Bad Request - Invalid request parameters or malformed input\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: Forbidden - Authentication successful but insufficient permissions\n# Content-Type: application/json\n# 404\n# Description: Not Found - Resource does not exist\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json", "Format": "http", @@ -818,7 +818,7 @@ "Order": 75, "Title": "Bulk unassign members from a guardrail", "Slug": "bulkunassignmembersfromguardrail", - "Description": "Unassign multiple organization members from a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "Description": "Unassign multiple organization members from a specific guardrail. Requires an organization-scoped management key; workspace-scoped management keys return 403. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "Language": "http", "Code": "### Bulk unassign members from a guardrail\n# @name bulkUnassignMembersFromGuardrail\nPOST {{host}}/guardrails/{{id}}/assignments/members/remove\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022member_user_ids\u0022: [\n \u0022user_abc123\u0022,\n \u0022user_def456\u0022\n ]\n}\n\n## Responses\n# 200\n# Description: Unassignment result\n# Content-Type: application/json\n# 400\n# Description: Bad Request - Invalid request parameters or malformed input\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: Forbidden - Authentication successful but insufficient permissions\n# Content-Type: application/json\n# 404\n# Description: Not Found - Resource does not exist\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json", "Format": "http", @@ -829,7 +829,7 @@ "Order": 76, "Title": "Create a guardrail", "Slug": "createguardrail", - "Description": "Create a new guardrail for the authenticated user. A newly created guardrail enforces nothing until it is assigned to API keys or organization members; \u0060workspace_id\u0060 places the guardrail in a workspace but does not apply it to that workspace\u0027s traffic. To restrict all traffic in a workspace, update the workspace\u0027s default guardrail instead. Set \u0060allowed_data_regions\u0060 to enforce [In-Region Routing](/docs/guides/features/in-region-routing#enforcing-in-region-routing-with-guardrails): governed requests must arrive through one of the listed OpenRouter domains and are rejected with a 403 otherwise. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "Description": "Create a new guardrail for the authenticated user. A newly created guardrail enforces nothing until it is assigned to API keys or organization members; \u0060workspace_id\u0060 places the guardrail in a workspace but does not apply it to that workspace\u0027s traffic. To restrict all traffic in a workspace, update the workspace\u0027s default guardrail instead. Set \u0060allowed_data_regions\u0060 to enforce [In-Region Routing](/docs/guides/features/in-region-routing#enforcing-in-region-routing-with-guardrails): governed requests must arrive through one of the listed OpenRouter domains and are rejected with a 403 otherwise. A workspace-scoped management key creates in its own workspace, which \u0060workspace_id\u0060 defaults to; naming another workspace returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "Language": "csharp", "Code": "using var client = new OpenRouterClient(apiKey);\n\nvar request = global::System.Text.Json.JsonSerializer.Deserialize\u003Cglobal::OpenRouter.DecisionsRequest\u003E(\n @\u0022{\n \u0022\u0022allowed_data_regions\u0022\u0022: [\n \u0022\u0022europe\u0022\u0022\n ],\n \u0022\u0022allowed_models\u0022\u0022: null,\n \u0022\u0022allowed_providers\u0022\u0022: [\n \u0022\u0022openai\u0022\u0022,\n \u0022\u0022anthropic\u0022\u0022,\n \u0022\u0022deepseek\u0022\u0022\n ],\n \u0022\u0022description\u0022\u0022: \u0022\u0022A guardrail for limiting API usage\u0022\u0022,\n \u0022\u0022enforce_zdr_anthropic\u0022\u0022: true,\n \u0022\u0022enforce_zdr_google\u0022\u0022: false,\n \u0022\u0022enforce_zdr_openai\u0022\u0022: true,\n \u0022\u0022enforce_zdr_other\u0022\u0022: false,\n \u0022\u0022enforce_zdr_xai\u0022\u0022: false,\n \u0022\u0022ignored_models\u0022\u0022: null,\n \u0022\u0022ignored_providers\u0022\u0022: null,\n \u0022\u0022limit_usd\u0022\u0022: 50,\n \u0022\u0022name\u0022\u0022: \u0022\u0022My New Guardrail\u0022\u0022,\n \u0022\u0022reset_interval\u0022\u0022: \u0022\u0022monthly\u0022\u0022\n}\u0022)!;\n\nvar response = await client.AlphaDecisions.CreateAsync(\n request: request\n);\n\n// Example response:\n// {\n// \u0022data\u0022: {\n// \u0022allowed_models\u0022: null,\n// \u0022allowed_providers\u0022: [\n// \u0022openai\u0022,\n// \u0022anthropic\u0022,\n// \u0022google\u0022\n// ],\n// \u0022created_at\u0022: \u00222025-08-24T10:30:00Z\u0022,\n// \u0022description\u0022: \u0022A guardrail for limiting API usage\u0022,\n// \u0022enforce_zdr\u0022: null,\n// \u0022enforce_zdr_anthropic\u0022: true,\n// \u0022enforce_zdr_google\u0022: false,\n// \u0022enforce_zdr_openai\u0022: true,\n// \u0022enforce_zdr_other\u0022: false,\n// \u0022enforce_zdr_xai\u0022: false,\n// \u0022id\u0022: \u0022550e8400-e29b-41d4-a716-446655440000\u0022,\n// \u0022ignored_models\u0022: null,\n// \u0022ignored_providers\u0022: null,\n// \u0022include_byok_in_budgets\u0022: false,\n// \u0022limit_usd\u0022: 50,\n// \u0022name\u0022: \u0022My New Guardrail\u0022,\n// \u0022reset_interval\u0022: \u0022monthly\u0022,\n// \u0022updated_at\u0022: null,\n// \u0022workspace_id\u0022: \u00220df9e665-d932-5740-b2c7-b52af166bc11\u0022\n// }\n// }", "Format": "sdk", @@ -840,7 +840,7 @@ "Order": 77, "Title": "Delete a guardrail", "Slug": "deleteguardrail", - "Description": "Delete an existing guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "Description": "Delete an existing guardrail. A workspace-scoped management key reaches only guardrails in its own workspace; any other guardrail returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "Language": "http", "Code": "### Delete a guardrail\n# @name deleteGuardrail\nDELETE {{host}}/guardrails/{{id}}\nAuthorization: Bearer {{token}}\nAccept: application/json\n\n## Responses\n# 200\n# Description: Guardrail deleted successfully\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: Forbidden - Authentication successful but insufficient permissions\n# Content-Type: application/json\n# 404\n# Description: Not Found - Resource does not exist\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json", "Format": "http", @@ -851,7 +851,7 @@ "Order": 78, "Title": "Get a guardrail", "Slug": "getguardrail", - "Description": "Get a single guardrail by ID. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "Description": "Get a single guardrail by ID. A workspace-scoped management key reaches only guardrails in its own workspace; any other guardrail returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "Language": "http", "Code": "### Get a guardrail\n# @name getGuardrail\nGET {{host}}/guardrails/{{id}}\nAuthorization: Bearer {{token}}\nAccept: application/json\n\n## Responses\n# 200\n# Description: Guardrail details\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: Forbidden - Authentication successful but insufficient permissions\n# Content-Type: application/json\n# 404\n# Description: Guardrail not found, or the workspace default guardrail has not been configured yet.\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json", "Format": "http", @@ -862,7 +862,7 @@ "Order": 79, "Title": "List guardrails", "Slug": "listguardrails", - "Description": "List all guardrails for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "Description": "List all guardrails for the authenticated user. A workspace-scoped management key lists only its own workspace, which \u0060workspace_id\u0060 defaults to; naming another workspace returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "Language": "csharp", "Code": "using var client = new OpenRouterClient(apiKey);\nvar response = await client.ApiKeys.ListAsync();\n\n// Example response:\n// {\n// \u0022data\u0022: [\n// {\n// \u0022allowed_models\u0022: null,\n// \u0022allowed_providers\u0022: [\n// \u0022openai\u0022,\n// \u0022anthropic\u0022,\n// \u0022google\u0022\n// ],\n// \u0022created_at\u0022: \u00222025-08-24T10:30:00Z\u0022,\n// \u0022description\u0022: \u0022Guardrail for production environment\u0022,\n// \u0022enforce_zdr\u0022: false,\n// \u0022id\u0022: \u0022550e8400-e29b-41d4-a716-446655440000\u0022,\n// \u0022ignored_models\u0022: null,\n// \u0022ignored_providers\u0022: null,\n// \u0022include_byok_in_budgets\u0022: false,\n// \u0022limit_usd\u0022: 100,\n// \u0022name\u0022: \u0022Production Guardrail\u0022,\n// \u0022reset_interval\u0022: \u0022monthly\u0022,\n// \u0022updated_at\u0022: \u00222025-08-24T15:45:00Z\u0022,\n// \u0022workspace_id\u0022: \u00220df9e665-d932-5740-b2c7-b52af166bc11\u0022\n// }\n// ],\n// \u0022total_count\u0022: 1\n// }", "Format": "sdk", @@ -873,7 +873,7 @@ "Order": 80, "Title": "List key assignments for a guardrail", "Slug": "listguardrailkeyassignments", - "Description": "List all API key assignments for a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "Description": "List all API key assignments for a specific guardrail. A workspace-scoped management key reaches only guardrails in its own workspace; any other guardrail returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "Language": "http", "Code": "### List key assignments for a guardrail\n# @name listGuardrailKeyAssignments\nGET {{host}}/guardrails/{{id}}/assignments/keys?offset=0\u0026limit=50\nAuthorization: Bearer {{token}}\nAccept: application/json\n\n## Responses\n# 200\n# Description: List of key assignments\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: Forbidden - Authentication successful but insufficient permissions\n# Content-Type: application/json\n# 404\n# Description: Not Found - Resource does not exist\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json", "Format": "http", @@ -884,7 +884,7 @@ "Order": 81, "Title": "List member assignments for a guardrail", "Slug": "listguardrailmemberassignments", - "Description": "List all organization member assignments for a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "Description": "List all organization member assignments for a specific guardrail. A workspace-scoped management key reaches only guardrails in its own workspace; any other guardrail returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "Language": "http", "Code": "### List member assignments for a guardrail\n# @name listGuardrailMemberAssignments\nGET {{host}}/guardrails/{{id}}/assignments/members?offset=0\u0026limit=50\nAuthorization: Bearer {{token}}\nAccept: application/json\n\n## Responses\n# 200\n# Description: List of member assignments\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: Forbidden - Authentication successful but insufficient permissions\n# Content-Type: application/json\n# 404\n# Description: Not Found - Resource does not exist\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json", "Format": "http", @@ -895,7 +895,7 @@ "Order": 82, "Title": "List all key assignments", "Slug": "listkeyassignments", - "Description": "List all API key guardrail assignments for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "Description": "List all API key guardrail assignments for the authenticated user. A workspace-scoped management key lists only its own workspace, which \u0060workspace_id\u0060 defaults to; naming another workspace returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "Language": "csharp", "Code": "using var client = new OpenRouterClient(apiKey);\nvar response = await client.Guardrails.ListKeyAssignmentsAsync();\n\n// Example response:\n// {\n// \u0022data\u0022: [\n// {\n// \u0022assigned_by\u0022: \u0022user_abc123\u0022,\n// \u0022created_at\u0022: \u00222025-08-24T10:30:00Z\u0022,\n// \u0022guardrail_id\u0022: \u0022550e8400-e29b-41d4-a716-446655440001\u0022,\n// \u0022id\u0022: \u0022550e8400-e29b-41d4-a716-446655440000\u0022,\n// \u0022key_hash\u0022: \u0022c56454edb818d6b14bc0d61c46025f1450b0f4012d12304ab40aacb519fcbc93\u0022,\n// \u0022key_label\u0022: \u0022prod-key\u0022,\n// \u0022key_name\u0022: \u0022Production Key\u0022\n// }\n// ],\n// \u0022total_count\u0022: 1\n// }", "Format": "sdk", @@ -906,7 +906,7 @@ "Order": 83, "Title": "List all member assignments", "Slug": "listmemberassignments", - "Description": "List all organization member guardrail assignments for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "Description": "List all organization member guardrail assignments for the authenticated user. A workspace-scoped management key lists only its own workspace, which \u0060workspace_id\u0060 defaults to; naming another workspace returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "Language": "csharp", "Code": "using var client = new OpenRouterClient(apiKey);\nvar response = await client.Guardrails.ListMemberAssignmentsAsync();\n\n// Example response:\n// {\n// \u0022data\u0022: [\n// {\n// \u0022assigned_by\u0022: \u0022user_abc123\u0022,\n// \u0022created_at\u0022: \u00222025-08-24T10:30:00Z\u0022,\n// \u0022guardrail_id\u0022: \u0022550e8400-e29b-41d4-a716-446655440001\u0022,\n// \u0022id\u0022: \u0022550e8400-e29b-41d4-a716-446655440000\u0022,\n// \u0022organization_id\u0022: \u0022org_xyz789\u0022,\n// \u0022user_id\u0022: \u0022user_abc123\u0022\n// }\n// ],\n// \u0022total_count\u0022: 1\n// }", "Format": "sdk", @@ -917,7 +917,7 @@ "Order": 84, "Title": "Update a guardrail", "Slug": "updateguardrail", - "Description": "Update an existing guardrail, or materialize an unconfigured workspace default guardrail. Collection fields use replace semantics: send the full desired set on every update. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "Description": "Update an existing guardrail, or materialize an unconfigured workspace default guardrail. Collection fields use replace semantics: send the full desired set on every update. A workspace-scoped management key reaches only guardrails in its own workspace; any other guardrail returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "Language": "http", "Code": "### Update a guardrail\n# @name updateGuardrail\nPATCH {{host}}/guardrails/{{id}}\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022description\u0022: \u0022Updated description\u0022,\n \u0022limit_usd\u0022: 75,\n \u0022name\u0022: \u0022Updated Guardrail Name\u0022,\n \u0022reset_interval\u0022: \u0022weekly\u0022\n}\n\n## Responses\n# 200\n# Description: Guardrail updated successfully\n# Content-Type: application/json\n# 400\n# Description: Invalid request, or an attempt to change a workspace default guardrail\u0027s name (which is derived from its workspace and not editable; sending the current name unchanged is accepted).\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: The management key does not have permission for this request, or the update would add a person-name or address sensitive-info filter to a workspace that does not allow it.\n# Content-Type: application/json\n# 404\n# Description: Not Found - Resource does not exist\n# Content-Type: application/json\n# 409\n# Description: Guardrail name conflict \u2014 another guardrail in this workspace already uses the requested name.\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json", "Format": "http", @@ -1049,7 +1049,7 @@ "Order": 96, "Title": "Create an observability destination", "Slug": "createobservabilitydestination", - "Description": "Create a new observability destination. A maximum of 5 destinations per type is allowed. Defaults to the authenticated entity\u0027s default workspace; use the \u0060workspace_id\u0060 body field to scope to a different workspace. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "Description": "Create a new observability destination. A maximum of 5 destinations per type is allowed. Defaults to the authenticated entity\u0027s default workspace, or a workspace-scoped management key\u0027s own workspace; use the \u0060workspace_id\u0060 body field to scope to a different workspace. A workspace-scoped management key can only create in its own workspace; any other \u0060workspace_id\u0060 returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "Language": "csharp", "Code": "using var client = new OpenRouterClient(apiKey);\n\nvar request = global::System.Text.Json.JsonSerializer.Deserialize\u003Cglobal::OpenRouter.DecisionsRequest\u003E(\n @\u0022{\n \u0022\u0022config\u0022\u0022: {\n \u0022\u0022baseUrl\u0022\u0022: \u0022\u0022https://us.cloud.langfuse.com\u0022\u0022,\n \u0022\u0022publicKey\u0022\u0022: \u0022\u0022pk-l...EfGh\u0022\u0022,\n \u0022\u0022secretKey\u0022\u0022: \u0022\u0022sk-l...AbCd\u0022\u0022\n },\n \u0022\u0022name\u0022\u0022: \u0022\u0022Production Langfuse\u0022\u0022,\n \u0022\u0022type\u0022\u0022: \u0022\u0022langfuse\u0022\u0022\n}\u0022)!;\n\nvar response = await client.AlphaDecisions.CreateAsync(\n request: request\n);\n\n// Example response:\n// {\n// \u0022data\u0022: {\n// \u0022api_key_hashes\u0022: null,\n// \u0022broadcast_generation_cost\u0022: false,\n// \u0022broadcast_generation_cost_allocation\u0022: false,\n// \u0022broadcast_generation_identity\u0022: false,\n// \u0022broadcast_generation_request_context\u0022: false,\n// \u0022config\u0022: {\n// \u0022baseUrl\u0022: \u0022https://us.cloud.langfuse.com\u0022,\n// \u0022publicKey\u0022: \u0022pk-l...EfGh\u0022,\n// \u0022secretKey\u0022: \u0022sk-l...AbCd\u0022\n// },\n// \u0022created_at\u0022: \u00222025-08-24T10:30:00Z\u0022,\n// \u0022enabled\u0022: true,\n// \u0022filter_rules\u0022: null,\n// \u0022id\u0022: \u002299999999-aaaa-bbbb-cccc-dddddddddddd\u0022,\n// \u0022name\u0022: \u0022Production Langfuse\u0022,\n// \u0022privacy_mode\u0022: false,\n// \u0022regions\u0022: [\n// \u0022global\u0022\n// ],\n// \u0022sampling_rate\u0022: 1,\n// \u0022type\u0022: \u0022langfuse\u0022,\n// \u0022updated_at\u0022: \u00222025-08-24T15:45:00Z\u0022,\n// \u0022workspace_id\u0022: \u0022550e8400-e29b-41d4-a716-446655440000\u0022\n// }\n// }", "Format": "sdk", @@ -1060,7 +1060,7 @@ "Order": 97, "Title": "Delete an observability destination", "Slug": "deleteobservabilitydestination", - "Description": "Delete an existing observability destination. This performs a soft delete. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "Description": "Delete an existing observability destination. This performs a soft delete. A workspace-scoped management key only reaches destinations in its own workspace; any other \u0060id\u0060 returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "Language": "http", "Code": "### Delete an observability destination\n# @name deleteObservabilityDestination\nDELETE {{host}}/observability/destinations/{{id}}\nAuthorization: Bearer {{token}}\nAccept: application/json\n\n## Responses\n# 200\n# Description: Destination deleted successfully\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: Forbidden - Authentication successful but insufficient permissions\n# Content-Type: application/json\n# 404\n# Description: Not Found - Resource does not exist\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json", "Format": "http", @@ -1071,7 +1071,7 @@ "Order": 98, "Title": "Get an observability destination", "Slug": "getobservabilitydestination", - "Description": "Fetch a single observability destination by its UUID. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "Description": "Fetch a single observability destination by its UUID. A workspace-scoped management key only reaches destinations in its own workspace; any other \u0060id\u0060 returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "Language": "http", "Code": "### Get an observability destination\n# @name getObservabilityDestination\nGET {{host}}/observability/destinations/{{id}}\nAuthorization: Bearer {{token}}\nAccept: application/json\n\n## Responses\n# 200\n# Description: The observability destination\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: Forbidden - Authentication successful but insufficient permissions\n# Content-Type: application/json\n# 404\n# Description: Not Found - Resource does not exist\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json", "Format": "http", @@ -1082,7 +1082,7 @@ "Order": 99, "Title": "List observability destinations", "Slug": "listobservabilitydestinations", - "Description": "List the observability destinations configured for the authenticated entity\u0027s default workspace. Use the \u0060workspace_id\u0060 query parameter to scope the result to a different workspace. Only destinations with stable release status are surfaced \u2014 destinations of other types are excluded. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "Description": "List the observability destinations configured for the authenticated entity\u0027s default workspace, or a workspace-scoped management key\u0027s own workspace. Use the \u0060workspace_id\u0060 query parameter to scope the result to a different workspace. A workspace-scoped management key can only list its own workspace; any other \u0060workspace_id\u0060 returns 403. Only destinations with stable release status are surfaced \u2014 destinations of other types are excluded. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "Language": "csharp", "Code": "using var client = new OpenRouterClient(apiKey);\nvar response = await client.ApiKeys.ListAsync();\n\n// Example response:\n// {\n// \u0022data\u0022: [\n// {\n// \u0022api_key_hashes\u0022: null,\n// \u0022broadcast_generation_cost\u0022: false,\n// \u0022broadcast_generation_cost_allocation\u0022: false,\n// \u0022broadcast_generation_identity\u0022: false,\n// \u0022broadcast_generation_request_context\u0022: false,\n// \u0022config\u0022: {\n// \u0022baseUrl\u0022: \u0022https://us.cloud.langfuse.com\u0022,\n// \u0022publicKey\u0022: \u0022pk-l...EfGh\u0022,\n// \u0022secretKey\u0022: \u0022sk-l...AbCd\u0022\n// },\n// \u0022created_at\u0022: \u00222025-08-24T10:30:00Z\u0022,\n// \u0022enabled\u0022: true,\n// \u0022filter_rules\u0022: null,\n// \u0022id\u0022: \u002299999999-aaaa-bbbb-cccc-dddddddddddd\u0022,\n// \u0022name\u0022: \u0022Production Langfuse\u0022,\n// \u0022privacy_mode\u0022: false,\n// \u0022regions\u0022: [\n// \u0022global\u0022\n// ],\n// \u0022sampling_rate\u0022: 1,\n// \u0022type\u0022: \u0022langfuse\u0022,\n// \u0022updated_at\u0022: \u00222025-08-24T15:45:00Z\u0022,\n// \u0022workspace_id\u0022: \u0022550e8400-e29b-41d4-a716-446655440000\u0022\n// }\n// ],\n// \u0022total_count\u0022: 1\n// }", "Format": "sdk", @@ -1093,7 +1093,7 @@ "Order": 100, "Title": "Update an observability destination", "Slug": "updateobservabilitydestination", - "Description": "Update an existing observability destination. Only the fields provided in the request body are updated. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "Description": "Update an existing observability destination. Only the fields provided in the request body are updated. A workspace-scoped management key only reaches destinations in its own workspace; any other \u0060id\u0060 returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "Language": "http", "Code": "### Update an observability destination\n# @name updateObservabilityDestination\nPATCH {{host}}/observability/destinations/{{id}}\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022enabled\u0022: false,\n \u0022name\u0022: \u0022Updated Langfuse\u0022\n}\n\n## Responses\n# 200\n# Description: Destination updated successfully\n# Content-Type: application/json\n# 400\n# Description: Bad Request - Invalid request parameters or malformed input\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: Forbidden - Authentication successful but insufficient permissions\n# Content-Type: application/json\n# 404\n# Description: Not Found - Resource does not exist\n# Content-Type: application/json\n# 409\n# Description: Conflict - Resource conflict or concurrent modification\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json", "Format": "http", diff --git a/src/libs/OpenRouter/openapi.yaml b/src/libs/OpenRouter/openapi.yaml index e25db5ad3..7c7532b09 100644 --- a/src/libs/OpenRouter/openapi.yaml +++ b/src/libs/OpenRouter/openapi.yaml @@ -10560,7 +10560,7 @@ }, "properties": { "allowed_api_key_hashes": { - "description": "Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) that may use this credential. `null` means no restriction.", + "description": "Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) that may use this credential. `null` means no restriction. A workspace-scoped management key can only name API keys in its own workspace.", "example": [ "f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943" ], @@ -10900,14 +10900,13 @@ "x-speakeasy-unknown-values": "allow" }, "workspace_id": { - "description": "Workspace the policy belongs to", + "description": "Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.", "example": "0df9e665-d932-5740-b2c7-b52af166bc11", "format": "uuid", "type": "string" } }, "required": [ - "workspace_id", "policy_type", "policy_id", "assigned", @@ -14965,7 +14964,7 @@ "type": "string" }, "workspace_id": { - "description": "Workspace the policy belongs to", + "description": "Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.", "example": "0df9e665-d932-5740-b2c7-b52af166bc11", "format": "uuid", "type": "string" @@ -14974,8 +14973,7 @@ "required": [ "name", "policy_type", - "config", - "workspace_id" + "config" ], "type": "object" }, @@ -14987,7 +14985,7 @@ }, "properties": { "allowed_api_key_hashes": { - "description": "Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) that may use this credential. `null` means no restriction. Must contain at least one hash if provided. Hashes that do not belong to your account return a 400.", + "description": "Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) that may use this credential. `null` means no restriction. Must contain at least one hash if provided. Hashes that do not belong to your account return a 400; for a workspace-scoped management key, so do hashes of API keys outside its own workspace.", "example": [ "f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943" ], @@ -15088,7 +15086,7 @@ "$ref": "#/components/schemas/BYOKProviderSlug" }, "workspace_id": { - "description": "Optional workspace ID to scope the credential to. When omitted, the credential is created in the account's default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly.", + "description": "Optional workspace ID to scope the credential to. When omitted, a workspace-scoped management key creates it in its own workspace. An organization management key creates it in the account's default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly.", "example": "550e8400-e29b-41d4-a716-446655440000", "format": "uuid", "type": "string" @@ -15485,7 +15483,7 @@ "$ref": "#/components/schemas/GuardrailInterval" }, "workspace_id": { - "description": "The workspace to create the guardrail in. When omitted, the guardrail is created in the default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly. This only places the guardrail in the workspace; the created guardrail enforces nothing for that workspace's traffic until it is assigned to API keys or members. To restrict all traffic in a workspace, update the workspace's default guardrail instead.", + "description": "The workspace to create the guardrail in. When omitted, an organization management key creates the guardrail in the default workspace (a 400 if that default has been deleted, so pass `workspace_id` explicitly) and a workspace-scoped key creates it in its own workspace. A workspace-scoped key gets a 403 for any other workspace. This only places the guardrail in the workspace; the created guardrail enforces nothing for that workspace's traffic until it is assigned to API keys or members. To restrict all traffic in a workspace, update the workspace's default guardrail instead.", "example": "0df9e665-d932-5740-b2c7-b52af166bc11", "format": "uuid", "type": "string" @@ -15623,7 +15621,7 @@ "type": "string" }, "workspace_id": { - "description": "Workspace the policy belongs to", + "description": "Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.", "example": "0df9e665-d932-5740-b2c7-b52af166bc11", "format": "uuid", "type": "string" @@ -15632,8 +15630,7 @@ "required": [ "name", "policy_type", - "config", - "workspace_id" + "config" ], "type": "object" }, @@ -15708,7 +15705,7 @@ "type": "string" }, "workspace_id": { - "description": "Workspace the policy belongs to", + "description": "Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.", "example": "0df9e665-d932-5740-b2c7-b52af166bc11", "format": "uuid", "type": "string" @@ -15717,8 +15714,7 @@ "required": [ "name", "policy_type", - "config", - "workspace_id" + "config" ], "type": "object" }, @@ -15734,7 +15730,7 @@ }, "properties": { "api_key_hashes": { - "description": "Optional allowlist of OpenRouter API key hashes whose traffic is forwarded. `null` or omitted means all keys. Must contain at least one hash if provided.", + "description": "Optional allowlist of OpenRouter API key hashes whose traffic is forwarded. `null` or omitted means all keys. Must contain at least one hash if provided. A workspace-scoped management key can only name API keys in its own workspace; any other hash returns 400.", "example": null, "items": { "type": "string" @@ -15845,7 +15841,7 @@ "x-speakeasy-unknown-values": "allow" }, "workspace_id": { - "description": "Optional workspace ID. Defaults to the authenticated entity's default workspace.", + "description": "Optional workspace ID. Defaults to the authenticated entity's default workspace, or a workspace-scoped management key's own workspace.", "example": "550e8400-e29b-41d4-a716-446655440000", "format": "uuid", "type": "string" @@ -16372,6 +16368,41 @@ ], "type": "object" }, + "CreditPurchasePaymentRequired": { + "properties": { + "challengeId": { + "type": "string" + }, + "detail": { + "type": "string" + }, + "setup": { + "description": "The agent setup guide, `GET /api/v1/credits/purchases/setup`.", + "example": "https://openrouter.ai/api/v1/credits/purchases/setup", + "type": "string" + }, + "status": { + "enum": [ + 402 + ], + "type": "number" + }, + "title": { + "type": "string" + }, + "type": { + "example": "https://paymentauth.org/problems/payment-required", + "type": "string" + } + }, + "required": [ + "type", + "title", + "status", + "setup" + ], + "type": "object" + }, "CreditPurchaseResponse": { "properties": { "data": { @@ -18287,7 +18318,7 @@ }, "ExtractionAsset": { "additionalProperties": false, - "description": "An image or PDF sent once and referenced by its key in the `assets` map. `data_base64` is the file in standard base64 with no `data:` prefix. PDF is read by document models only.", + "description": "An image or PDF sent once and referenced by its key in the `assets` map. `data_base64` is the file in standard base64 with no `data:` prefix. Which formats are read is model-specific: a format the model cannot read fails with a 400.", "properties": { "data_base64": { "minLength": 1, @@ -18299,6 +18330,7 @@ "png", "jpg", "jpeg", + "webp", "pdf" ], "type": "string", @@ -18345,7 +18377,7 @@ "x-speakeasy-unknown-values": "allow" }, "span": { - "description": "Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once.", + "description": "Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once. Absent for an answer that has no offsets in the state text, for example a null answer, one read from an image or a document, or one the provider returned without offsets that delimit it.", "items": { "type": "integer" }, @@ -18396,6 +18428,10 @@ "date" ], "type": "string" + }, + "unit": { + "description": "Unit label for the value.", + "type": "string" } }, "required": [ @@ -18429,7 +18465,7 @@ "x-speakeasy-unknown-values": "allow" }, "span": { - "description": "Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once.", + "description": "Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once. Absent for an answer that has no offsets in the state text, for example a null answer, one read from an image or a document, or one the provider returned without offsets that delimit it.", "items": { "type": "integer" }, @@ -18480,6 +18516,10 @@ "datetime" ], "type": "string" + }, + "unit": { + "description": "Unit label for the value.", + "type": "string" } }, "required": [ @@ -18514,7 +18554,7 @@ "x-speakeasy-unknown-values": "allow" }, "span": { - "description": "Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once.", + "description": "Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once. Absent for an answer that has no offsets in the state text, for example a null answer, one read from an image or a document, or one the provider returned without offsets that delimit it.", "items": { "type": "integer" }, @@ -18565,6 +18605,7 @@ "type": "string" }, "integer": { + "description": "Whole numbers only.", "type": "boolean" }, "null_threshold": { @@ -18754,7 +18795,7 @@ ] }, "null_threshold": { - "description": "Probability of null above which `value` is null. Default 0.5.", + "description": "Not read on this field type: no model takes a null threshold here, and a request that sets it fails with a 400.", "format": "double", "maximum": 1, "minimum": 0, @@ -18796,6 +18837,7 @@ "type": "string" }, "unit": { + "description": "Unit label for the value.", "type": "string" } }, @@ -18989,7 +19031,7 @@ ] }, "null_threshold": { - "description": "Probability of null above which `value` is null. Default 0.5.", + "description": "Not read on this field type: no model takes a null threshold here, and a request that sets it fails with a 400.", "format": "double", "maximum": 1, "minimum": 0, @@ -19031,6 +19073,7 @@ "type": "string" }, "unit": { + "description": "Unit label for the value.", "type": "string" } }, @@ -19179,6 +19222,7 @@ "x-speakeasy-unknown-values": "allow" }, "spans": { + "description": "One span per item of `value`, in the same order; null for an item that has no offsets in the state text: one read from an image or a document, or one the provider returned without offsets that delimit it.", "items": { "description": "Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once.", "items": { @@ -19186,7 +19230,10 @@ }, "maxItems": 2, "minItems": 2, - "type": "array" + "type": [ + "array", + "null" + ] }, "type": "array" }, @@ -19238,6 +19285,10 @@ "description": "What the field should contain.", "type": "string" }, + "integer": { + "description": "Whole numbers only. Lists of numbers only.", + "type": "boolean" + }, "items": { "enum": [ "text", @@ -19259,6 +19310,10 @@ "list" ], "type": "string" + }, + "unit": { + "description": "Unit label for the value.", + "type": "string" } }, "required": [ @@ -19294,7 +19349,7 @@ "x-speakeasy-unknown-values": "allow" }, "span": { - "description": "Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once.", + "description": "Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once. Absent for an answer that has no offsets in the state text, for example a null answer, one read from an image or a document, or one the provider returned without offsets that delimit it.", "items": { "type": "integer" }, @@ -19341,6 +19396,7 @@ "type": "string" }, "integer": { + "description": "Whole numbers only.", "type": "boolean" }, "null_threshold": { @@ -19357,6 +19413,7 @@ "type": "string" }, "unit": { + "description": "Unit label for the value.", "type": "string" } }, @@ -19409,7 +19466,7 @@ "additionalProperties": { "$ref": "#/components/schemas/ExtractionAsset" }, - "description": "Assets keyed by reference string. Write a reference wherever the asset belongs in `state` or a field `instructions`; every asset must be referenced at least once. A `state` that is exactly the sole asset's key carries no text of its own and is read as file-only. A model that reads either text or a document per request, not both (ScaleDown Extract with a PDF), needs that form: any other text around the key is state text and is rejected with 400.", + "description": "Assets keyed by reference string. Write a reference wherever the asset belongs in `state` or a field `instructions`; every asset must be referenced at least once, unless `state` is empty or omitted, in which case the assets are read without a reference. A `state` that is exactly the sole asset's key carries no text of its own and is read as file-only. A model that reads either text or a document per request, not both (ScaleDown Extract with a PDF), takes that form or an empty or omitted `state`: any other text around the key is state text and is rejected with 400.", "type": "object" }, "fields": { @@ -19487,7 +19544,8 @@ "type": "string" }, "state": { - "description": "The text to read from. May be empty only when the request carries image assets.", + "default": "", + "description": "The text to read from. May be empty or omitted only when the request carries assets, which are then read without being referenced by key.", "type": "string" }, "trace": { @@ -19500,7 +19558,6 @@ }, "required": [ "model", - "state", "fields" ], "type": "object" @@ -19645,7 +19702,7 @@ "x-speakeasy-unknown-values": "allow" }, "span": { - "description": "Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once.", + "description": "Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once. Absent for an answer that has no offsets in the state text, for example a null answer, one read from an image or a document, or one the provider returned without offsets that delimit it.", "items": { "type": "integer" }, @@ -19696,6 +19753,10 @@ "text" ], "type": "string" + }, + "unit": { + "description": "Unit label for the value.", + "type": "string" } }, "required": [ @@ -19729,7 +19790,7 @@ "x-speakeasy-unknown-values": "allow" }, "span": { - "description": "Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once.", + "description": "Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once. Absent for an answer that has no offsets in the state text, for example a null answer, one read from an image or a document, or one the provider returned without offsets that delimit it.", "items": { "type": "integer" }, @@ -19780,6 +19841,10 @@ "time" ], "type": "string" + }, + "unit": { + "description": "Unit label for the value.", + "type": "string" } }, "required": [ @@ -24056,10 +24121,12 @@ "enum": [ "1:1", "1:2", + "1:3", "1:4", "1:8", "2:1", "2:3", + "3:1", "2.35:1", "3:2", "3:4", @@ -45432,6 +45499,7 @@ "bedrock-xai-responses-v1", "xai-responses-v1", "meta-responses-v1", + "google-vertex-responses-v1", "openrouter-stealth-v1", "anthropic-claude-v1", "google-gemini-v1", @@ -51787,7 +51855,7 @@ "type": "array" }, "workspace_id": { - "description": "Workspace the policy belongs to", + "description": "Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.", "example": "0df9e665-d932-5740-b2c7-b52af166bc11", "format": "uuid", "type": "string" @@ -51795,8 +51863,7 @@ }, "required": [ "name", - "config", - "workspace_id" + "config" ], "type": "object" }, @@ -51807,7 +51874,7 @@ }, "properties": { "allowed_api_key_hashes": { - "description": "Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) that may use this credential. `null` clears the restriction. Must contain at least one hash if provided. Hashes that do not belong to your account return a 400.", + "description": "Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) that may use this credential. `null` clears the restriction. Must contain at least one hash if provided. Hashes that do not belong to your account return a 400; for a workspace-scoped management key, so do hashes of API keys outside its own workspace.", "example": [ "f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943" ], @@ -52321,7 +52388,7 @@ "type": "array" }, "workspace_id": { - "description": "Workspace the policy belongs to", + "description": "Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.", "example": "0df9e665-d932-5740-b2c7-b52af166bc11", "format": "uuid", "type": "string" @@ -52329,8 +52396,7 @@ }, "required": [ "name", - "config", - "workspace_id" + "config" ], "type": "object" }, @@ -52399,7 +52465,7 @@ "type": "array" }, "workspace_id": { - "description": "Workspace the policy belongs to", + "description": "Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.", "example": "0df9e665-d932-5740-b2c7-b52af166bc11", "format": "uuid", "type": "string" @@ -52407,8 +52473,7 @@ }, "required": [ "name", - "config", - "workspace_id" + "config" ], "type": "object" }, @@ -52419,7 +52484,7 @@ }, "properties": { "api_key_hashes": { - "description": "Optional allowlist of OpenRouter API key hashes. `null` clears the filter (all keys). Omitting leaves the current value. Must contain at least one hash if provided.", + "description": "Optional allowlist of OpenRouter API key hashes. `null` clears the filter (all keys). Omitting leaves the current value, including any API key from another workspace that an organization-scoped key attached. Must contain at least one hash if provided. A workspace-scoped management key can only name API keys in its own workspace; any other hash returns 400.", "example": null, "items": { "type": "string" @@ -55767,7 +55832,7 @@ "paths": { "/activity": { "get": { - "description": "Returns user activity data grouped by endpoint for the last 30 (completed) UTC days. Pass `workspace_id` to scope the response to a single workspace. Pass `group_by=workspace` to split each row per workspace and include `workspace_id` on every item; by default rows are aggregated across workspaces and `workspace_id` is not returned. Activity recorded before workspace resolution existed is permanently attributed to the account default workspace (no backfill is possible). [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "description": "Returns user activity data grouped by endpoint for the last 30 (completed) UTC days. Pass `workspace_id` to scope the response to a single workspace. Pass `group_by=workspace` to split each row per workspace and include `workspace_id` on every item; by default rows are aggregated across workspaces and `workspace_id` is not returned. Activity recorded before workspace resolution existed is permanently attributed to the account default workspace (no backfill is possible). A workspace-scoped management key needs `activity:view_all` on its own workspace and reads only that workspace: an omitted `workspace_id` defaults to it, a `workspace_id` naming any other workspace returns 403, `api_key_hash` and `user_id` resolve only keys and members of that workspace, and legacy activity with no workspace is excluded (including for the default workspace). [Management key](/docs/guides/overview/auth/management-api-keys) required.", "operationId": "getUserActivity", "parameters": [ { @@ -55959,7 +56024,7 @@ }, "/analytics/meta": { "get": { - "description": "Returns the available metrics, dimensions, filter operators, and granularities for the analytics query endpoint. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "description": "Returns the available metrics, dimensions, filter operators, and granularities for the analytics query endpoint. Workspace-scoped management keys are accepted. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "operationId": "getAnalyticsMeta", "responses": { "200": { @@ -56186,7 +56251,7 @@ }, "/analytics/query": { "post": { - "description": "Execute an analytics query with specified metrics, dimensions, filters, and time range. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "description": "Execute an analytics query with specified metrics, dimensions, filters, and time range. A workspace-scoped management key needs `activity:view_all` on its own workspace and reads only that workspace: it is refused a `workspace` filter naming another workspace, it excludes legacy rows with no workspace (including for the default workspace), and possible-cache metrics such as `possible_cached_tokens` return 400. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "operationId": "queryAnalytics", "requestBody": { "content": { @@ -59270,7 +59335,7 @@ }, "/byok": { "get": { - "description": "List the bring-your-own-key (BYOK) provider credentials for the authenticated entity's default workspace. Use the `workspace_id` query parameter to scope the result to a different workspace, or the `provider` query parameter to filter by upstream provider. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "description": "List the bring-your-own-key (BYOK) provider credentials for the authenticated entity's default workspace, or a workspace-scoped management key's own workspace. Use the `workspace_id` query parameter to scope the result to a different workspace, or the `provider` query parameter to filter by upstream provider. A workspace-scoped management key can only list its own workspace; any other `workspace_id` returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "operationId": "listBYOKKeys", "parameters": [ { @@ -59304,12 +59369,12 @@ } }, { - "description": "Optional workspace ID to filter by. When omitted, resolves to the account’s default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly.", + "description": "Optional workspace ID to filter by. When omitted, a workspace-scoped management key uses its own workspace. An organization management key uses the account’s default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly.", "in": "query", "name": "workspace_id", "required": false, "schema": { - "description": "Optional workspace ID to filter by. When omitted, resolves to the account’s default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly.", + "description": "Optional workspace ID to filter by. When omitted, a workspace-scoped management key uses its own workspace. An organization management key uses the account’s default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly.", "example": "550e8400-e29b-41d4-a716-446655440000", "format": "uuid", "type": "string" @@ -59578,7 +59643,7 @@ } }, "post": { - "description": "Create a new bring-your-own-key (BYOK) provider credential. The raw key is encrypted at rest and never returned in API responses. When `workspace_id` is omitted, the credential is created in the default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly. Treat the raw key as write-only; it is never returned after creation. Use `allowed_api_key_hashes` to restrict the credential to specific OpenRouter API keys. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "description": "Create a new bring-your-own-key (BYOK) provider credential. The raw key is encrypted at rest and never returned in API responses. When `workspace_id` is omitted, the credential is created in the default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly. A workspace-scoped management key creates the credential in its own workspace when `workspace_id` is omitted, and any other `workspace_id` returns 403. Treat the raw key as write-only; it is never returned after creation. Use `allowed_api_key_hashes` to restrict the credential to specific OpenRouter API keys. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "operationId": "createBYOKKey", "requestBody": { "content": { @@ -59712,7 +59777,7 @@ }, "/byok/{id}": { "delete": { - "description": "Delete (soft-delete) a bring-your-own-key (BYOK) provider credential by its `id`. The encrypted key material is wiped and the record is marked as deleted. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "description": "Delete (soft-delete) a bring-your-own-key (BYOK) provider credential by its `id`. The encrypted key material is wiped and the record is marked as deleted. A workspace-scoped management key only reaches credentials in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "operationId": "deleteBYOKKey", "parameters": [ { @@ -59814,7 +59879,7 @@ "x-speakeasy-name-override": "delete" }, "get": { - "description": "Get a single bring-your-own-key (BYOK) provider credential by its `id`. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "description": "Get a single bring-your-own-key (BYOK) provider credential by its `id`. A workspace-scoped management key only reaches credentials in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "operationId": "getBYOKKey", "parameters": [ { @@ -59933,7 +59998,7 @@ "x-speakeasy-name-override": "get" }, "patch": { - "description": "Update an existing bring-your-own-key (BYOK) provider credential by its `id`. Include the `key` field to rotate the raw provider API key in-place (the previous key material is overwritten). Use `allowed_api_key_hashes` to restrict the credential to specific OpenRouter API keys (`null` clears the restriction). [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "description": "Update an existing bring-your-own-key (BYOK) provider credential by its `id`. Include the `key` field to rotate the raw provider API key in-place (the previous key material is overwritten). Use `allowed_api_key_hashes` to restrict the credential to specific OpenRouter API keys (`null` clears the restriction). A workspace-scoped management key only reaches credentials in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "operationId": "updateBYOKKey", "parameters": [ { @@ -61573,8 +61638,32 @@ ] }, "/credits/purchases": { + "get": { + "operationId": "getCreditPurchasesSetupGuide", + "responses": { + "200": { + "content": { + "text/markdown": { + "schema": { + "type": "string" + } + } + }, + "description": "Markdown document, readable without a key." + } + }, + "security": [], + "summary": "Agent setup guide, served at the purchases collection", + "tags": [ + "Credits" + ], + "x-fern-ignore": true, + "x-hidden": true, + "x-speakeasy-ignore": true, + "parameters": [] + }, "post": { - "description": "Starts an agent credit purchase paid with a Machine Payments Protocol (MPP) credential on Tempo. The first call answers `402` with a `WWW-Authenticate: Payment ...` challenge; retry the same request, same `Idempotency-Key`, with the signed credential in `Payment-Authorization: Payment ...` (or in `Authorization: Payment ...` when the management key is sent as `X-Api-Key`). A paid request answers `202`: the transfer was broadcast and Stripe is still screening the payment, so credits arrive asynchronously. Poll the URL in the `Location` header, `GET /api/v1/credits/purchases/{id}`, until `status` is `credited` or `failed`.", + "description": "Starts an agent credit purchase paid with a Machine Payments Protocol (MPP) credential: USDC on Tempo, or a card when one is offered. The first call answers `402` with one `WWW-Authenticate: Payment ...` challenge per payment option; pay one of them and retry the same request, same `Idempotency-Key`, with the signed credential in `Payment-Authorization: Payment ...` (or in `Authorization: Payment ...` when the management key is sent as `X-Api-Key`). A paid request answers `202`: the transfer was broadcast or the card was charged, and the payment is still being confirmed, so credits arrive asynchronously. Poll the URL in the `Location` header, `GET /api/v1/credits/purchases/{id}`, until `status` is `credited` or `failed`.", "operationId": "createCreditsPurchases", "parameters": [ { @@ -61620,6 +61709,15 @@ "example": "/api/v1/credits/purchases/pi_3PqXyZ2eZvKYlo2C0abc1234", "type": "string" } + }, + "Payment-Receipt": { + "description": "The payment reference, on the request that paid: the Tempo transaction hash for USDC, or the PaymentIntent ID for a card. Absent when an earlier request already paid this purchase.", + "required": false, + "schema": { + "description": "The payment reference, on the request that paid: the Tempo transaction hash for USDC, or the PaymentIntent ID for a card. Absent when an earlier request already paid this purchase.", + "example": "0x8f3c2b1a9e7d6c5b4a39281706f5e4d3c2b1a09f8e7d6c5b4a39281706f5e4d3", + "type": "string" + } } } }, @@ -61657,13 +61755,32 @@ }, "402": { "content": { - "application/json": { + "application/problem+json": { "schema": { - "$ref": "#/components/schemas/CreditPurchaseResponse" + "$ref": "#/components/schemas/CreditPurchasePaymentRequired" } } }, - "description": "Payment required. An unpaid request carries the MPP challenge in `WWW-Authenticate`, and a `Link: rel=\"help\"` header plus a `setup` field pointing at the agent setup guide, `GET /api/v1/credits/purchases/setup`." + "description": "Payment required. An unpaid request carries the MPP challenge in `WWW-Authenticate`, and a `Link: rel=\"help\"` header plus a `setup` field pointing at the agent setup guide, `GET /api/v1/credits/purchases/setup`.", + "headers": { + "Link": { + "description": "The agent setup guide.", + "required": true, + "schema": { + "description": "The agent setup guide.", + "example": "; rel=\"help\"", + "type": "string" + } + }, + "WWW-Authenticate": { + "description": "The MPP challenges, one per way to pay: `Payment id=\"...\", method=\"tempo\", intent=\"charge\", ...` for USDC on Tempo and, when cards are offered, `Payment id=\"...\", method=\"stripe\", intent=\"charge\", ...` for a card. Pay one of them.", + "required": true, + "schema": { + "description": "The MPP challenges, one per way to pay: `Payment id=\"...\", method=\"tempo\", intent=\"charge\", ...` for USDC on Tempo and, when cards are offered, `Payment id=\"...\", method=\"stripe\", intent=\"charge\", ...` for a card. Pay one of them.", + "type": "string" + } + } + } }, "403": { "content": { @@ -61966,10 +62083,14 @@ "description": "Markdown document, readable without a key." } }, + "security": [], "summary": "Agent setup guide for buying credits with a machine payment", "tags": [ "Credits" ], + "x-fern-ignore": true, + "x-hidden": true, + "x-speakeasy-ignore": true, "parameters": [] }, "parameters": [ @@ -61999,10 +62120,14 @@ "description": "Markdown document, readable without a key." } }, + "security": [], "summary": "Agent skill for buying OpenRouter credits", "tags": [ "Credits" ], + "x-fern-ignore": true, + "x-hidden": true, + "x-speakeasy-ignore": true, "parameters": [] }, "parameters": [ @@ -63644,6 +63769,22 @@ }, "description": "Returns a list of endpoints" }, + "401": { + "content": { + "application/json": { + "example": { + "error": { + "code": 401, + "message": "Missing Authentication header" + } + }, + "schema": { + "$ref": "#/components/schemas/UnauthorizedResponse" + } + } + }, + "description": "Unauthorized - Authentication required or invalid credentials" + }, "403": { "content": { "application/json": { @@ -66100,7 +66241,7 @@ }, "/guardrails": { "get": { - "description": "List all guardrails for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "description": "List all guardrails for the authenticated user. A workspace-scoped management key lists only its own workspace, which `workspace_id` defaults to; naming another workspace returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "operationId": "listGuardrails", "parameters": [ { @@ -66134,12 +66275,12 @@ } }, { - "description": "Filter guardrails by workspace ID. By default, guardrails in the default workspace are returned.", + "description": "Filter guardrails by workspace ID. When omitted, an organization management key gets guardrails in the default workspace and a workspace-scoped key gets guardrails in its own workspace. A workspace-scoped key gets 403 for any other workspace.", "in": "query", "name": "workspace_id", "required": false, "schema": { - "description": "Filter guardrails by workspace ID. By default, guardrails in the default workspace are returned.", + "description": "Filter guardrails by workspace ID. When omitted, an organization management key gets guardrails in the default workspace and a workspace-scoped key gets guardrails in its own workspace. A workspace-scoped key gets 403 for any other workspace.", "example": "0df9e665-d932-5740-b2c7-b52af166bc11", "format": "uuid", "type": "string" @@ -66272,7 +66413,7 @@ } }, "post": { - "description": "Create a new guardrail for the authenticated user. A newly created guardrail enforces nothing until it is assigned to API keys or organization members; `workspace_id` places the guardrail in a workspace but does not apply it to that workspace's traffic. To restrict all traffic in a workspace, update the workspace's default guardrail instead. Set `allowed_data_regions` to enforce [In-Region Routing](/docs/guides/features/in-region-routing#enforcing-in-region-routing-with-guardrails): governed requests must arrive through one of the listed OpenRouter domains and are rejected with a 403 otherwise. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "description": "Create a new guardrail for the authenticated user. A newly created guardrail enforces nothing until it is assigned to API keys or organization members; `workspace_id` places the guardrail in a workspace but does not apply it to that workspace's traffic. To restrict all traffic in a workspace, update the workspace's default guardrail instead. Set `allowed_data_regions` to enforce [In-Region Routing](/docs/guides/features/in-region-routing#enforcing-in-region-routing-with-guardrails): governed requests must arrive through one of the listed OpenRouter domains and are rejected with a 403 otherwise. A workspace-scoped management key creates in its own workspace, which `workspace_id` defaults to; naming another workspace returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "operationId": "createGuardrail", "requestBody": { "content": { @@ -66430,7 +66571,7 @@ }, "/guardrails/{id}": { "delete": { - "description": "Delete an existing guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "description": "Delete an existing guardrail. A workspace-scoped management key reaches only guardrails in its own workspace; any other guardrail returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "operationId": "deleteGuardrail", "parameters": [ { @@ -66532,7 +66673,7 @@ "x-speakeasy-name-override": "delete" }, "get": { - "description": "Get a single guardrail by ID. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "description": "Get a single guardrail by ID. A workspace-scoped management key reaches only guardrails in its own workspace; any other guardrail returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "operationId": "getGuardrail", "parameters": [ { @@ -66653,7 +66794,7 @@ "x-speakeasy-name-override": "get" }, "patch": { - "description": "Update an existing guardrail, or materialize an unconfigured workspace default guardrail. Collection fields use replace semantics: send the full desired set on every update. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "description": "Update an existing guardrail, or materialize an unconfigured workspace default guardrail. Collection fields use replace semantics: send the full desired set on every update. A workspace-scoped management key reaches only guardrails in its own workspace; any other guardrail returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "operationId": "updateGuardrail", "parameters": [ { @@ -66838,7 +66979,7 @@ }, "/guardrails/{id}/assignments/keys": { "get": { - "description": "List all API key assignments for a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "description": "List all API key assignments for a specific guardrail. A workspace-scoped management key reaches only guardrails in its own workspace; any other guardrail returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "operationId": "listGuardrailKeyAssignments", "parameters": [ { @@ -66999,7 +67140,7 @@ } }, "post": { - "description": "Assign multiple API keys to a specific guardrail. A key may hold at most one guardrail; assigning replaces any existing assignment. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "description": "Assign multiple API keys to a specific guardrail. A key may hold at most one guardrail; assigning replaces any existing assignment. A workspace-scoped management key reaches only guardrails in its own workspace (any other returns 404), and a batch naming an unknown or out-of-workspace key hash is rejected with 400 before anything changes. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "operationId": "bulkAssignKeysToGuardrail", "parameters": [ { @@ -67145,7 +67286,7 @@ }, "/guardrails/{id}/assignments/keys/remove": { "post": { - "description": "Unassign multiple API keys from a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "description": "Unassign multiple API keys from a specific guardrail. A workspace-scoped management key reaches only guardrails in its own workspace (any other returns 404), and a batch naming an unknown or out-of-workspace key hash is rejected with 400 before anything changes. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "operationId": "bulkUnassignKeysFromGuardrail", "parameters": [ { @@ -67291,7 +67432,7 @@ }, "/guardrails/{id}/assignments/members": { "get": { - "description": "List all organization member assignments for a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "description": "List all organization member assignments for a specific guardrail. A workspace-scoped management key reaches only guardrails in its own workspace; any other guardrail returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "operationId": "listGuardrailMemberAssignments", "parameters": [ { @@ -67451,7 +67592,7 @@ } }, "post": { - "description": "Assign multiple organization members to a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "description": "Assign multiple organization members to a specific guardrail. Requires an organization-scoped management key; workspace-scoped management keys return 403. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "operationId": "bulkAssignMembersToGuardrail", "parameters": [ { @@ -67598,7 +67739,7 @@ }, "/guardrails/{id}/assignments/members/remove": { "post": { - "description": "Unassign multiple organization members from a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "description": "Unassign multiple organization members from a specific guardrail. Requires an organization-scoped management key; workspace-scoped management keys return 403. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "operationId": "bulkUnassignMembersFromGuardrail", "parameters": [ { @@ -67745,7 +67886,7 @@ }, "/guardrails/assignments/keys": { "get": { - "description": "List all API key guardrail assignments for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "description": "List all API key guardrail assignments for the authenticated user. A workspace-scoped management key lists only its own workspace, which `workspace_id` defaults to; naming another workspace returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "operationId": "listKeyAssignments", "parameters": [ { @@ -67777,6 +67918,18 @@ "minimum": 1, "type": "integer" } + }, + { + "description": "Only list assignments of guardrails in this workspace. When omitted, an organization management key lists every workspace and a workspace-scoped key lists its own workspace. A workspace-scoped key gets 403 for any other workspace.", + "in": "query", + "name": "workspace_id", + "required": false, + "schema": { + "description": "Only list assignments of guardrails in this workspace. When omitted, an organization management key lists every workspace and a workspace-scoped key lists its own workspace. A workspace-scoped key gets 403 for any other workspace.", + "example": "0df9e665-d932-5740-b2c7-b52af166bc11", + "format": "uuid", + "type": "string" + } } ], "responses": { @@ -67923,7 +68076,7 @@ }, "/guardrails/assignments/members": { "get": { - "description": "List all organization member guardrail assignments for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "description": "List all organization member guardrail assignments for the authenticated user. A workspace-scoped management key lists only its own workspace, which `workspace_id` defaults to; naming another workspace returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "operationId": "listMemberAssignments", "parameters": [ { @@ -67955,6 +68108,18 @@ "minimum": 1, "type": "integer" } + }, + { + "description": "Only list assignments of guardrails in this workspace. When omitted, an organization management key lists every workspace and a workspace-scoped key lists its own workspace. A workspace-scoped key gets 403 for any other workspace.", + "in": "query", + "name": "workspace_id", + "required": false, + "schema": { + "description": "Only list assignments of guardrails in this workspace. When omitted, an organization management key lists every workspace and a workspace-scoped key lists its own workspace. A workspace-scoped key gets 403 for any other workspace.", + "example": "0df9e665-d932-5740-b2c7-b52af166bc11", + "format": "uuid", + "type": "string" + } } ], "responses": { @@ -68688,12 +68853,12 @@ } }, { - "description": "Workspace the policy belongs to", + "description": "Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.", "in": "query", "name": "workspace_id", - "required": true, + "required": false, "schema": { - "description": "Workspace the policy belongs to", + "description": "Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.", "example": "0df9e665-d932-5740-b2c7-b52af166bc11", "format": "uuid", "type": "string" @@ -68987,12 +69152,12 @@ } }, { - "description": "Workspace the policy belongs to", + "description": "Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.", "in": "query", "name": "workspace_id", - "required": true, + "required": false, "schema": { - "description": "Workspace the policy belongs to", + "description": "Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.", "example": "0df9e665-d932-5740-b2c7-b52af166bc11", "format": "uuid", "type": "string" @@ -69299,12 +69464,12 @@ } }, { - "description": "Workspace the policy belongs to", + "description": "Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.", "in": "query", "name": "workspace_id", - "required": true, + "required": false, "schema": { - "description": "Workspace the policy belongs to", + "description": "Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.", "example": "0df9e665-d932-5740-b2c7-b52af166bc11", "format": "uuid", "type": "string" @@ -69585,12 +69750,12 @@ } }, { - "description": "Workspace the policy belongs to", + "description": "Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.", "in": "query", "name": "workspace_id", - "required": true, + "required": false, "schema": { - "description": "Workspace the policy belongs to", + "description": "Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.", "example": "0df9e665-d932-5740-b2c7-b52af166bc11", "format": "uuid", "type": "string" @@ -69728,12 +69893,12 @@ } }, { - "description": "Workspace the policy belongs to", + "description": "Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.", "in": "query", "name": "workspace_id", - "required": true, + "required": false, "schema": { - "description": "Workspace the policy belongs to", + "description": "Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.", "example": "0df9e665-d932-5740-b2c7-b52af166bc11", "format": "uuid", "type": "string" @@ -70022,12 +70187,12 @@ } }, { - "description": "Workspace the policy belongs to", + "description": "Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.", "in": "query", "name": "workspace_id", - "required": true, + "required": false, "schema": { - "description": "Workspace the policy belongs to", + "description": "Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.", "example": "0df9e665-d932-5740-b2c7-b52af166bc11", "format": "uuid", "type": "string" @@ -70308,12 +70473,12 @@ } }, { - "description": "Workspace the policy belongs to", + "description": "Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.", "in": "query", "name": "workspace_id", - "required": true, + "required": false, "schema": { - "description": "Workspace the policy belongs to", + "description": "Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.", "example": "0df9e665-d932-5740-b2c7-b52af166bc11", "format": "uuid", "type": "string" @@ -70451,12 +70616,12 @@ } }, { - "description": "Workspace the policy belongs to", + "description": "Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.", "in": "query", "name": "workspace_id", - "required": true, + "required": false, "schema": { - "description": "Workspace the policy belongs to", + "description": "Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.", "example": "0df9e665-d932-5740-b2c7-b52af166bc11", "format": "uuid", "type": "string" @@ -70745,12 +70910,12 @@ } }, { - "description": "Workspace the policy belongs to", + "description": "Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.", "in": "query", "name": "workspace_id", - "required": true, + "required": false, "schema": { - "description": "Workspace the policy belongs to", + "description": "Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.", "example": "0df9e665-d932-5740-b2c7-b52af166bc11", "format": "uuid", "type": "string" @@ -71031,12 +71196,12 @@ } }, { - "description": "Workspace the policy belongs to", + "description": "Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.", "in": "query", "name": "workspace_id", - "required": true, + "required": false, "schema": { - "description": "Workspace the policy belongs to", + "description": "Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.", "example": "0df9e665-d932-5740-b2c7-b52af166bc11", "format": "uuid", "type": "string" @@ -71174,12 +71339,12 @@ } }, { - "description": "Workspace the policy belongs to", + "description": "Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.", "in": "query", "name": "workspace_id", - "required": true, + "required": false, "schema": { - "description": "Workspace the policy belongs to", + "description": "Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.", "example": "0df9e665-d932-5740-b2c7-b52af166bc11", "format": "uuid", "type": "string" @@ -73936,7 +74101,7 @@ "type": "string" }, "workspace_id": { - "description": "Move the API key to this workspace. The key keeps its value; guardrail selections move with it, while other workspace-scoped settings (presets, BYOK keys, broadcast destinations, routing rules) do not. Sending the key's current workspace is a no-op.", + "description": "Move the API key to this workspace. The key keeps its value; guardrail selections move with it, except direct guardrail assignments owned by the key's current workspace, which are removed along with the selections derived from them, while other workspace-scoped settings (presets, BYOK keys, broadcast destinations, routing rules) do not. Sending the key's current workspace is a no-op.", "example": "0df9e665-d932-5740-b2c7-b52af166bc11", "format": "uuid", "type": "string" @@ -75625,6 +75790,22 @@ }, "description": "Returns a list of endpoints" }, + "401": { + "content": { + "application/json": { + "example": { + "error": { + "code": 401, + "message": "Missing Authentication header" + } + }, + "schema": { + "$ref": "#/components/schemas/UnauthorizedResponse" + } + } + }, + "description": "Unauthorized - Authentication required or invalid credentials" + }, "403": { "content": { "application/json": { @@ -76261,7 +76442,7 @@ }, "/observability/destinations": { "get": { - "description": "List the observability destinations configured for the authenticated entity's default workspace. Use the `workspace_id` query parameter to scope the result to a different workspace. Only destinations with stable release status are surfaced — destinations of other types are excluded. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "description": "List the observability destinations configured for the authenticated entity's default workspace, or a workspace-scoped management key's own workspace. Use the `workspace_id` query parameter to scope the result to a different workspace. A workspace-scoped management key can only list its own workspace; any other `workspace_id` returns 403. Only destinations with stable release status are surfaced — destinations of other types are excluded. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "operationId": "listObservabilityDestinations", "parameters": [ { @@ -76295,12 +76476,12 @@ } }, { - "description": "Optional workspace ID to filter by. Defaults to the authenticated entity's default workspace.", + "description": "Optional workspace ID to filter by. Defaults to the authenticated entity's default workspace, or a workspace-scoped management key's own workspace.", "in": "query", "name": "workspace_id", "required": false, "schema": { - "description": "Optional workspace ID to filter by. Defaults to the authenticated entity's default workspace.", + "description": "Optional workspace ID to filter by. Defaults to the authenticated entity's default workspace, or a workspace-scoped management key's own workspace.", "example": "550e8400-e29b-41d4-a716-446655440000", "format": "uuid", "type": "string" @@ -76438,7 +76619,7 @@ } }, "post": { - "description": "Create a new observability destination. A maximum of 5 destinations per type is allowed. Defaults to the authenticated entity's default workspace; use the `workspace_id` body field to scope to a different workspace. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "description": "Create a new observability destination. A maximum of 5 destinations per type is allowed. Defaults to the authenticated entity's default workspace, or a workspace-scoped management key's own workspace; use the `workspace_id` body field to scope to a different workspace. A workspace-scoped management key can only create in its own workspace; any other `workspace_id` returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "operationId": "createObservabilityDestination", "requestBody": { "content": { @@ -76599,7 +76780,7 @@ }, "/observability/destinations/{id}": { "delete": { - "description": "Delete an existing observability destination. This performs a soft delete. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "description": "Delete an existing observability destination. This performs a soft delete. A workspace-scoped management key only reaches destinations in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "operationId": "deleteObservabilityDestination", "parameters": [ { @@ -76701,7 +76882,7 @@ "x-speakeasy-name-override": "delete" }, "get": { - "description": "Fetch a single observability destination by its UUID. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "description": "Fetch a single observability destination by its UUID. A workspace-scoped management key only reaches destinations in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "operationId": "getObservabilityDestination", "parameters": [ { @@ -76827,7 +77008,7 @@ "x-speakeasy-name-override": "get" }, "patch": { - "description": "Update an existing observability destination. Only the fields provided in the request body are updated. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "description": "Update an existing observability destination. Only the fields provided in the request body are updated. A workspace-scoped management key only reaches destinations in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "operationId": "updateObservabilityDestination", "parameters": [ {