diff --git a/src/libs/OpenRouter/Generated/OpenRouter.AlphaExtractionsClient.Create.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.AlphaExtractionsClient.Create.g.cs
index 4f1b77f5..1a5b69e3 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 4c2af53a..ef62e98f 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 dccec13c..3211950a 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 3e54aa73..afabd6ec 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 4d4b5fb4..f5282203 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 360395e6..cea064f9 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 581299ab..288c59de 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 9002e2e7..24517d04 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 c0bb3fe9..650ba8b7 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 7dae751c..b9415d81 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 4fe40d23..00000000
--- 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 b1076969..00000000
--- 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 afd5e9ea..68279e4f 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 39ab6ca6..7689204b 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 c2dc0209..b9fb6706 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 29acec56..65b09629 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 d29861fa..beec4710 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 7e4f1db8..3deba6c8 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 98eaea54..9ed67802 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 e961ff92..ab88f7d7 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 a99c8373..f5ff9d6b 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 54cbd007..cf95ad7a 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 d23bf63b..8b8a7553 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 c611e29a..32a74d11 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 f24b20cc..2358a52e 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 6a1335eb..d1b731fc 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 a38ab3d5..30d7cc9e 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 6ab626a9..3a5896a1 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 ddd2d5f5..56a0d290 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 0189dc37..76c11647 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 98dd8b86..ee1c37c1 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 5a5f316c..5e5182fc 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 8e8cafa6..fe2f1e3a 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 70971614..6bc1611d 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 4e6b4ae6..b48ef8ce 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 d1678576..95fdc2ea 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 66239a1e..eb0dd17e 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 f0010166..a545e825 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 bf91ef36..67d3673a 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 f28ca70c..8b9fe4af 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 b1f12c32..3061a260 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 c0cc0a4d..a725c0e6 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 590926a0..dbae288c 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 a263dc02..e78c30d8 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 c73ec9f8..846339db 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 b96922c7..4a682e64 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 198fbd70..ae07ccb9 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 76608673..014732c2 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 8b06352e..1cecefa7 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 5bcf5954..92e48ae2 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 a6fe23f9..737b284c 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 8c6642c2..003a09df 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 59671b0f..497f1171 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 22530836..83eda5c7 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 b3b879d6..b01d70e8 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 01ed49a2..301ad114 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 480bc954..00000000
--- 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 bbd491e6..00000000
--- 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 517555f4..161b3336 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 eb2012ad..e7b5c2ab 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 4bc1118c..33924f12 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 0317f6ad..b244fcde 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 f3628066..7ae17b47 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 647eb9f6..dcf580a3 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 305f7fa5..44a6eeb2 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 8661de95..c8d9ae3d 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 2b8e2fd4..2e106a18 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 85de3fcd..09ea19ff 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 e789dfcf..74ea0dbe 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 850f211d..d1242e10 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 a394db26..ff0519db 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 c8effb27..c995811d 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 e4f53e78..6a8ddeb8 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 63b194ce..d9f6807c 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 7aca4b35..e2f78134 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 abdbb79e..7bc65ba6 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 fba9c5e7..a505502a 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 487846b3..87ffe521 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 680cf67a..7528f1b5 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 bc055aa5..b9ca59c7 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 33dde8a6..d196f88f 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 9162af0f..2b17ba5d 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 bc19cac7..2190b83b 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 58faeee2..450a2d63 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 b1266a6f..f8871bfa 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 8c03e78a..0a2eb1f9 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 e497b1db..bee44f47 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 2f378262..6aea109e 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 ca61992a..5f1f2011 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 4b4c7d48..67bad1c4 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 7c4e9e51..a7990d87 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 ea128f55..fccc2411 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 df4c149d..727daac0 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 97670065..0235a9eb 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 fc96646e..8f64708d 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 a5c469fe..4f74f769 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 4a34d7ae..9b5be81f 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