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 @@ -24,6 +24,9 @@ public partial interface ISubpackageVideoGenerationClient
/// <param name="aspectRatio">
/// Aspect ratio of the generated video
/// </param>
/// <param name="callbackUrl">
/// URL to receive a webhook notification when the video generation job completes. Overrides the workspace-level default callback URL if set. Must be HTTPS.
/// </param>
/// <param name="duration">
/// Duration of the generated video in seconds
/// </param>
Expand Down Expand Up @@ -57,6 +60,7 @@ public partial interface ISubpackageVideoGenerationClient
string model,
string prompt,
global::OpenRouter.VideoGenerationRequestAspectRatio? aspectRatio = default,
string? callbackUrl = default,
int? duration = default,
global::System.Collections.Generic.IList<global::OpenRouter.FrameImage>? frameImages = default,
bool? generateAudio = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ public partial interface ISubpackageWorkspacesClient
/// <param name="description">
/// Description of the workspace
/// </param>
/// <param name="ioLoggingApiKeyIds">
/// Optional array of API key IDs to filter I/O logging
/// </param>
/// <param name="ioLoggingSamplingRate">
/// Sampling rate for I/O logging (0.0001-1)
/// </param>
/// <param name="isDataDiscountLoggingEnabled">
/// Whether data discount logging is enabled
/// </param>
Expand All @@ -58,6 +64,8 @@ public partial interface ISubpackageWorkspacesClient
string? defaultProviderSort = default,
string? defaultTextModel = default,
string? description = default,
global::System.Collections.Generic.IList<int>? ioLoggingApiKeyIds = default,
double? ioLoggingSamplingRate = default,
bool? isDataDiscountLoggingEnabled = default,
bool? isObservabilityBroadcastEnabled = default,
bool? isObservabilityIoLoggingEnabled = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ public partial interface ISubpackageWorkspacesClient
/// <param name="description">
/// New description for the workspace
/// </param>
/// <param name="ioLoggingApiKeyIds">
/// Optional array of API key IDs to filter I/O logging
/// </param>
/// <param name="ioLoggingSamplingRate">
/// Sampling rate for I/O logging (0.0001-1)
/// </param>
/// <param name="isDataDiscountLoggingEnabled">
/// Whether data discount logging is enabled
/// </param>
Expand All @@ -60,6 +66,8 @@ public partial interface ISubpackageWorkspacesClient
string? defaultProviderSort = default,
string? defaultTextModel = default,
string? description = default,
global::System.Collections.Generic.IList<int>? ioLoggingApiKeyIds = default,
double? ioLoggingSamplingRate = default,
bool? isDataDiscountLoggingEnabled = default,
bool? isObservabilityBroadcastEnabled = default,
bool? isObservabilityIoLoggingEnabled = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,18 @@ public sealed partial class CreateWorkspaceRequest
[global::System.Text.Json.Serialization.JsonPropertyName("description")]
public string? Description { get; set; }

/// <summary>
/// Optional array of API key IDs to filter I/O logging
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("io_logging_api_key_ids")]
public global::System.Collections.Generic.IList<int>? IoLoggingApiKeyIds { get; set; }

/// <summary>
/// Sampling rate for I/O logging (0.0001-1)
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("io_logging_sampling_rate")]
public double? IoLoggingSamplingRate { get; set; }

/// <summary>
/// Whether data discount logging is enabled
/// </summary>
Expand Down Expand Up @@ -91,6 +103,12 @@ public sealed partial class CreateWorkspaceRequest
/// <param name="description">
/// Description of the workspace
/// </param>
/// <param name="ioLoggingApiKeyIds">
/// Optional array of API key IDs to filter I/O logging
/// </param>
/// <param name="ioLoggingSamplingRate">
/// Sampling rate for I/O logging (0.0001-1)
/// </param>
/// <param name="isDataDiscountLoggingEnabled">
/// Whether data discount logging is enabled
/// </param>
Expand All @@ -110,6 +128,8 @@ public CreateWorkspaceRequest(
string? defaultProviderSort,
string? defaultTextModel,
string? description,
global::System.Collections.Generic.IList<int>? ioLoggingApiKeyIds,
double? ioLoggingSamplingRate,
bool? isDataDiscountLoggingEnabled,
bool? isObservabilityBroadcastEnabled,
bool? isObservabilityIoLoggingEnabled)
Expand All @@ -118,6 +138,8 @@ public CreateWorkspaceRequest(
this.DefaultProviderSort = defaultProviderSort;
this.DefaultTextModel = defaultTextModel;
this.Description = description;
this.IoLoggingApiKeyIds = ioLoggingApiKeyIds;
this.IoLoggingSamplingRate = ioLoggingSamplingRate;
this.IsDataDiscountLoggingEnabled = isDataDiscountLoggingEnabled;
this.IsObservabilityBroadcastEnabled = isObservabilityBroadcastEnabled;
this.IsObservabilityIoLoggingEnabled = isObservabilityIoLoggingEnabled;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,19 @@ public sealed partial class CreateWorkspaceResponseData
[global::System.Text.Json.Serialization.JsonRequired]
public required global::System.Guid Id { get; set; }

/// <summary>
/// Optional array of API key IDs to filter I/O logging. Null means all keys are logged.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("io_logging_api_key_ids")]
public global::System.Collections.Generic.IList<int>? IoLoggingApiKeyIds { get; set; }

/// <summary>
/// Sampling rate for I/O logging (0.0001-1). 1 means 100% of requests are logged.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("io_logging_sampling_rate")]
[global::System.Text.Json.Serialization.JsonRequired]
public required double IoLoggingSamplingRate { get; set; }

/// <summary>
/// Whether data discount logging is enabled for this workspace
/// </summary>
Expand Down Expand Up @@ -108,6 +121,9 @@ public sealed partial class CreateWorkspaceResponseData
/// <param name="id">
/// Unique identifier for the workspace
/// </param>
/// <param name="ioLoggingSamplingRate">
/// Sampling rate for I/O logging (0.0001-1). 1 means 100% of requests are logged.
/// </param>
/// <param name="isDataDiscountLoggingEnabled">
/// Whether data discount logging is enabled for this workspace
/// </param>
Expand Down Expand Up @@ -138,6 +154,9 @@ public sealed partial class CreateWorkspaceResponseData
/// <param name="description">
/// Description of the workspace
/// </param>
/// <param name="ioLoggingApiKeyIds">
/// Optional array of API key IDs to filter I/O logging. Null means all keys are logged.
/// </param>
/// <param name="updatedAt">
/// ISO 8601 timestamp of when the workspace was last updated
/// </param>
Expand All @@ -147,6 +166,7 @@ public sealed partial class CreateWorkspaceResponseData
public CreateWorkspaceResponseData(
string createdAt,
global::System.Guid id,
double ioLoggingSamplingRate,
bool isDataDiscountLoggingEnabled,
bool isObservabilityBroadcastEnabled,
bool isObservabilityIoLoggingEnabled,
Expand All @@ -157,6 +177,7 @@ public CreateWorkspaceResponseData(
string? defaultProviderSort,
string? defaultTextModel,
string? description,
global::System.Collections.Generic.IList<int>? ioLoggingApiKeyIds,
string? updatedAt)
{
this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt));
Expand All @@ -166,6 +187,8 @@ public CreateWorkspaceResponseData(
this.DefaultTextModel = defaultTextModel;
this.Description = description;
this.Id = id;
this.IoLoggingApiKeyIds = ioLoggingApiKeyIds;
this.IoLoggingSamplingRate = ioLoggingSamplingRate;
this.IsDataDiscountLoggingEnabled = isDataDiscountLoggingEnabled;
this.IsObservabilityBroadcastEnabled = isObservabilityBroadcastEnabled;
this.IsObservabilityIoLoggingEnabled = isObservabilityIoLoggingEnabled;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,12 @@ public sealed partial class GenerationResponseData
[global::System.Text.Json.Serialization.JsonPropertyName("request_id")]
public string? RequestId { get; set; }

/// <summary>
/// If this generation was served from response cache, contains the original generation ID. Null otherwise.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("response_cache_source_id")]
public string? ResponseCacheSourceId { get; set; }

/// <summary>
/// Router used for the request (e.g., openrouter/auto)
/// </summary>
Expand Down Expand Up @@ -359,6 +365,9 @@ public sealed partial class GenerationResponseData
/// <param name="requestId">
/// Unique identifier grouping all generations from a single API request
/// </param>
/// <param name="responseCacheSourceId">
/// If this generation was served from response cache, contains the original generation ID. Null otherwise.
/// </param>
/// <param name="router">
/// Router used for the request (e.g., openrouter/auto)
/// </param>
Expand Down Expand Up @@ -421,6 +430,7 @@ public GenerationResponseData(
string? providerName,
global::System.Collections.Generic.IList<global::OpenRouter.ProviderResponse>? providerResponses,
string? requestId,
string? responseCacheSourceId,
string? router,
string? sessionId,
bool? streamed,
Expand Down Expand Up @@ -460,6 +470,7 @@ public GenerationResponseData(
this.ProviderName = providerName;
this.ProviderResponses = providerResponses;
this.RequestId = requestId;
this.ResponseCacheSourceId = responseCacheSourceId;
this.Router = router;
this.SessionId = sessionId;
this.Streamed = streamed;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,19 @@ public sealed partial class GetWorkspaceResponseData
[global::System.Text.Json.Serialization.JsonRequired]
public required global::System.Guid Id { get; set; }

/// <summary>
/// Optional array of API key IDs to filter I/O logging. Null means all keys are logged.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("io_logging_api_key_ids")]
public global::System.Collections.Generic.IList<int>? IoLoggingApiKeyIds { get; set; }

/// <summary>
/// Sampling rate for I/O logging (0.0001-1). 1 means 100% of requests are logged.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("io_logging_sampling_rate")]
[global::System.Text.Json.Serialization.JsonRequired]
public required double IoLoggingSamplingRate { get; set; }

/// <summary>
/// Whether data discount logging is enabled for this workspace
/// </summary>
Expand Down Expand Up @@ -108,6 +121,9 @@ public sealed partial class GetWorkspaceResponseData
/// <param name="id">
/// Unique identifier for the workspace
/// </param>
/// <param name="ioLoggingSamplingRate">
/// Sampling rate for I/O logging (0.0001-1). 1 means 100% of requests are logged.
/// </param>
/// <param name="isDataDiscountLoggingEnabled">
/// Whether data discount logging is enabled for this workspace
/// </param>
Expand Down Expand Up @@ -138,6 +154,9 @@ public sealed partial class GetWorkspaceResponseData
/// <param name="description">
/// Description of the workspace
/// </param>
/// <param name="ioLoggingApiKeyIds">
/// Optional array of API key IDs to filter I/O logging. Null means all keys are logged.
/// </param>
/// <param name="updatedAt">
/// ISO 8601 timestamp of when the workspace was last updated
/// </param>
Expand All @@ -147,6 +166,7 @@ public sealed partial class GetWorkspaceResponseData
public GetWorkspaceResponseData(
string createdAt,
global::System.Guid id,
double ioLoggingSamplingRate,
bool isDataDiscountLoggingEnabled,
bool isObservabilityBroadcastEnabled,
bool isObservabilityIoLoggingEnabled,
Expand All @@ -157,6 +177,7 @@ public GetWorkspaceResponseData(
string? defaultProviderSort,
string? defaultTextModel,
string? description,
global::System.Collections.Generic.IList<int>? ioLoggingApiKeyIds,
string? updatedAt)
{
this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt));
Expand All @@ -166,6 +187,8 @@ public GetWorkspaceResponseData(
this.DefaultTextModel = defaultTextModel;
this.Description = description;
this.Id = id;
this.IoLoggingApiKeyIds = ioLoggingApiKeyIds;
this.IoLoggingSamplingRate = ioLoggingSamplingRate;
this.IsDataDiscountLoggingEnabled = isDataDiscountLoggingEnabled;
this.IsObservabilityBroadcastEnabled = isObservabilityBroadcastEnabled;
this.IsObservabilityIoLoggingEnabled = isObservabilityIoLoggingEnabled;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,18 @@ public sealed partial class UpdateWorkspaceRequest
[global::System.Text.Json.Serialization.JsonPropertyName("description")]
public string? Description { get; set; }

/// <summary>
/// Optional array of API key IDs to filter I/O logging
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("io_logging_api_key_ids")]
public global::System.Collections.Generic.IList<int>? IoLoggingApiKeyIds { get; set; }

/// <summary>
/// Sampling rate for I/O logging (0.0001-1)
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("io_logging_sampling_rate")]
public double? IoLoggingSamplingRate { get; set; }

/// <summary>
/// Whether data discount logging is enabled
/// </summary>
Expand Down Expand Up @@ -83,6 +95,12 @@ public sealed partial class UpdateWorkspaceRequest
/// <param name="description">
/// New description for the workspace
/// </param>
/// <param name="ioLoggingApiKeyIds">
/// Optional array of API key IDs to filter I/O logging
/// </param>
/// <param name="ioLoggingSamplingRate">
/// Sampling rate for I/O logging (0.0001-1)
/// </param>
/// <param name="isDataDiscountLoggingEnabled">
/// Whether data discount logging is enabled
/// </param>
Expand All @@ -106,6 +124,8 @@ public UpdateWorkspaceRequest(
string? defaultProviderSort,
string? defaultTextModel,
string? description,
global::System.Collections.Generic.IList<int>? ioLoggingApiKeyIds,
double? ioLoggingSamplingRate,
bool? isDataDiscountLoggingEnabled,
bool? isObservabilityBroadcastEnabled,
bool? isObservabilityIoLoggingEnabled,
Expand All @@ -116,6 +136,8 @@ public UpdateWorkspaceRequest(
this.DefaultProviderSort = defaultProviderSort;
this.DefaultTextModel = defaultTextModel;
this.Description = description;
this.IoLoggingApiKeyIds = ioLoggingApiKeyIds;
this.IoLoggingSamplingRate = ioLoggingSamplingRate;
this.IsDataDiscountLoggingEnabled = isDataDiscountLoggingEnabled;
this.IsObservabilityBroadcastEnabled = isObservabilityBroadcastEnabled;
this.IsObservabilityIoLoggingEnabled = isObservabilityIoLoggingEnabled;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,19 @@ public sealed partial class UpdateWorkspaceResponseData
[global::System.Text.Json.Serialization.JsonRequired]
public required global::System.Guid Id { get; set; }

/// <summary>
/// Optional array of API key IDs to filter I/O logging. Null means all keys are logged.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("io_logging_api_key_ids")]
public global::System.Collections.Generic.IList<int>? IoLoggingApiKeyIds { get; set; }

/// <summary>
/// Sampling rate for I/O logging (0.0001-1). 1 means 100% of requests are logged.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("io_logging_sampling_rate")]
[global::System.Text.Json.Serialization.JsonRequired]
public required double IoLoggingSamplingRate { get; set; }

/// <summary>
/// Whether data discount logging is enabled for this workspace
/// </summary>
Expand Down Expand Up @@ -108,6 +121,9 @@ public sealed partial class UpdateWorkspaceResponseData
/// <param name="id">
/// Unique identifier for the workspace
/// </param>
/// <param name="ioLoggingSamplingRate">
/// Sampling rate for I/O logging (0.0001-1). 1 means 100% of requests are logged.
/// </param>
/// <param name="isDataDiscountLoggingEnabled">
/// Whether data discount logging is enabled for this workspace
/// </param>
Expand Down Expand Up @@ -138,6 +154,9 @@ public sealed partial class UpdateWorkspaceResponseData
/// <param name="description">
/// Description of the workspace
/// </param>
/// <param name="ioLoggingApiKeyIds">
/// Optional array of API key IDs to filter I/O logging. Null means all keys are logged.
/// </param>
/// <param name="updatedAt">
/// ISO 8601 timestamp of when the workspace was last updated
/// </param>
Expand All @@ -147,6 +166,7 @@ public sealed partial class UpdateWorkspaceResponseData
public UpdateWorkspaceResponseData(
string createdAt,
global::System.Guid id,
double ioLoggingSamplingRate,
bool isDataDiscountLoggingEnabled,
bool isObservabilityBroadcastEnabled,
bool isObservabilityIoLoggingEnabled,
Expand All @@ -157,6 +177,7 @@ public UpdateWorkspaceResponseData(
string? defaultProviderSort,
string? defaultTextModel,
string? description,
global::System.Collections.Generic.IList<int>? ioLoggingApiKeyIds,
string? updatedAt)
{
this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt));
Expand All @@ -166,6 +187,8 @@ public UpdateWorkspaceResponseData(
this.DefaultTextModel = defaultTextModel;
this.Description = description;
this.Id = id;
this.IoLoggingApiKeyIds = ioLoggingApiKeyIds;
this.IoLoggingSamplingRate = ioLoggingSamplingRate;
this.IsDataDiscountLoggingEnabled = isDataDiscountLoggingEnabled;
this.IsObservabilityBroadcastEnabled = isObservabilityBroadcastEnabled;
this.IsObservabilityIoLoggingEnabled = isObservabilityIoLoggingEnabled;
Expand Down
Loading
Loading