Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,10 @@ partial void ProcessCreateResponseContent(
/// Whether this guardrail allows paid endpoints that train on request data.<br/>
/// Example: true
/// </param>
/// <param name="enforceFirstPartyHarnessModels">
/// Whether coding harnesses list only their vendor's own models: Codex lists OpenAI models and Claude Code and Claude Desktop list Anthropic models. Affects only the model list those harnesses request from GET /models; a model the client names directly is still routed. Any true across the workspace default, member, and API key guardrails applies.<br/>
/// Example: false
/// </param>
/// <param name="enforceZdrAnthropic">
/// Whether to enforce zero data retention for Anthropic models. Falls back to enforce_zdr when not provided.<br/>
/// Example: false
Expand Down Expand Up @@ -695,6 +699,7 @@ partial void ProcessCreateResponseContent(
bool? enableFreeModelPublication = default,
bool? enableFreeModelTraining = default,
bool? enablePaidModelTraining = default,
bool? enforceFirstPartyHarnessModels = default,
bool? enforceZdrAnthropic = default,
bool? enforceZdrGoogle = default,
bool? enforceZdrOpenai = default,
Expand Down Expand Up @@ -722,6 +727,7 @@ partial void ProcessCreateResponseContent(
EnableFreeModelPublication = enableFreeModelPublication,
EnableFreeModelTraining = enableFreeModelTraining,
EnablePaidModelTraining = enablePaidModelTraining,
EnforceFirstPartyHarnessModels = enforceFirstPartyHarnessModels,
EnforceZdrAnthropic = enforceZdrAnthropic,
EnforceZdrGoogle = enforceZdrGoogle,
EnforceZdrOpenai = enforceZdrOpenai,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,10 @@ partial void ProcessUpdateResponseContent(
/// Whether this guardrail allows paid endpoints that train on request data.<br/>
/// Example: true
/// </param>
/// <param name="enforceFirstPartyHarnessModels">
/// Whether coding harnesses list only their vendor's own models: Codex lists OpenAI models and Claude Code and Claude Desktop list Anthropic models. Affects only the model list those harnesses request from GET /models; a model the client names directly is still routed. Any true across the workspace default, member, and API key guardrails applies.<br/>
/// Example: true
/// </param>
/// <param name="enforceZdrAnthropic">
/// Whether to enforce zero data retention for Anthropic models. Falls back to enforce_zdr when not provided.<br/>
/// Example: true
Expand Down Expand Up @@ -784,6 +788,7 @@ partial void ProcessUpdateResponseContent(
bool? enableFreeModelPublication = default,
bool? enableFreeModelTraining = default,
bool? enablePaidModelTraining = default,
bool? enforceFirstPartyHarnessModels = default,
bool? enforceZdrAnthropic = default,
bool? enforceZdrGoogle = default,
bool? enforceZdrOpenai = default,
Expand Down Expand Up @@ -811,6 +816,7 @@ partial void ProcessUpdateResponseContent(
EnableFreeModelPublication = enableFreeModelPublication,
EnableFreeModelTraining = enableFreeModelTraining,
EnablePaidModelTraining = enablePaidModelTraining,
EnforceFirstPartyHarnessModels = enforceFirstPartyHarnessModels,
EnforceZdrAnthropic = enforceZdrAnthropic,
EnforceZdrGoogle = enforceZdrGoogle,
EnforceZdrOpenai = enforceZdrOpenai,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ public partial interface IGuardrailsClient
/// Whether this guardrail allows paid endpoints that train on request data.<br/>
/// Example: true
/// </param>
/// <param name="enforceFirstPartyHarnessModels">
/// Whether coding harnesses list only their vendor's own models: Codex lists OpenAI models and Claude Code and Claude Desktop list Anthropic models. Affects only the model list those harnesses request from GET /models; a model the client names directly is still routed. Any true across the workspace default, member, and API key guardrails applies.<br/>
/// Example: false
/// </param>
/// <param name="enforceZdrAnthropic">
/// Whether to enforce zero data retention for Anthropic models. Falls back to enforce_zdr when not provided.<br/>
/// Example: false
Expand Down Expand Up @@ -144,6 +148,7 @@ public partial interface IGuardrailsClient
bool? enableFreeModelPublication = default,
bool? enableFreeModelTraining = default,
bool? enablePaidModelTraining = default,
bool? enforceFirstPartyHarnessModels = default,
bool? enforceZdrAnthropic = default,
bool? enforceZdrGoogle = default,
bool? enforceZdrOpenai = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ public partial interface IGuardrailsClient
/// Whether this guardrail allows paid endpoints that train on request data.<br/>
/// Example: true
/// </param>
/// <param name="enforceFirstPartyHarnessModels">
/// Whether coding harnesses list only their vendor's own models: Codex lists OpenAI models and Claude Code and Claude Desktop list Anthropic models. Affects only the model list those harnesses request from GET /models; a model the client names directly is still routed. Any true across the workspace default, member, and API key guardrails applies.<br/>
/// Example: true
/// </param>
/// <param name="enforceZdrAnthropic">
/// Whether to enforce zero data retention for Anthropic models. Falls back to enforce_zdr when not provided.<br/>
/// Example: true
Expand Down Expand Up @@ -154,6 +158,7 @@ public partial interface IGuardrailsClient
bool? enableFreeModelPublication = default,
bool? enableFreeModelTraining = default,
bool? enablePaidModelTraining = default,
bool? enforceFirstPartyHarnessModels = default,
bool? enforceZdrAnthropic = default,
bool? enforceZdrGoogle = default,
bool? enforceZdrOpenai = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,11 @@ public partial interface IOpenRouterClient : global::System.IDisposable
/// </summary>
public PrivateEndpointsClient PrivateEndpoints { get; }

/// <summary>
/// Private Providers endpoints.
/// </summary>
public PrivateProvidersClient PrivateProviders { get; }

/// <summary>
/// Provider information endpoints.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public partial interface IOrganizationClient
/// Update the settings of the organization associated with the authenticated management key. [Management key](/docs/guides/overview/auth/management-api-keys) required.
/// </summary>
/// <param name="isFilteredModelCatalogEnabled">
/// When true, `GET /api/v1/models` called with one of the organization's API keys returns only the models that key can use (the `/api/v1/models/user` catalog), and the signed-in dashboard shows the same list. Anonymous requests always receive the public catalog.<br/>
/// When true, the signed-in dashboard lists only the models the organization can use. `GET /api/v1/models` called with an API key always returns only the models that key can use, whatever this setting says; anonymous requests receive the public catalog.<br/>
/// Example: true
/// </param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public partial interface IPrivateEndpointsClient
{
/// <summary>
/// Create a private endpoint<br/>
/// Create a private endpoint as a draft. Drafts are not routable: validate one with `POST /private-endpoints/{id}/validate`, then activate it with `POST /private-endpoints/{id}/activate`. Pass `activate` to do all three in one call; if validation fails the draft is kept and returned with the failed checks. Send an `Idempotency-Key` header to make retries safe: a repeated key with the same request returns the endpoint the first request created; reusing it with different fields returns 422 `idempotency_key_reused`. [Management key](/docs/guides/overview/auth/management-api-keys) required.
/// Create a private endpoint as a draft. Drafts are not routable: validate one with `POST /private-endpoints/{id}/validate`, then activate it with `POST /private-endpoints/{id}/activate`. Pass `activate` to do all three in one call; if validation fails the draft is kept and returned with the failed checks. Send an `Idempotency-Key` header to make retries safe: a repeated key with the same request returns the endpoint the first request created; reusing it with different fields returns 422 `idempotency_key_reused`. Returns 400 `parameters_invalid` when `tool_choice` is declared without `tools`. The response does not echo `declared_parameters` or `tested_parameters`; read them with `GET /private-endpoints/{id}`. [Management key](/docs/guides/overview/auth/management-api-keys) required.
/// </summary>
/// <param name="idempotencyKey">
/// Retry-safe create: a repeated create with the same key from the same organization returns the endpoint the first request created instead of creating another. The endpoint is returned as it is now. Reusing a key with a different request body (model, provider, base URL, upstream model ID, declared ZDR or region, pricing, or declared parameters) is rejected with 422 `idempotency_key_reused`. Declared parameters are compared as a set, so a retry that reorders or repeats a name replays the endpoint. `activate` and `max_completion_tokens` are not compared, and later edits to the endpoint do not affect the comparison.<br/>
Expand All @@ -24,7 +24,7 @@ public partial interface IPrivateEndpointsClient
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create a private endpoint<br/>
/// Create a private endpoint as a draft. Drafts are not routable: validate one with `POST /private-endpoints/{id}/validate`, then activate it with `POST /private-endpoints/{id}/activate`. Pass `activate` to do all three in one call; if validation fails the draft is kept and returned with the failed checks. Send an `Idempotency-Key` header to make retries safe: a repeated key with the same request returns the endpoint the first request created; reusing it with different fields returns 422 `idempotency_key_reused`. [Management key](/docs/guides/overview/auth/management-api-keys) required.
/// Create a private endpoint as a draft. Drafts are not routable: validate one with `POST /private-endpoints/{id}/validate`, then activate it with `POST /private-endpoints/{id}/activate`. Pass `activate` to do all three in one call; if validation fails the draft is kept and returned with the failed checks. Send an `Idempotency-Key` header to make retries safe: a repeated key with the same request returns the endpoint the first request created; reusing it with different fields returns 422 `idempotency_key_reused`. Returns 400 `parameters_invalid` when `tool_choice` is declared without `tools`. The response does not echo `declared_parameters` or `tested_parameters`; read them with `GET /private-endpoints/{id}`. [Management key](/docs/guides/overview/auth/management-api-keys) required.
/// </summary>
/// <param name="idempotencyKey">
/// Retry-safe create: a repeated create with the same key from the same organization returns the endpoint the first request created instead of creating another. The endpoint is returned as it is now. Reusing a key with a different request body (model, provider, base URL, upstream model ID, declared ZDR or region, pricing, or declared parameters) is rejected with 422 `idempotency_key_reused`. Declared parameters are compared as a set, so a retry that reorders or repeats a name replays the endpoint. `activate` and `max_completion_tokens` are not compared, and later edits to the endpoint do not affect the comparison.<br/>
Expand All @@ -42,7 +42,7 @@ public partial interface IPrivateEndpointsClient
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create a private endpoint<br/>
/// Create a private endpoint as a draft. Drafts are not routable: validate one with `POST /private-endpoints/{id}/validate`, then activate it with `POST /private-endpoints/{id}/activate`. Pass `activate` to do all three in one call; if validation fails the draft is kept and returned with the failed checks. Send an `Idempotency-Key` header to make retries safe: a repeated key with the same request returns the endpoint the first request created; reusing it with different fields returns 422 `idempotency_key_reused`. [Management key](/docs/guides/overview/auth/management-api-keys) required.
/// Create a private endpoint as a draft. Drafts are not routable: validate one with `POST /private-endpoints/{id}/validate`, then activate it with `POST /private-endpoints/{id}/activate`. Pass `activate` to do all three in one call; if validation fails the draft is kept and returned with the failed checks. Send an `Idempotency-Key` header to make retries safe: a repeated key with the same request returns the endpoint the first request created; reusing it with different fields returns 422 `idempotency_key_reused`. Returns 400 `parameters_invalid` when `tool_choice` is declared without `tools`. The response does not echo `declared_parameters` or `tested_parameters`; read them with `GET /private-endpoints/{id}`. [Management key](/docs/guides/overview/auth/management-api-keys) required.
/// </summary>
/// <param name="idempotencyKey">
/// Retry-safe create: a repeated create with the same key from the same organization returns the endpoint the first request created instead of creating another. The endpoint is returned as it is now. Reusing a key with a different request body (model, provider, base URL, upstream model ID, declared ZDR or region, pricing, or declared parameters) is rejected with 422 `idempotency_key_reused`. Declared parameters are compared as a set, so a retry that reorders or repeats a name replays the endpoint. `activate` and `max_completion_tokens` are not compared, and later edits to the endpoint do not affect the comparison.<br/>
Expand Down Expand Up @@ -83,6 +83,10 @@ public partial interface IPrivateEndpointsClient
/// Slug of the upstream provider.<br/>
/// Example: azure
/// </param>
/// <param name="settings">
/// Capabilities and limits to set over the ones copied from the public endpoint for this model and provider (or from the model). Omitted fields keep the copied values.<br/>
/// Example: {"context_length":128000,"reasoning":{"supported":true}}
/// </param>
/// <param name="upstreamModelId">
/// Model or deployment identifier sent to the upstream provider.<br/>
/// Example: gpt-4o-prod
Expand All @@ -102,6 +106,7 @@ public partial interface IPrivateEndpointsClient
bool? declaredZdr = default,
int? maxCompletionTokens = default,
global::OpenRouter.PrivateEndpointPricing? pricing = default,
global::OpenRouter.UpdatePrivateEndpointSettingsRequest? settings = default,
global::OpenRouter.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
Expand Down
Loading
Loading